Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001265/0.001265, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001274/0.001274, allocations: 186.8 kB / 22.22 MB, free: 5.105 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.365/1.365, 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.002484/0.002484, allocations: 291.1 kB / 306.6 MB, free: 8.348 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.164/1.164, allocations: 180.9 MB / 0.53 GB, free: 14.49 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion")
translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 99.14 kB / 0.7308 GB, free: 38.79 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1488, allocations: 94.2 MB / 0.8228 GB, free: 1.879 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005739/0.1546, allocations: 4.065 MB / 0.8268 GB, free: 13.78 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.0002272/0.1548, allocations: 159.4 kB / 0.8269 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.401e-05/0.1548, allocations: 0 / 0.8269 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.1549, allocations: 0 / 0.8269 GB, free: 13.62 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 7.292e-05/0.155, allocations: 27.91 kB / 0.827 GB, free: 13.59 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.1553, allocations: 75.75 kB / 0.827 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.1554, allocations: 31.86 kB / 0.8271 GB, free: 13.49 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.1554, allocations: 4 kB / 0.8271 GB, free: 13.48 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.1555, allocations: 23.91 kB / 0.8271 GB, free: 13.46 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.1555, allocations: 11.94 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1556, allocations: 4 kB / 0.8271 GB, free: 13.45 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.1557, allocations: 63.78 kB / 0.8272 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.1558, allocations: 4 kB / 0.8272 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.1558, allocations: 11.88 kB / 0.8272 GB, free: 13.37 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1559, allocations: 43.89 kB / 0.8272 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1559, allocations: 0 / 0.8272 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.192e-06/0.1559, allocations: 0 / 0.8272 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.729e-06/0.156, allocations: 0 / 0.8272 GB, free: 13.32 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0003704/0.1563, allocations: 262.3 kB / 0.8275 GB, free: 13.04 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1564, allocations: 15.97 kB / 0.8275 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.1564, allocations: 4.938 kB / 0.8275 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.1565, allocations: 110.5 kB / 0.8276 GB, free: 12.89 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/0.1566, allocations: 30.27 kB / 0.8276 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1566, allocations: 384 / 0.8276 GB, free: 12.85 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.1567, allocations: 49.56 kB / 0.8277 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.1567, allocations: 0 / 0.8277 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1567, allocations: 0 / 0.8277 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1567, allocations: 0 / 0.8277 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.1568, allocations: 19.97 kB / 0.8277 GB, free: 12.78 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1572, allocations: 239.9 kB / 0.8279 GB, free: 12.5 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 3.885e-05/0.1572, allocations: 18.58 kB / 0.8279 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.1572, allocations: 4.859 kB / 0.8279 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.1573, allocations: 8.062 kB / 0.828 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1573, allocations: 42.48 kB / 0.828 GB, free: 12.41 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1573, allocations: 4 kB / 0.828 GB, free: 12.4 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001315/0.1575, allocations: 29.7 kB / 0.828 GB, free: 12.37 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.1575, allocations: 55.41 kB / 0.8281 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.1576, allocations: 105.8 kB / 0.8282 GB, free: 12.19 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1576, allocations: 25.7 kB / 0.8282 GB, free: 12.16 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.1577, allocations: 88.09 kB / 0.8283 GB, free: 12.07 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.1577, allocations: 0 / 0.8283 GB, free: 12.07 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1577, allocations: 17.84 kB / 0.8283 GB, free: 12.04 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001372/0.1579, allocations: 322.8 kB / 0.8286 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.1579, allocations: 4 kB / 0.8286 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.1579, allocations: 21.66 kB / 0.8286 GB, free: 11.69 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.1579, allocations: 17.7 kB / 0.8287 GB, free: 11.66 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1579, allocations: 0 / 0.8287 GB, free: 11.66 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 8.119e-05/0.158, allocations: 53.59 kB / 0.8287 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.158, allocations: 8 kB / 0.8287 GB, free: 11.6 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.158, allocations: 0 / 0.8287 GB, free: 11.6 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.158, allocations: 0 / 0.8287 GB, free: 11.6 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.1581, allocations: 7.984 kB / 0.8287 GB, free: 11.59 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1581, allocations: 4 kB / 0.8287 GB, free: 11.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.1581, allocations: 0 / 0.8287 GB, free: 11.59 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1581, allocations: 3.938 kB / 0.8287 GB, free: 11.58 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (3):
 * Single equations (assignments): 3
 * 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.112e-05/0.1582, allocations: 122.4 kB / 0.8288 GB, free: 11.45 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.1582, allocations: 4.062 kB / 0.8289 GB, free: 11.45 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1584, allocations: 120.9 kB / 0.829 GB, free: 11.32 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.927e-05/0.1584, allocations: 176.3 kB / 0.8291 GB, free: 11.14 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-05/0.1585, allocations: 184.2 kB / 0.8293 GB, free: 10.96 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-05/0.1586, allocations: 180.3 kB / 0.8295 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.1588, allocations: 380.2 kB / 0.8298 GB, free: 10.35 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.443e-05/0.1589, allocations: 108.9 kB / 0.8299 GB, free: 10.24 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.1589, allocations: 105 kB / 0.83 GB, free: 10.13 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.082e-05/0.159, allocations: 180.2 kB / 0.8302 GB, free: 9.945 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/0.1591, allocations: 180.3 kB / 0.8304 GB, free: 9.762 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.719e-05/0.1592, allocations: 180.3 kB / 0.8306 GB, free: 9.578 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.8e-05/0.1592, allocations: 184.2 kB / 0.8307 GB, free: 9.391 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.1594, allocations: 311.7 kB / 0.831 GB, free: 9.062 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.1595, allocations: 112.9 kB / 0.8311 GB, free: 8.945 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.1596, allocations: 176.3 kB / 0.8313 GB, free: 8.766 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.1598, allocations: 120.9 kB / 0.8314 GB, free: 8.641 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.1599, allocations: 176.3 kB / 0.8316 GB, free: 8.461 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.1599, allocations: 104.9 kB / 0.8317 GB, free: 8.352 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.316e-05/0.16, allocations: 83.27 kB / 0.8318 GB, free: 8.27 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.16, allocations: 0 / 0.8318 GB, free: 8.27 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002364/0.1602, allocations: 19.94 kB / 0.8318 GB, free: 8.25 MB / 0.5762 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 (0):
 * Single equations (assignments): 0
 * 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.0002656/0.1605, allocations: 206.4 kB / 0.832 GB, free: 8.039 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 7.035e-05/0.1605, allocations: 8 kB / 0.832 GB, free: 8.031 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1605, allocations: 0 / 0.832 GB, free: 8.031 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.1605, allocations: 3.938 kB / 0.832 GB, free: 8.027 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1609, allocations: 466.2 kB / 0.8324 GB, free: 7.57 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.1612, allocations: 174.1 kB / 0.8326 GB, free: 7.375 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1615, allocations: 0.6768 MB / 0.8333 GB, free: 6.672 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.537e-05/0.1615, allocations: 4 kB / 0.8333 GB, free: 6.668 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.692e-05/0.1616, allocations: 7.438 kB / 0.8333 GB, free: 6.66 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.81e-07/0.1616, allocations: 0 / 0.8333 GB, free: 6.66 MB / 0.5762 GB
Notification: Performance of Templates: time 0.00302/0.1646, allocations: 0.6637 MB / 0.8339 GB, free: 6.008 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.701676129363477]
Failed to read output from testmodel.py, exit status != 0:
0.17212893720716238 0.18662245200000002 0.02776696
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4d310017b0>