Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001697/0.001697, 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.001511/0.001511, allocations: 190.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.4/1.4, allocations: 225.6 MB / 251 MB, free: 13.01 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.002478/0.002478, allocations: 296 kB / 306.6 MB, free: 8.328 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.238/1.238, allocations: 180.9 MB / 0.53 GB, free: 14.55 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion")
translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002751/0.002751, allocations: 102.8 kB / 0.7308 GB, free: 38.86 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1738, allocations: 94.2 MB / 0.8228 GB, free: 1.852 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005039/0.1788, allocations: 3.331 MB / 0.8261 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.000113/0.1789, allocations: 59.84 kB / 0.8261 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.179, allocations: 0 / 0.8261 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 9.089e-05/0.179, allocations: 4 kB / 0.8261 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 6.986e-05/0.1791, allocations: 11.91 kB / 0.8262 GB, free: 14.42 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.1797, allocations: 199.2 kB / 0.8263 GB, free: 14.23 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.1797, allocations: 35.78 kB / 0.8264 GB, free: 14.19 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.1798, allocations: 7.984 kB / 0.8264 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.717e-05/0.1798, allocations: 12 kB / 0.8264 GB, free: 14.17 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1799, allocations: 15.97 kB / 0.8264 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.1799, allocations: 0 / 0.8264 GB, free: 14.16 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.1803, allocations: 183.5 kB / 0.8266 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.1803, allocations: 19.91 kB / 0.8266 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.1803, allocations: 4 kB / 0.8266 GB, free: 13.95 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1806, allocations: 139.6 kB / 0.8267 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1806, allocations: 4 kB / 0.8268 GB, free: 13.81 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.213e-06/0.1806, allocations: 0 / 0.8268 GB, free: 13.81 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 4.809e-06/0.1806, allocations: 0 / 0.8268 GB, free: 13.81 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.0003841/0.181, allocations: 274.2 kB / 0.827 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1811, allocations: 8.031 kB / 0.827 GB, free: 13.51 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.1811, allocations: 0.9375 kB / 0.827 GB, free: 13.51 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1813, allocations: 110.5 kB / 0.8271 GB, free: 13.38 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.1813, allocations: 26.27 kB / 0.8272 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.1813, allocations: 4.375 kB / 0.8272 GB, free: 13.34 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1814, allocations: 53.56 kB / 0.8272 GB, free: 13.28 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1814, allocations: 0 / 0.8272 GB, free: 13.28 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1815, allocations: 0 / 0.8272 GB, free: 13.28 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.1815, allocations: 0 / 0.8272 GB, free: 13.28 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.1815, allocations: 15.98 kB / 0.8272 GB, free: 13.27 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.182, allocations: 263.9 kB / 0.8275 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.182, allocations: 30.44 kB / 0.8275 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.1821, allocations: 8.859 kB / 0.8275 GB, free: 12.91 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.801e-05/0.1822, allocations: 36.03 kB / 0.8275 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.1822, allocations: 30.56 kB / 0.8276 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1822, allocations: 0 / 0.8276 GB, free: 12.84 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001343/0.1823, allocations: 37.7 kB / 0.8276 GB, free: 12.8 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1824, allocations: 51.41 kB / 0.8277 GB, free: 12.73 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.1825, allocations: 113.9 kB / 0.8278 GB, free: 12.61 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1825, allocations: 29.64 kB / 0.8278 GB, free: 12.58 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.1825, allocations: 84.09 kB / 0.8279 GB, free: 12.49 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.1825, allocations: 3.938 kB / 0.8279 GB, free: 12.49 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1826, allocations: 21.7 kB / 0.8279 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001344/0.1827, allocations: 314.8 kB / 0.8282 GB, free: 12.14 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.1827, allocations: 4 kB / 0.8282 GB, free: 12.14 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.1828, allocations: 17.72 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.1828, allocations: 25.7 kB / 0.8282 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1828, allocations: 0 / 0.8282 GB, free: 12.09 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.000147/0.1829, allocations: 49.59 kB / 0.8283 GB, free: 12.03 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.183, allocations: 7.984 kB / 0.8283 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.183, allocations: 11.98 kB / 0.8283 GB, free: 12.01 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.183, allocations: 0 / 0.8283 GB, free: 12.01 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.183, allocations: 8.062 kB / 0.8283 GB, free: 12 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.183, allocations: 0 / 0.8283 GB, free: 12 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.183, allocations: 0 / 0.8283 GB, free: 12 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1831, allocations: 4 kB / 0.8283 GB, free: 12 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.375e-05/0.1831, allocations: 110.4 kB / 0.8284 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1832, allocations: 8.281 kB / 0.8284 GB, free: 11.88 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.1833, allocations: 120.9 kB / 0.8286 GB, free: 11.75 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00014/0.1834, allocations: 184.2 kB / 0.8287 GB, free: 11.56 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.75e-05/0.1835, allocations: 180.2 kB / 0.8289 GB, free: 11.38 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.719e-05/0.1836, allocations: 184.3 kB / 0.8291 GB, free: 11.19 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1839, allocations: 380.2 kB / 0.8294 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/0.1839, allocations: 105.1 kB / 0.8295 GB, free: 10.66 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/0.184, allocations: 112.9 kB / 0.8296 GB, free: 10.54 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.184, allocations: 188.2 kB / 0.8298 GB, free: 10.35 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.1841, allocations: 176.3 kB / 0.83 GB, free: 10.17 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.752e-05/0.1842, allocations: 180.2 kB / 0.8302 GB, free: 9.984 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001463/0.1843, allocations: 180.3 kB / 0.8303 GB, free: 9.801 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1845, allocations: 315.7 kB / 0.8306 GB, free: 9.469 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1846, allocations: 104.9 kB / 0.8307 GB, free: 9.359 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/0.1847, allocations: 184.2 kB / 0.8309 GB, free: 9.172 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1848, allocations: 105 kB / 0.831 GB, free: 9.062 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.1849, allocations: 184.2 kB / 0.8312 GB, free: 8.875 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.185, allocations: 109 kB / 0.8313 GB, free: 8.762 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.299e-05/0.185, allocations: 83.27 kB / 0.8314 GB, free: 8.68 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.185, allocations: 0 / 0.8314 GB, free: 8.68 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0002886/0.1853, allocations: 35.88 kB / 0.8314 GB, free: 8.645 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.0002832/0.1856, allocations: 230.3 kB / 0.8316 GB, free: 8.406 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 7.971e-05/0.1857, allocations: 19.92 kB / 0.8316 GB, free: 8.387 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1857, allocations: 3.938 kB / 0.8316 GB, free: 8.383 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1857, allocations: 0 / 0.8316 GB, free: 8.383 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.1862, allocations: 468.7 kB / 0.8321 GB, free: 7.922 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.1865, allocations: 186.1 kB / 0.8323 GB, free: 7.715 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.1868, allocations: 0.669 MB / 0.8329 GB, free: 7.02 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 4.116e-05/0.1869, allocations: 12.77 kB / 0.8329 GB, free: 7.008 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.1869, allocations: 7.438 kB / 0.8329 GB, free: 7 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.1869, allocations: 4 kB / 0.833 GB, free: 6.996 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003904/0.1908, allocations: 1.222 MB / 0.8341 GB, free: 5.828 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.897821333259344]
Failed to read output from testmodel.py, exit status != 0:
0.19825672823935747 0.21392727499999994 0.030275563000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5b6ea757b0>