Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 112.7 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 187.7 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8996/0.8996, allocations: 134 MB / 440.3 MB, free: 212 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion")
translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 59.52 kB / 0.6107 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2275, allocations: 84.74 MB / 0.6935 GB, free: 9.035 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.619/0.8465, allocations: 148.3 MB / 0.8383 GB, free: 12.29 MB / 0.6075 GB
Notification: Performance of NFInst.instExpressions: time 0.000165/0.8467, allocations: 49.41 kB / 0.8384 GB, free: 12.25 MB / 0.6075 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.8467, allocations: 0 / 0.8384 GB, free: 12.25 MB / 0.6075 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.8469, allocations: 6.844 kB / 0.8384 GB, free: 12.25 MB / 0.6075 GB
Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.847, allocations: 14.72 kB / 0.8384 GB, free: 12.24 MB / 0.6075 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.8475, allocations: 109.4 kB / 0.8385 GB, free: 12.16 MB / 0.6075 GB
Notification: Performance of NFFlatten.flatten: time 0.0001086/0.8476, allocations: 34.22 kB / 0.8385 GB, free: 12.14 MB / 0.6075 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.8477, allocations: 2.281 kB / 0.8385 GB, free: 12.14 MB / 0.6075 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.8478, allocations: 23.91 kB / 0.8385 GB, free: 12.13 MB / 0.6075 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.8478, allocations: 10.83 kB / 0.8386 GB, free: 12.12 MB / 0.6075 GB
Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.8479, allocations: 2.781 kB / 0.8386 GB, free: 12.12 MB / 0.6075 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.8482, allocations: 95.64 kB / 0.8386 GB, free: 12.07 MB / 0.6075 GB
Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.8482, allocations: 4 kB / 0.8387 GB, free: 12.06 MB / 0.6075 GB
Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.8483, allocations: 19.41 kB / 0.8387 GB, free: 12.05 MB / 0.6075 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.8485, allocations: 68.42 kB / 0.8387 GB, free: 12.02 MB / 0.6075 GB
Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.8485, allocations: 4 kB / 0.8387 GB, free: 12.02 MB / 0.6075 GB
Notification: Performance of FrontEnd: time 1.864e-06/0.8485, allocations: 0 / 0.8387 GB, free: 12.02 MB / 0.6075 GB
Notification: Performance of Transformations before backend: time 7.464e-06/0.8485, allocations: 2.75 kB / 0.8387 GB, free: 12.02 MB / 0.6075 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 4
 * Number of variables: 4
Notification: Performance of Generate backend data structure: time 0.000539/0.849, allocations: 265.9 kB / 0.839 GB, free: 11.74 MB / 0.6075 GB
Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8491, allocations: 9.844 kB / 0.839 GB, free: 11.74 MB / 0.6075 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.8493, allocations: 15.39 kB / 0.839 GB, free: 11.74 MB / 0.6075 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.8495, allocations: 109 kB / 0.8391 GB, free: 11.61 MB / 0.6075 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.012e-05/0.8496, allocations: 41.88 kB / 0.8392 GB, free: 11.57 MB / 0.6075 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.8496, allocations: 7.078 kB / 0.8392 GB, free: 11.56 MB / 0.6075 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.8497, allocations: 43.25 kB / 0.8392 GB, free: 11.52 MB / 0.6075 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.8497, allocations: 0 / 0.8392 GB, free: 11.52 MB / 0.6075 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.8498, allocations: 0 / 0.8392 GB, free: 11.52 MB / 0.6075 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.8498, allocations: 6.734 kB / 0.8392 GB, free: 11.52 MB / 0.6075 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.97e-05/0.8498, allocations: 17.92 kB / 0.8392 GB, free: 11.51 MB / 0.6075 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.8503, allocations: 238.3 kB / 0.8395 GB, free: 11.25 MB / 0.6075 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.8504, allocations: 22.52 kB / 0.8395 GB, free: 11.22 MB / 0.6075 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.8504, allocations: 7.359 kB / 0.8395 GB, free: 11.21 MB / 0.6075 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.8504, allocations: 0 / 0.8395 GB, free: 11.21 MB / 0.6075 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.8504, allocations: 34.55 kB / 0.8395 GB, free: 11.17 MB / 0.6075 GB
Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8504, allocations: 0 / 0.8395 GB, free: 11.17 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=1): time 0.0001732/0.8506, allocations: 45.61 kB / 0.8396 GB, free: 11.13 MB / 0.6075 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.8507, allocations: 51.41 kB / 0.8396 GB, free: 11.07 MB / 0.6075 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.8508, allocations: 108.6 kB / 0.8397 GB, free: 10.96 MB / 0.6075 GB
Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.8508, allocations: 25.7 kB / 0.8397 GB, free: 10.93 MB / 0.6075 GB
Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.8509, allocations: 90.56 kB / 0.8398 GB, free: 10.84 MB / 0.6075 GB
Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.8509, allocations: 7.953 kB / 0.8398 GB, free: 10.83 MB / 0.6075 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.8509, allocations: 15.09 kB / 0.8399 GB, free: 10.81 MB / 0.6075 GB
Notification: Performance of setup shared object (initialization): time 0.0001472/0.8511, allocations: 315 kB / 0.8402 GB, free: 10.5 MB / 0.6075 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.8511, allocations: 10.59 kB / 0.8402 GB, free: 10.49 MB / 0.6075 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.8511, allocations: 24.2 kB / 0.8402 GB, free: 10.46 MB / 0.6075 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.8512, allocations: 33.62 kB / 0.8402 GB, free: 10.43 MB / 0.6075 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8512, allocations: 3 kB / 0.8402 GB, free: 10.43 MB / 0.6075 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 9.621e-05/0.8513, allocations: 53.08 kB / 0.8403 GB, free: 10.38 MB / 0.6075 GB
Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.8513, allocations: 9.016 kB / 0.8403 GB, free: 10.38 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8513, allocations: 0 / 0.8403 GB, free: 10.38 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.8513, allocations: 3.5 kB / 0.8403 GB, free: 10.38 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.8514, allocations: 5.594 kB / 0.8403 GB, free: 10.38 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8514, allocations: 3.938 kB / 0.8403 GB, free: 10.38 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.8514, allocations: 6.266 kB / 0.8403 GB, free: 10.37 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.8515, allocations: 2.469 kB / 0.8403 GB, free: 10.37 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 9.828e-05/0.8515, allocations: 116.5 kB / 0.8404 GB, free: 10.25 MB / 0.6075 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.8516, allocations: 0 / 0.8404 GB, free: 10.25 MB / 0.6075 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.8516, allocations: 9.922 kB / 0.8404 GB, free: 10.25 MB / 0.6075 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.8516, allocations: 0 / 0.8404 GB, free: 10.25 MB / 0.6075 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.8516, allocations: 3.938 kB / 0.8404 GB, free: 10.24 MB / 0.6075 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.8516, allocations: 0 / 0.8404 GB, free: 10.24 MB / 0.6075 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.8519, allocations: 318.6 kB / 0.8407 GB, free: 9.891 MB / 0.6075 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.8519, allocations: 0 / 0.8407 GB, free: 9.891 MB / 0.6075 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.8519, allocations: 0 / 0.8407 GB, free: 9.891 MB / 0.6075 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.8519, allocations: 10.69 kB / 0.8407 GB, free: 9.883 MB / 0.6075 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.852, allocations: 4 kB / 0.8407 GB, free: 9.879 MB / 0.6075 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.852, allocations: 0 / 0.8407 GB, free: 9.879 MB / 0.6075 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.852, allocations: 3.938 kB / 0.8407 GB, free: 9.875 MB / 0.6075 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.028e-05/0.852, allocations: 59.91 kB / 0.8408 GB, free: 9.805 MB / 0.6075 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.8521, allocations: 6.672 kB / 0.8408 GB, free: 9.801 MB / 0.6075 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.8521, allocations: 3.938 kB / 0.8408 GB, free: 9.797 MB / 0.6075 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.592e-05/0.8522, allocations: 15.08 kB / 0.8408 GB, free: 9.785 MB / 0.6075 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.8522, allocations: 0 / 0.8408 GB, free: 9.785 MB / 0.6075 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.8522, allocations: 0 / 0.8408 GB, free: 9.785 MB / 0.6075 GB
Notification: Performance of sorting global known variables: time 5.224e-05/0.8523, allocations: 80.06 kB / 0.8409 GB, free: 9.711 MB / 0.6075 GB
Notification: Performance of sort global known variables: time 6e-08/0.8523, allocations: 0 / 0.8409 GB, free: 9.711 MB / 0.6075 GB
Notification: Performance of remove unused functions: time 0.0001943/0.8524, allocations: 7.812 kB / 0.8409 GB, free: 9.711 MB / 0.6075 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 9.956e-05/0.8525, allocations: 102.2 kB / 0.841 GB, free: 9.621 MB / 0.6075 GB
Notification: Performance of simCode: created initialization part: time 0.0001012/0.8526, allocations: 19.91 kB / 0.841 GB, free: 9.609 MB / 0.6075 GB
Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8527, allocations: 0 / 0.841 GB, free: 9.609 MB / 0.6075 GB
Notification: Performance of simCode: created simulation system equations: time 7.004e-06/0.8527, allocations: 6.031 kB / 0.841 GB, free: 9.605 MB / 0.6075 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.8529, allocations: 3.188 kB / 0.841 GB, free: 9.605 MB / 0.6075 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.8532, allocations: 111.9 kB / 0.8411 GB, free: 9.488 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.8536, allocations: 0.6771 MB / 0.8418 GB, free: 8.789 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 5.987e-05/0.8537, allocations: 14.05 kB / 0.8418 GB, free: 8.781 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.8537, allocations: 7.438 kB / 0.8418 GB, free: 8.773 MB / 0.6075 GB
Notification: Performance of SimCode: time 3.01e-07/0.8537, allocations: 0 / 0.8418 GB, free: 8.773 MB / 0.6075 GB
Notification: Performance of Templates: time 0.003387/0.8571, allocations: 0.5176 MB / 0.8423 GB, free: 8.531 MB / 0.6075 GB
"
[Timeout remaining time 659]
make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.663300646468997]
Failed to read output from testmodel.py, exit status != 0:
0.8653168696910143 0.884353985 0.032174755
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0cdb8397b0>