Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gpkitmodels_GP_aircraft_motor_motor_test_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20200228004915)

Failing for the past 1 build (Since Failed #213 )
Took 44 ms.

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/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_Test.MotorPerf.v*Motor_P_Test.MotorPerf.i [V·amps]' to 'Motor_P_Test.MotorPerf.Pelec [kW]'
		

Standard Output

Using solver 'mosek_cli'
Solving for 11 variables.
Solving took 0.0584 seconds.
Using solver 'mosek_conif'
Solving for 11 variables.
Solving took 0.0218 seconds.
Using solver 'mosek_cli'
Solving for 13 variables.
Solving took 0.0728 seconds.
Beginning signomial solve.
Solving took 11 GP solves and 1.12 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.018 seconds.
Beginning signomial solve.
Solving took 11 GP solves and 0.698 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 1619877.7194 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)
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
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 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
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 2220953.3820 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.8943 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 1860717.5282 but bound is 1000000.0000
Warning: Variable TailAero3.Re could cause inaccurate result because it is above upper bound. Solution is 1860717.1127 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 1853896.5188 but bound is 1000000.0000
Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.6511 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.4131 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.1539 but bound is 700000.0000
Beginning signomial solve.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0564 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0582 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0558 seconds.
Using solver 'mosek_cli'
Solving for 20 variables.
Solving took 0.0554 seconds.
Solving took 4 GP solves and 0.24 seconds.
Beginning signomial solve.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0224 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0214 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0215 seconds.
Using solver 'mosek_conif'
Solving for 20 variables.
Solving took 0.0192 seconds.
Solving took 4 GP solves and 0.0934 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))
/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))