Failed
gpkit.tests.from_paths.TestFiles.test_gpkitmodels_GP_aircraft_motor_motor_test_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20200302155401)
Failing for the past 1 build
(Since Failed
)
Error Message
Cannot convert from 'Motor_P_Test1.MotorPerf.v*Motor_P_Test1.MotorPerf.i [V·amps]' to 'Motor_P_Test1.MotorPerf.Pelec [kW]'
Stacktrace
Traceback (most recent call last): File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/_pint/__init__.py", line 53, in of_division self.division_cache[key] = float(conversion) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/pint/quantity.py", line 756, in __float__ raise DimensionalityError(self._units, "dimensionless") pint.errors.DimensionalityError: Cannot convert from 'attometer_per_second * volt / kilowatt' to 'dimensionless' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, in test testfn(name, import_dict, path)(self) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 51, in <lambda> lambda self: getattr(self, name)())) # pylint:disable=undefined-variable File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 40, in test_fn mod.test() File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/motor/motor_test.py", line 101, in test motor_test() File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/motor/motor_test.py", line 97, in motor_test test = Motor_P_Test() File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 56, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gplibrary/gpkitmodels/GP/aircraft/motor/motor_test.py", line 63, in setup mp = MotorPerf(m,fs) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/constraints/model.py", line 56, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/gpkitmodels/GP/aircraft/motor/motor.py", line 32, in setup Pelec == v*i, File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/nomials/math.py", line 348, in __eq__ return MonomialEquality(self, other) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/nomials/math.py", line 556, in __init__ self.unsubbed = self._gen_unsubbed(self.left, self.right) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/nomials/math.py", line 581, in _gen_unsubbed l_over_r = unsubbed(self, left, right) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/nomials/math.py", line 485, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/_pint/__init__.py", line 55, in of_division raise DimensionalityError(numerator, denominator) pint.errors.DimensionalityError: Cannot convert from 'Motor_P_Test1.MotorPerf.v*Motor_P_Test1.MotorPerf.i [V·amps]' to 'Motor_P_Test1.MotorPerf.Pelec [kW]'
Standard Output
Using solver 'mosek_cli' Solving for 11 variables. Solving took 0.0679 seconds. Using solver 'mosek_conif' Solving for 11 variables. Solving took 0.015 seconds. Using solver 'mosek_cli' Solving for 13 variables. Solving took 0.0505 seconds. Beginning signomial solve. Solving took 11 GP solves and 0.914 seconds. 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' Solving for 13 variables. Solving took 0.0126 seconds. Beginning signomial solve. Solving took 11 GP solves and 0.658 seconds. 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 1619714.7494 but bound is 700000.0000 Couldn't auto-differentiate linked variable HorizontalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable TailAero.Re could cause inaccurate result because it is above upper bound. Solution is 2220959.7939 but bound is 1000000.0000 Couldn't auto-differentiate linked variable VerticalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable TailAero1.Re could cause inaccurate result because it is above upper bound. Solution is 2499796.7837 but bound is 1000000.0000 Couldn't auto-differentiate linked variable Empennage.HorizontalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Couldn't auto-differentiate linked variable Empennage.VerticalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Couldn't auto-differentiate linked variable HorizontalTail1.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 2220953.3820 but bound is 1000000.0000 Couldn't auto-differentiate linked variable VerticalTail1.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 2499787.8943 but bound is 1000000.0000 Couldn't auto-differentiate linked variable Empennage1.HorizontalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Couldn't auto-differentiate linked variable Empennage1.VerticalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable TailAero6.Re could cause inaccurate result because it is above upper bound. Solution is 2223878.4696 but bound is 1000000.0000 Warning: Variable TailAero7.Re could cause inaccurate result because it is above upper bound. Solution is 2223878.5307 but bound is 1000000.0000 Couldn't auto-differentiate linked variable Empennage2.HorizontalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Couldn't auto-differentiate linked variable Empennage2.VerticalTail.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable TailAero8.Re could cause inaccurate result because it is above upper bound. Solution is 1853893.3429 but bound is 1000000.0000 Warning: Variable TailAero9.Re could cause inaccurate result because it is above upper bound. Solution is 1853895.6813 but bound is 1000000.0000 Couldn't auto-differentiate linked variable Wing.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1884889.9591 but bound is 700000.0000 Couldn't auto-differentiate linked variable Wing1.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910412.9866 but bound is 700000.0000 Couldn't auto-differentiate linked variable Wing.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.5446 but bound is 700000.0000 Couldn't auto-differentiate linked variable Wing1.Planform.cbarmac (to raise the error directly for debugging purposes, set gpkit.settings["ad_errors_raise"] to True) Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910419.4577 but bound is 700000.0000 Beginning signomial solve. Using solver 'mosek_cli' Solving for 20 variables. Solving took 0.0572 seconds. Using solver 'mosek_cli' Solving for 20 variables. Solving took 0.0538 seconds. Using solver 'mosek_cli' Solving for 20 variables. Solving took 0.0432 seconds. Using solver 'mosek_cli' Solving for 20 variables. Solving took 0.0552 seconds. Solving took 4 GP solves and 0.223 seconds. Beginning signomial solve. Using solver 'mosek_conif' Solving for 20 variables. Solving took 0.0204 seconds. Using solver 'mosek_conif' Solving for 20 variables. Solving took 0.0158 seconds. Using solver 'mosek_conif' Solving for 20 variables. Solving took 0.015 seconds. Using solver 'mosek_conif' Solving for 20 variables. Solving took 0.0166 seconds. Solving took 4 GP solves and 0.0741 seconds.
Standard Error
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/_asarray.py:138: 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_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_gplibrary_Push_research_models/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_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_gplibrary_Push_research_models/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_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_gplibrary_Push_research_models/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_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_gplibrary_Push_research_models/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_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/numpy/core/fromnumeric.py:90: UnitStrippedWarning: The unit of the quantity is stripped when downcasting to ndarray. return ufunc.reduce(obj, axis, dtype, out, **passkwargs) /Users/jenkins/workspace/CE_gplibrary_Push_research_models/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))