Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001578/0.001578, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001805/0.001805, allocations: 190.8 kB / 22.23 MB, free: 5.227 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.382/1.382, 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/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.00243/0.00243, allocations: 292.5 kB / 306.5 MB, free: 8.406 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.211/1.211, allocations: 180.9 MB / 0.53 GB, free: 14.36 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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater")
translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 98.66 kB / 0.7308 GB, free: 38.96 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1469, allocations: 94.21 MB / 0.8228 GB, free: 1.805 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002665/0.1496, allocations: 1.391 MB / 0.8242 GB, free: 412 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.004074/0.1537, allocations: 2.961 MB / 0.8271 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.1537, allocations: 0 / 0.8271 GB, free: 13.42 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 7.3e-05/0.1538, allocations: 7.922 kB / 0.8271 GB, free: 13.41 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.1539, allocations: 39.83 kB / 0.8271 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006743/0.1546, allocations: 187.1 kB / 0.8273 GB, free: 13.19 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1549, allocations: 247.5 kB / 0.8275 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.1549, allocations: 8 kB / 0.8275 GB, free: 12.94 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1551, allocations: 99.8 kB / 0.8276 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1552, allocations: 119.8 kB / 0.8278 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1553, allocations: 12 kB / 0.8278 GB, free: 12.71 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000422/0.1557, allocations: 147.8 kB / 0.8279 GB, free: 12.57 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1558, allocations: 91.77 kB / 0.828 GB, free: 12.48 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1559, allocations: 91.64 kB / 0.8281 GB, free: 12.39 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.1563, allocations: 279 kB / 0.8283 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1563, allocations: 0 / 0.8283 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.292e-06/0.1563, allocations: 0 / 0.8283 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.15e-05/0.1563, allocations: 4 kB / 0.8284 GB, free: 12.11 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: 37
 * Number of variables: 37
Notification: Performance of Generate backend data structure: time 0.0008206/0.1572, allocations: 469.1 kB / 0.8288 GB, free: 11.62 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1572, allocations: 12.03 kB / 0.8288 GB, free: 11.61 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1573, allocations: 16.84 kB / 0.8288 GB, free: 11.6 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1576, allocations: 182.2 kB / 0.829 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.1576, allocations: 32.3 kB / 0.829 GB, free: 11.36 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.1577, allocations: 16.38 kB / 0.829 GB, free: 11.35 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.1583, allocations: 293.6 kB / 0.8293 GB, free: 11.05 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1583, allocations: 0 / 0.8293 GB, free: 11.05 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1583, allocations: 4 kB / 0.8293 GB, free: 11.05 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1583, allocations: 8 kB / 0.8293 GB, free: 11.04 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.1598, allocations: 0.7491 MB / 0.8301 GB, free: 10.29 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1602, allocations: 284.4 kB / 0.8303 GB, free: 9.973 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.1618, allocations: 0.6412 MB / 0.831 GB, free: 9.32 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.1623, allocations: 217.3 kB / 0.8312 GB, free: 9.105 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.1626, allocations: 91.66 kB / 0.8313 GB, free: 9.016 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1626, allocations: 34.5 kB / 0.8313 GB, free: 8.973 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=37): time 3.296e-06/0.1626, allocations: 4 kB / 0.8313 GB, free: 8.969 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=37): time 0.001587/0.1642, allocations: 0.6461 MB / 0.8319 GB, free: 8.316 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.1643, allocations: 59.16 kB / 0.832 GB, free: 8.246 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1644, allocations: 126.1 kB / 0.8321 GB, free: 8.113 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1645, allocations: 33.7 kB / 0.8321 GB, free: 8.074 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.1645, allocations: 84.8 kB / 0.8322 GB, free: 7.988 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1647, allocations: 138.8 kB / 0.8324 GB, free: 7.852 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1648, allocations: 65.69 kB / 0.8324 GB, free: 7.781 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001476/0.1649, allocations: 330.8 kB / 0.8327 GB, free: 7.449 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.1654, allocations: 191.8 kB / 0.8329 GB, free: 7.262 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00045/0.1658, allocations: 203.9 kB / 0.8331 GB, free: 7.062 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.1666, allocations: 356.9 kB / 0.8334 GB, free: 6.711 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1666, allocations: 0 / 0.8334 GB, free: 6.711 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.001021/0.1677, allocations: 472.6 kB / 0.8339 GB, free: 6.242 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.1677, allocations: 4 kB / 0.8339 GB, free: 6.238 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1677, allocations: 0 / 0.8339 GB, free: 6.238 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.1677, allocations: 11.94 kB / 0.8339 GB, free: 6.227 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/0.1681, allocations: 99.84 kB / 0.834 GB, free: 6.129 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1681, allocations: 0 / 0.834 GB, free: 6.129 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.1682, allocations: 47.81 kB / 0.8341 GB, free: 6.082 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.1683, allocations: 15.98 kB / 0.8341 GB, free: 6.066 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (37):
 * Single equations (assignments): 37
 * 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 0.000152/0.1684, allocations: 146.3 kB / 0.8342 GB, free: 5.914 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1685, allocations: 23.84 kB / 0.8342 GB, free: 5.891 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1696, allocations: 0.5056 MB / 0.8347 GB, free: 5.387 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1696, allocations: 8 kB / 0.8347 GB, free: 5.379 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1696, allocations: 0 / 0.8347 GB, free: 5.379 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1696, allocations: 3.984 kB / 0.8347 GB, free: 5.375 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.17, allocations: 292.4 kB / 0.835 GB, free: 5.047 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.17, allocations: 3.938 kB / 0.835 GB, free: 5.043 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.1703, allocations: 95.8 kB / 0.8351 GB, free: 4.949 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1704, allocations: 0 / 0.8351 GB, free: 4.949 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.1704, allocations: 15.98 kB / 0.8351 GB, free: 4.934 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1704, allocations: 8 kB / 0.8351 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1704, allocations: 0 / 0.8351 GB, free: 4.926 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1714, allocations: 0.4965 MB / 0.8356 GB, free: 4.41 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.1715, allocations: 27.77 kB / 0.8356 GB, free: 4.383 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.1715, allocations: 4 kB / 0.8356 GB, free: 4.379 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.1717, allocations: 35.95 kB / 0.8357 GB, free: 4.344 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.1719, allocations: 115.8 kB / 0.8358 GB, free: 4.23 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.172, allocations: 19.98 kB / 0.8358 GB, free: 4.211 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 6.85e-05/0.172, allocations: 95.27 kB / 0.8359 GB, free: 4.117 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.172, allocations: 4 kB / 0.8359 GB, free: 4.113 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003765/0.1724, allocations: 119.7 kB / 0.836 GB, free: 3.996 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 (37):
 * Single equations (assignments): 37
 * 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.0003429/0.1727, allocations: 194.8 kB / 0.8362 GB, free: 3.797 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001092/0.1738, allocations: 451.3 kB / 0.8366 GB, free: 3.355 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1738, allocations: 0 / 0.8366 GB, free: 3.355 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.1743, allocations: 244.6 kB / 0.8369 GB, free: 3.117 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1747, allocations: 75.92 kB / 0.8369 GB, free: 3.043 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.1755, allocations: 439.9 kB / 0.8374 GB, free: 2.582 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1759, allocations: 0.7289 MB / 0.8381 GB, free: 1.828 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0004204/0.1763, allocations: 188 kB / 0.8383 GB, free: 1.672 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1764, allocations: 43.41 kB / 0.8383 GB, free: 1.629 MB / 0.5762 GB
Notification: Performance of SimCode: time 6.21e-07/0.1764, allocations: 0 / 0.8383 GB, free: 1.629 MB / 0.5762 GB
Notification: Performance of Templates: time 0.01045/0.1868, allocations: 5.543 MB / 0.8437 GB, free: 12.16 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.022096023894846]
Failed to read output from testmodel.py, exit status != 0:
0.19459598790854216 0.20976670199999994 0.050355608
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7feac24f57b0>