Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.0013/0.0013, allocations: 113.9 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.001271/0.001271, allocations: 189.5 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.332/1.332, 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.002434/0.002434, allocations: 296.4 kB / 306.6 MB, free: 8.312 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.19/1.19, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties")
translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002739/0.002739, allocations: 101.6 kB / 0.7309 GB, free: 38.99 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1635, allocations: 94.2 MB / 0.8229 GB, free: 1.711 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006536/0.17, allocations: 4.478 MB / 0.8272 GB, free: 13.2 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.003188/0.1732, allocations: 2.722 MB / 0.8299 GB, free: 10.47 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1733, allocations: 0 / 0.8299 GB, free: 10.47 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.1736, allocations: 51.67 kB / 0.8299 GB, free: 10.42 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.1739, allocations: 83.44 kB / 0.83 GB, free: 10.34 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.1752, allocations: 0.5083 MB / 0.8305 GB, free: 9.832 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0003283/0.1755, allocations: 235.9 kB / 0.8308 GB, free: 9.602 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1756, allocations: 17.73 kB / 0.8308 GB, free: 9.586 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.1767, allocations: 0.4899 MB / 0.8312 GB, free: 9.098 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.1768, allocations: 91.66 kB / 0.8313 GB, free: 9.008 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.1768, allocations: 4 kB / 0.8313 GB, free: 9.004 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.178, allocations: 0.5419 MB / 0.8319 GB, free: 8.461 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 7.079e-05/0.178, allocations: 39.83 kB / 0.8319 GB, free: 8.422 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 8.571e-05/0.1781, allocations: 75.66 kB / 0.832 GB, free: 8.348 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005572/0.1787, allocations: 354.9 kB / 0.8323 GB, free: 8 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1787, allocations: 0 / 0.8323 GB, free: 8 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.332e-06/0.1787, allocations: 3.938 kB / 0.8323 GB, free: 7.996 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 6.031e-06/0.1787, allocations: 4 kB / 0.8323 GB, free: 7.992 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: 39
 * Number of variables: 39
Notification: Performance of Generate backend data structure: time 0.0007075/0.1794, allocations: 441.4 kB / 0.8327 GB, free: 7.527 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1794, allocations: 8.031 kB / 0.8328 GB, free: 7.52 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1796, allocations: 24.8 kB / 0.8328 GB, free: 7.496 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1798, allocations: 150.3 kB / 0.8329 GB, free: 7.324 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1799, allocations: 16.64 kB / 0.8329 GB, free: 7.309 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1799, allocations: 20.38 kB / 0.833 GB, free: 7.289 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.1803, allocations: 262.4 kB / 0.8332 GB, free: 7.012 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1803, allocations: 0 / 0.8332 GB, free: 7.012 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.1803, allocations: 11.94 kB / 0.8332 GB, free: 7 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.1803, allocations: 4 kB / 0.8332 GB, free: 6.996 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.1809, allocations: 447.5 kB / 0.8336 GB, free: 6.559 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.182, allocations: 0.9756 MB / 0.8346 GB, free: 5.496 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1823, allocations: 147 kB / 0.8347 GB, free: 5.344 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1824, allocations: 64.81 kB / 0.8348 GB, free: 5.277 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/0.1831, allocations: 463.9 kB / 0.8352 GB, free: 4.805 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.1831, allocations: 38.55 kB / 0.8353 GB, free: 4.758 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.1831, allocations: 0 / 0.8353 GB, free: 4.758 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=15): time 0.0003323/0.1835, allocations: 152.9 kB / 0.8354 GB, free: 4.605 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1835, allocations: 59.28 kB / 0.8355 GB, free: 4.535 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1837, allocations: 168.2 kB / 0.8356 GB, free: 4.355 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1837, allocations: 29.7 kB / 0.8357 GB, free: 4.32 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.1838, allocations: 140.1 kB / 0.8358 GB, free: 4.18 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.1838, allocations: 59.48 kB / 0.8359 GB, free: 4.121 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.1839, allocations: 53.7 kB / 0.8359 GB, free: 4.062 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001302/0.184, allocations: 318.8 kB / 0.8362 GB, free: 3.742 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.974e-05/0.1841, allocations: 43.97 kB / 0.8363 GB, free: 3.699 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1843, allocations: 138.2 kB / 0.8364 GB, free: 3.516 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1845, allocations: 197.4 kB / 0.8366 GB, free: 3.273 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.1845, allocations: 12 kB / 0.8366 GB, free: 3.262 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003218/0.1848, allocations: 213.2 kB / 0.8368 GB, free: 3.047 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1848, allocations: 8 kB / 0.8368 GB, free: 3.039 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1849, allocations: 4.469 kB / 0.8368 GB, free: 3.035 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1849, allocations: 8 kB / 0.8368 GB, free: 3.027 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.185, allocations: 55.86 kB / 0.8369 GB, free: 2.973 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.1851, allocations: 15.92 kB / 0.8369 GB, free: 2.957 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1852, allocations: 31.77 kB / 0.8369 GB, free: 2.926 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1852, allocations: 8 kB / 0.8369 GB, free: 2.918 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (30):
 * Single equations (assignments): 29
 * Array equations: 1
 * 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.0001132/0.1853, allocations: 138.4 kB / 0.8371 GB, free: 2.773 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.1853, allocations: 15.91 kB / 0.8371 GB, free: 2.758 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1856, allocations: 154.4 kB / 0.8372 GB, free: 2.605 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.1857, allocations: 7.938 kB / 0.8372 GB, free: 2.598 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1857, allocations: 7.938 kB / 0.8372 GB, free: 2.59 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1857, allocations: 0 / 0.8372 GB, free: 2.59 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1859, allocations: 188.6 kB / 0.8374 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1859, allocations: 0 / 0.8374 GB, free: 2.363 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.186, allocations: 27.92 kB / 0.8374 GB, free: 2.336 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.186, allocations: 0 / 0.8374 GB, free: 2.336 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.186, allocations: 8 kB / 0.8374 GB, free: 2.328 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.186, allocations: 3.938 kB / 0.8374 GB, free: 2.324 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.186, allocations: 0 / 0.8374 GB, free: 2.324 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1862, allocations: 223.4 kB / 0.8377 GB, free: 2.09 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1863, allocations: 27.88 kB / 0.8377 GB, free: 2.062 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1863, allocations: 4 kB / 0.8377 GB, free: 2.059 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1865, allocations: 19.92 kB / 0.8377 GB, free: 2.039 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.1865, allocations: 11.92 kB / 0.8377 GB, free: 2.027 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1865, allocations: 11.98 kB / 0.8377 GB, free: 2.016 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 8.799e-05/0.1866, allocations: 122.1 kB / 0.8378 GB, free: 1.898 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.1866, allocations: 0 / 0.8378 GB, free: 1.898 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003485/0.187, allocations: 87.8 kB / 0.8379 GB, free: 1.812 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 (15):
 * Single equations (assignments): 14
 * Array equations: 1
 * 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.0002734/0.1873, allocations: 171 kB / 0.8381 GB, free: 1.633 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0002342/0.1875, allocations: 120.6 kB / 0.8382 GB, free: 1.516 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1875, allocations: 0 / 0.8382 GB, free: 1.516 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.1876, allocations: 39.92 kB / 0.8382 GB, free: 1.477 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.188, allocations: 51.97 kB / 0.8383 GB, free: 1.43 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006826/0.1886, allocations: 352.1 kB / 0.8386 GB, free: 1.059 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.189, allocations: 0.7168 MB / 0.8393 GB, free: 324 kB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0001334/0.1891, allocations: 49.61 kB / 0.8394 GB, free: 276 kB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1892, allocations: 27.44 kB / 0.8394 GB, free: 248 kB / 0.5762 GB
Notification: Performance of SimCode: time 3.21e-07/0.1892, allocations: 4 kB / 0.8394 GB, free: 244 kB / 0.5762 GB
Notification: Performance of Templates: time 0.007355/0.1965, allocations: 3.48 MB / 0.8428 GB, free: 12.79 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.892401782795787]
Failed to read output from testmodel.py, exit status != 0:
0.20383091270923615 0.21938630099999995 0.037697451
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb0403157b0>