Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.001554/0.001554, allocations: 110 kB / 18.93 MB, free: 2.945 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.001487/0.001487, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 288 kB / 306.6 MB, free: 8.301 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.194/1.194, allocations: 180.9 MB / 0.53 GB, free: 14.42 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion")
translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002878/0.002878, allocations: 107.1 kB / 0.7308 GB, free: 39.03 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1656, allocations: 94.2 MB / 0.8228 GB, free: 1.781 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1812/0.3467, allocations: 148.7 MB / 0.9681 GB, free: 12.45 MB / 0.7169 GB
Notification: Performance of NFInst.instExpressions: time 0.0001372/0.3469, allocations: 55.84 kB / 0.9681 GB, free: 12.4 MB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.3469, allocations: 0 / 0.9681 GB, free: 12.4 MB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.347, allocations: 7.938 kB / 0.9681 GB, free: 12.39 MB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.3471, allocations: 11.92 kB / 0.9681 GB, free: 12.38 MB / 0.7169 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.3478, allocations: 224.5 kB / 0.9684 GB, free: 12.16 MB / 0.7169 GB
Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.3479, allocations: 31.92 kB / 0.9684 GB, free: 12.13 MB / 0.7169 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.034e-05/0.3479, allocations: 3.938 kB / 0.9684 GB, free: 12.12 MB / 0.7169 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.348, allocations: 23.91 kB / 0.9684 GB, free: 12.1 MB / 0.7169 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.348, allocations: 11.94 kB / 0.9684 GB, free: 12.09 MB / 0.7169 GB
Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.348, allocations: 0 / 0.9684 GB, free: 12.09 MB / 0.7169 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.3485, allocations: 219.3 kB / 0.9686 GB, free: 11.88 MB / 0.7169 GB
Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.3485, allocations: 11.98 kB / 0.9686 GB, free: 11.86 MB / 0.7169 GB
Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.3486, allocations: 11.94 kB / 0.9687 GB, free: 11.85 MB / 0.7169 GB
Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3488, allocations: 115.7 kB / 0.9688 GB, free: 11.74 MB / 0.7169 GB
Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3488, allocations: 7.938 kB / 0.9688 GB, free: 11.73 MB / 0.7169 GB
Notification: Performance of FrontEnd: time 1.082e-06/0.3488, allocations: 0 / 0.9688 GB, free: 11.73 MB / 0.7169 GB
Notification: Performance of Transformations before backend: time 4.158e-06/0.3488, allocations: 0 / 0.9688 GB, free: 11.73 MB / 0.7169 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.0003795/0.3492, allocations: 266.2 kB / 0.969 GB, free: 11.44 MB / 0.7169 GB
Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.3492, allocations: 12.02 kB / 0.969 GB, free: 11.43 MB / 0.7169 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002927/0.3495, allocations: 24.92 kB / 0.9691 GB, free: 11.41 MB / 0.7169 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.3496, allocations: 110.5 kB / 0.9692 GB, free: 11.27 MB / 0.7169 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.3497, allocations: 29.64 kB / 0.9692 GB, free: 11.24 MB / 0.7169 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.3497, allocations: 4 kB / 0.9692 GB, free: 11.23 MB / 0.7169 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.3498, allocations: 45.69 kB / 0.9692 GB, free: 11.18 MB / 0.7169 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3498, allocations: 0 / 0.9692 GB, free: 11.18 MB / 0.7169 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3499, allocations: 0 / 0.9692 GB, free: 11.18 MB / 0.7169 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3499, allocations: 0 / 0.9692 GB, free: 11.18 MB / 0.7169 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.554e-05/0.3499, allocations: 23.98 kB / 0.9693 GB, free: 11.16 MB / 0.7169 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.3503, allocations: 239.9 kB / 0.9695 GB, free: 10.88 MB / 0.7169 GB
Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/0.3503, allocations: 22.58 kB / 0.9695 GB, free: 10.85 MB / 0.7169 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.3504, allocations: 4.859 kB / 0.9695 GB, free: 10.84 MB / 0.7169 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.3505, allocations: 16.05 kB / 0.9695 GB, free: 10.83 MB / 0.7169 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3505, allocations: 42.56 kB / 0.9696 GB, free: 10.78 MB / 0.7169 GB
Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3505, allocations: 0 / 0.9696 GB, free: 10.78 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=2): time 0.0002469/0.3508, allocations: 53.62 kB / 0.9696 GB, free: 10.72 MB / 0.7169 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3508, allocations: 51.41 kB / 0.9697 GB, free: 10.66 MB / 0.7169 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.3509, allocations: 109.8 kB / 0.9698 GB, free: 10.54 MB / 0.7169 GB
Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3509, allocations: 25.7 kB / 0.9698 GB, free: 10.51 MB / 0.7169 GB
Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.351, allocations: 96.2 kB / 0.9699 GB, free: 10.41 MB / 0.7169 GB
Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.351, allocations: 7.891 kB / 0.9699 GB, free: 10.4 MB / 0.7169 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.351, allocations: 21.7 kB / 0.9699 GB, free: 10.38 MB / 0.7169 GB
Notification: Performance of setup shared object (initialization): time 0.0001429/0.3512, allocations: 314.8 kB / 0.9702 GB, free: 10.06 MB / 0.7169 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.3512, allocations: 0 / 0.9702 GB, free: 10.06 MB / 0.7169 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.3512, allocations: 30.56 kB / 0.9703 GB, free: 10.02 MB / 0.7169 GB
Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.3513, allocations: 34.52 kB / 0.9703 GB, free: 9.977 MB / 0.7169 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3513, allocations: 3.938 kB / 0.9703 GB, free: 9.973 MB / 0.7169 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 8.727e-05/0.3513, allocations: 53.62 kB / 0.9703 GB, free: 9.914 MB / 0.7169 GB
Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3514, allocations: 4 kB / 0.9703 GB, free: 9.91 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3514, allocations: 3.938 kB / 0.9704 GB, free: 9.906 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3514, allocations: 4 kB / 0.9704 GB, free: 9.902 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.3514, allocations: 4 kB / 0.9704 GB, free: 9.898 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3514, allocations: 8.031 kB / 0.9704 GB, free: 9.891 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.3515, allocations: 7.953 kB / 0.9704 GB, free: 9.883 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3515, allocations: 0 / 0.9704 GB, free: 9.883 MB / 0.7169 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 8.432e-05/0.3516, allocations: 114.5 kB / 0.9705 GB, free: 9.762 MB / 0.7169 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.3516, allocations: 4 kB / 0.9705 GB, free: 9.758 MB / 0.7169 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.3516, allocations: 7.25 kB / 0.9705 GB, free: 9.75 MB / 0.7169 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/0.3516, allocations: 4 kB / 0.9705 GB, free: 9.746 MB / 0.7169 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3516, allocations: 3.938 kB / 0.9705 GB, free: 9.742 MB / 0.7169 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.3516, allocations: 0 / 0.9705 GB, free: 9.742 MB / 0.7169 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3519, allocations: 334.7 kB / 0.9708 GB, free: 9.359 MB / 0.7169 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3519, allocations: 0 / 0.9708 GB, free: 9.359 MB / 0.7169 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.352, allocations: 7.938 kB / 0.9708 GB, free: 9.352 MB / 0.7169 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.352, allocations: 3.938 kB / 0.9708 GB, free: 9.348 MB / 0.7169 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.352, allocations: 4 kB / 0.9708 GB, free: 9.344 MB / 0.7169 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.352, allocations: 0 / 0.9708 GB, free: 9.344 MB / 0.7169 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.352, allocations: 0 / 0.9708 GB, free: 9.344 MB / 0.7169 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.696e-05/0.3521, allocations: 70.05 kB / 0.9709 GB, free: 9.254 MB / 0.7169 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.3521, allocations: 11.89 kB / 0.9709 GB, free: 9.242 MB / 0.7169 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3521, allocations: 0 / 0.9709 GB, free: 9.242 MB / 0.7169 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.3522, allocations: 8 kB / 0.9709 GB, free: 9.234 MB / 0.7169 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.3522, allocations: 3.984 kB / 0.9709 GB, free: 9.23 MB / 0.7169 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3522, allocations: 0 / 0.9709 GB, free: 9.23 MB / 0.7169 GB
Notification: Performance of sorting global known variables: time 5.305e-05/0.3523, allocations: 87.25 kB / 0.971 GB, free: 9.145 MB / 0.7169 GB
Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 0 / 0.971 GB, free: 9.145 MB / 0.7169 GB
Notification: Performance of remove unused functions: time 0.0001987/0.3525, allocations: 8 kB / 0.971 GB, free: 9.137 MB / 0.7169 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (2):
 * Single equations (assignments): 2
 * 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 0.0001188/0.3526, allocations: 95.25 kB / 0.9711 GB, free: 9.035 MB / 0.7169 GB
Notification: Performance of simCode: created initialization part: time 8.167e-05/0.3527, allocations: 19.98 kB / 0.9711 GB, free: 9.016 MB / 0.7169 GB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3527, allocations: 0 / 0.9711 GB, free: 9.016 MB / 0.7169 GB
Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.3527, allocations: 12.12 kB / 0.9711 GB, free: 9.004 MB / 0.7169 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3529, allocations: 12 kB / 0.9711 GB, free: 8.992 MB / 0.7169 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002819/0.3532, allocations: 130 kB / 0.9713 GB, free: 8.836 MB / 0.7169 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3535, allocations: 0.6768 MB / 0.9719 GB, free: 8.133 MB / 0.7169 GB
Notification: Performance of simCode: alias equations: time 4.884e-05/0.3536, allocations: 12.53 kB / 0.9719 GB, free: 8.121 MB / 0.7169 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.3536, allocations: 15.42 kB / 0.972 GB, free: 8.105 MB / 0.7169 GB
Notification: Performance of SimCode: time 3.4e-07/0.3536, allocations: 0 / 0.972 GB, free: 8.105 MB / 0.7169 GB
Notification: Performance of Templates: time 0.003068/0.3567, allocations: 0.5942 MB / 0.9725 GB, free: 7.512 MB / 0.7169 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.094974586740136]
Failed to read output from testmodel.py, exit status != 0:
0.363840757869184 0.37912182399999994 0.027210125
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f14b888d7b0>