Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_solar_npod_trade_py_mosek_cli (from gpkit.tests.from_paths.TestFiles-20180501104857)

Failing for the past 1 build (Since Failed #123 )
Took 17 sec.

Error Message

The constraint rho_FoamHD/Relax >= 1 is infeasible by 2677.777778%

Stacktrace

Traceback (most recent call last):
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\helpers.py", line 62, in test
    testfn(name, import_dict, path)(self)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\from_paths.py", line 50, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\tests\from_paths.py", line 39, in test_fn
    mod.test()
  File "npod_trade.py", line 81, in test
  File "npod_trade.py", line 26, in pods
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\prog_factories.py", line 122, in solvefn
    self.program, progsolve = genfunction(self)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\prog_factories.py", line 79, in programify
    prog = program(self.cost, self, constants, **kwargs)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\sgp.py", line 64, in __init__
    self._gp = self.init_gp(self.substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\sgp.py", line 186, in init_gp
    gp = GeometricProgram(self.cost, [gpconstrs, spapproxs], substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\gp.py", line 72, in __init__
    self.posynomials.extend(self.as_posyslt1(self.substitutions))
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\constraints\set.py", line 264, in as_posyslt1
    posys = constraint.as_posyslt1(substitutions)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\nomials\math.py", line 498, in as_posyslt1
    hmap = self._simplify_posy_ineq(hmap, self.pmap)
  File "c:\users\jenkins\workspace\gpkit_researchmodel_solar_pr\mosek\gpkit\gpkit\nomials\math.py", line 442, in _simplify_posy_ineq
    " %f%%" % (self, -coeff*100))
ValueError: The constraint rho_FoamHD/Relax >= 1 is infeasible by 2677.777778%
		

Standard Output

Beginning signomial solve.
Solving took 9 GP solves and 6.47 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 0.9740 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1359978.9603 but bound is 600000.0000
Warning: Variable [Re_Mission/Climb/AircraftDrag/TailAero.1_(0,), Re_Mission/Climb/AircraftDrag/TailAero.1_(1,), Re_Mi could cause inaccurate result because it is above upper bound. Solution is 1118578.9934 but bound is 1000000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 89126.6215 but bound is 50000.0000
Beginning signomial solve.
Beginning signomial solve.
Solving took 9 GP solves and 5.04 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 0.9740 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1359978.9630 but bound is 600000.0000
Warning: Variable [Re_Mission/Climb/AircraftDrag/TailAero.1_(0,), Re_Mission/Climb/AircraftDrag/TailAero.1_(1,), Re_Mi could cause inaccurate result because it is above upper bound. Solution is 1118578.9956 but bound is 1000000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 89126.6215 but bound is 50000.0000
Beginning signomial solve.
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.29 seconds.
Allowing negative dual variable(s) as small as -3.362497346503659e-10.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.3227 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 671709.7457 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.24 seconds.
Allowing negative dual variable(s) as small as -8.009529971470237e-11.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2812 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 729183.6438 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.13 seconds.
Allowing negative dual variable(s) as small as -1.1651457870116674e-10.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2258 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 802959.6060 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.93 seconds.
Allowing negative dual variable(s) as small as -4.032864705859504e-10.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 839122.5120 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.84 seconds.
Allowing negative dual variable(s) as small as -1.5086582829317144e-09.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.3227 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 671709.7487 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.24 seconds.
Allowing negative dual variable(s) as small as -1.0063651735989079e-09.
Warning: Variable [CL_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), CL_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2812 but bound is 0.9465
Warning: Variable [Re_Mission.1/Climb.1/AircraftDrag.41/WingAero.41_(0,), Re_Mission.1/Climb.1/AircraftDrag.41/WingAer could cause inaccurate result because it is above upper bound. Solution is 729183.6164 but bound is 600000.0000
Using solver 'mosek'
Solving for 14852 variables.
Solving took 5.36 seconds.
Allowing negative dual variable(s) as small as -4.039635620468429e-10.
Warning: Variable [CL_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), CL_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is below lower bound. Solution is 1.2258 but bound is 0.9465
Warning: Variable [Re_Mission.2/Climb.2/AircraftDrag.82/WingAero.82_(0,), Re_Mission.2/Climb.2/AircraftDrag.82/WingAer could cause inaccurate result because it is above upper bound. Solution is 802959.5988 but bound is 600000.0000
Using solver 'mosek'
Solving for 7672 variables.
Solving took 2.6 seconds.
Allowing negative dual variable(s) as small as -1.2238971779023532e-11.
Warning: Variable [CL_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), CL_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is below lower bound. Solution is 1.2008 but bound is 0.9465
Warning: Variable [Re_Mission.3/Climb.3/AircraftDrag.123/WingAero.123_(0,), Re_Mission.3/Climb.3/AircraftDrag.123/Wing could cause inaccurate result because it is above upper bound. Solution is 839122.5071 but bound is 600000.0000
Beginning signomial solve.
Solving took 9 GP solves and 5.65 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0930 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1365008.0506 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 80513.9535 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 3.11544260118 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543932922 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 2.27606821544 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606473947 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

Beginning signomial solve.
Solving took 9 GP solves and 5.98 seconds.
Warning: Variable [CL_Mission/Climb/AircraftDrag/WingAero_(0,), CL_Mission/Climb/AircraftDrag/WingAero_(1,), CL_Missio could cause inaccurate result because it is below lower bound. Solution is 1.0930 but bound is 0.9465
Warning: Variable [Re_Mission/Climb/AircraftDrag/WingAero_(0,), Re_Mission/Climb/AircraftDrag/WingAero_(1,), Re_Missio could cause inaccurate result because it is above upper bound. Solution is 1365007.9658 but bound is 600000.0000
Warning: Variable [Re_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,), Re_Mis could cause inaccurate result because it is below lower bound. Solution is 80513.9535 but bound is 50000.0000
Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(0,)**...] is not tight because the left hand side evaluated to 3.11544259939 meter ** 2 / second ** 2 but the right hand side evaluated to 3.11543932742 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00011%)

Warning: Constraint [0.151*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**-2... >= 0.00633*B_Mission/FlightSegment/AircraftPerf/AircraftDrag.1/BladeElementProp/BladeElementPerf_(1,)**...] is not tight because the left hand side evaluated to 2.2760682156 meter ** 2 / second ** 2 but the right hand side evaluated to 2.27606473963 meter ** 2 / second ** 2 (Allowable error: 0.0001%, Actual error: 0.00015%)

	

Standard Error

C:\Users\jenkins\workspace\gpkit_ResearchModel_solar_PR\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: overflow encountered in exp
  tau = np.exp(-0.175/costhsun)
C:\Users\jenkins\workspace\gpkit_ResearchModel_solar_PR\mosek\venv2_gpkit\lib\site-packages\gassolar\environment\solar_irradiance.py:40: RuntimeWarning: divide by zero encountered in divide
  tau = np.exp(-0.175/costhsun)