Failed
gpkit.tests.from_paths.TestFiles.test_gpkitmodels_GP_aircraft_motor_motor_test_py_cvxopt (from gpkit.tests.from_paths.TestFiles-20200228004629)
Failing for the past 1 build
(Since Failed
)
Error Message
Cannot convert from 'Motor_P_Test.MotorPerf.v*Motor_P_Test.MotorPerf.i [V·amps]' to 'Motor_P_Test.MotorPerf.Pelec [kW]'
Stacktrace
Traceback (most recent call last): File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/cvxopt/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/cvxopt/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/cvxopt/gpkit/gpkit/tests/helpers.py", line 64, in test testfn(name, import_dict, path)(self) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/cvxopt/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/cvxopt/gpkit/gpkit/tests/from_paths.py", line 40, in test_fn mod.test() File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/cvxopt/gplibrary/gpkitmodels/GP/aircraft/motor/motor_test.py", line 101, in test motor_test() File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/cvxopt/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/cvxopt/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/cvxopt/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/cvxopt/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/cvxopt/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/cvxopt/gpkit/gpkit/nomials/math.py", line 348, in __eq__ return MonomialEquality(self, other) File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/cvxopt/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/cvxopt/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/cvxopt/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/cvxopt/gpkit/gpkit/_pint/__init__.py", line 55, in of_division raise DimensionalityError(numerator, denominator) pint.errors.DimensionalityError: Cannot convert from 'Motor_P_Test.MotorPerf.v*Motor_P_Test.MotorPerf.i [V·amps]' to 'Motor_P_Test.MotorPerf.Pelec [kW]'
Standard Output
Using solver 'cvxopt' Solving for 11 variables. Solving took 0.016 seconds. Using solver 'cvxopt' Solving for 13 variables. Solving took 0.0256 seconds. Beginning signomial solve. Solving took 11 GP solves and 8.09 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 1619892.1242 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 2220952.3405 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 2499787.5667 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) Warning: Variable TailAero2.Re could cause inaccurate result because it is above upper bound. Solution is 2223840.1738 but bound is 1000000.0000 Warning: Variable TailAero3.Re could cause inaccurate result because it is above upper bound. Solution is 2223840.1106 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 TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 1849726.5704 but bound is 1000000.0000 Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 1849726.5562 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 2197590.3832 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 1928321.4295 but bound is 700000.0000 Beginning signomial solve. Using solver 'cvxopt' Solving for 20 variables. Solving took 0.034 seconds. Using solver 'cvxopt' Solving for 20 variables. Solving took 0.0239 seconds. Using solver 'cvxopt' Solving for 20 variables. Solving took 0.0233 seconds. Using solver 'cvxopt' Solving for 20 variables. Solving took 0.023 seconds. Solving took 4 GP solves and 0.114 seconds.
Standard Error
/Users/jenkins/workspace/CE_gplibrary_Push_research_models/cvxopt/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/cvxopt/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/cvxopt/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))