# Failed

gpkit.tests.from_paths.TestFiles.test_gpkitmodels_GP_aircraft_motor_motor_test_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20200714102306)

### Error Message

Cannot convert from '1 meter * newton * revolutions_per_minute / volt' to '1 attometer_per_second'

### Stacktrace

Traceback (most recent call last): File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/nomials/map.py", line 59, in __add__ other *= float(other.units/self.units) File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py", line 788, in __float__ raise DimensionalityError(self._units, "dimensionless") pint.errors.DimensionalityError: Cannot convert from 'attometer_per_second * volt / meter / newton / revolutions_per_minute' to 'dimensionless' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/tests/helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/tests/from_paths.py", line 48, in <lambda> lambda self: getattr(self, name)())) # pylint:disable=undefined-variable File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/tests/from_paths.py", line 37, in test_fn mod.test() File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkitmodels/GP/aircraft/motor/motor_test.py", line 101, in test motor_test() File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkitmodels/GP/aircraft/motor/motor_test.py", line 97, in motor_test test = Motor_P_Test() File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkitmodels/GP/aircraft/motor/motor_test.py", line 63, in setup mp = MotorPerf(m,fs) File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/gpkitmodels/GP/aircraft/motor/motor.py", line 36, in setup i >= Q*Kv+i0, File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/nomials/math.py", line 194, in __add__ out = Signomial(self.hmap + other_hmap) File "/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/nomials/map.py", line 61, in __add__ raise DimensionalityError(self.units, other.units) pint.errors.DimensionalityError: Cannot convert from '1 meter * newton * revolutions_per_minute / volt' to '1 attometer_per_second'

### Standard Output

Using solver 'mosek_cli' for 11 free variables in 14 posynomial inequalities. Solving took 0.0407 seconds. Using solver 'mosek_conif' for 11 free variables in 14 posynomial inequalities. Solving took 0.015 seconds. Infeasible monomial equality: Cannot convert from 'Motor_P_Test.MotorPerf.v·Motor_P_Test.MotorPerf.i [V·amps]' to 'Motor_P_Test.MotorPerf.Pelec [kW]' Infeasible monomial equality: Cannot convert from 'Motor_P_Test1.MotorPerf.v·Motor_P_Test1.MotorPerf.i [V·amps]' to 'Motor_P_Test1.MotorPerf.Pelec [kW]' Using solver 'mosek_cli' for 13 free variables in 16 posynomial inequalities. Solving took 0.0381 seconds. Starting a sequence of GP solves for 53 free variables in 11 locally-GP constraints and for 117 free variables in 190 posynomial inequalities. Solving took 0.803 seconds and 11 GP solves. Warning: Variable BladeElementProp.BladeElementPerf.cl[:] could cause inaccurate result because it is below lower bound. Solution is 0.6000 but bound is 0.4742 Warning: Variable BladeElementProp.BladeElementPerf.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1619891.9379 but bound is 700000.0000 Using solver 'mosek_conif' for 13 free variables in 16 posynomial inequalities. Solving took 0.0123 seconds. Starting a sequence of GP solves for 53 free variables in 11 locally-GP constraints and for 117 free variables in 190 posynomial inequalities. Solving took 0.515 seconds and 11 GP solves. Warning: Variable BladeElementProp.BladeElementPerf.cl[:] could cause inaccurate result because it is below lower bound. Solution is 0.6000 but bound is 0.4742 Warning: Variable BladeElementProp.BladeElementPerf.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1619647.3534 but bound is 700000.0000 Warning: skipped auto-differentiation of linked variable HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero.Re could cause inaccurate result because it is above upper bound. Solution is 2220959.7939 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero1.Re could cause inaccurate result because it is above upper bound. Solution is 2499796.7837 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable Empennage.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: skipped auto-differentiation of linked variable Empennage.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero2.Re could cause inaccurate result because it is above upper bound. Solution is 2223871.1577 but bound is 1000000.0000 Warning: Variable TailAero3.Re could cause inaccurate result because it is above upper bound. Solution is 2223871.1577 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable Empennage1.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: skipped auto-differentiation of linked variable Empennage1.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.1324 but bound is 1000000.0000 Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.1324 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero.Re could cause inaccurate result because it is above upper bound. Solution is 2220953.3820 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero1.Re could cause inaccurate result because it is above upper bound. Solution is 2499787.8943 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable Empennage.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: skipped auto-differentiation of linked variable Empennage.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero2.Re could cause inaccurate result because it is above upper bound. Solution is 1860716.7650 but bound is 1000000.0000 Warning: Variable TailAero3.Re could cause inaccurate result because it is above upper bound. Solution is 1860715.6389 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable Empennage1.HorizontalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: skipped auto-differentiation of linked variable Empennage1.VerticalTail.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.2668 but bound is 1000000.0000 Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.0967 but bound is 1000000.0000 Warning: skipped auto-differentiation of linked variable Wing.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1884889.9591 but bound is 700000.0000 Warning: skipped auto-differentiation of linked variable Wing1.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910412.9866 but bound is 700000.0000 Warning: skipped auto-differentiation of linked variable Wing.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.2350 but bound is 700000.0000 Warning: skipped auto-differentiation of linked variable Wing1.Planform.cbarmac because NotImplementedError("Automatic differentiation not yet supported for <class 'pint.quantity.build_quantity_class.<locals>.Quantity'> objects") was raised. Set `gpkit.settings["ad_errors_raise"] = True` to raise such Exceptions directly. Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.2695 but bound is 700000.0000 SGP not convergent: Cost rose by 6.1% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 6.1% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 25% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 0.32% on GP solve 4. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 25% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 0.32% on GP solve 4. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. Starting a sequence of GP solves for 4 free variables in 1 locally-GP constraints and for 21 free variables in 22 posynomial inequalities. GP Solve 1 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.0534 seconds. Solved cost was 5717. GP Solve 2 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.0463 seconds. Solved cost was 4538. GP Solve 3 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.0508 seconds. Solved cost was 4536. GP Solve 4 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.0467 seconds. Solved cost was 4536. Solving took 0.21 seconds and 4 GP solves. Starting a sequence of GP solves for 4 free variables in 1 locally-GP constraints and for 21 free variables in 22 posynomial inequalities. GP Solve 1 Using solver 'mosek_conif' for 21 free variables in 22 posynomial inequalities. Solving took 0.0175 seconds. Solved cost was 5717. GP Solve 2 Using solver 'mosek_conif' for 21 free variables in 22 posynomial inequalities. Solving took 0.0229 seconds. Solved cost was 4538. GP Solve 3 Using solver 'mosek_conif' for 21 free variables in 22 posynomial inequalities. Solving took 0.0163 seconds. Solved cost was 4536. GP Solve 4 Using solver 'mosek_conif' for 21 free variables in 22 posynomial inequalities. Solving took 0.0148 seconds. Solved cost was 4536. Solving took 0.0775 seconds and 4 GP solves.

### Standard Error

/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:136: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return array(a, dtype, copy=False, order=order, subok=True) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:136: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return array(a, dtype, copy=False, order=order, subok=True) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit/gpkit/constraints/prog_factories.py:32: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. array_calulated[v.veckey] = np.array(ofn(kdc)) /Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:87: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs)