Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.001522/0.001522, allocations: 112.7 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.001383/0.001383, allocations: 190.1 kB / 22.23 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.371/1.371, allocations: 225.6 MB / 251 MB, free: 13.05 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.002461/0.002461, allocations: 284.4 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.185/1.185, allocations: 180.9 MB / 0.53 GB, free: 14.7 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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties")
translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 98.28 kB / 0.7309 GB, free: 38.8 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1556, allocations: 94.19 MB / 0.8229 GB, free: 2.031 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005957/0.1616, allocations: 4.094 MB / 0.8269 GB, free: 13.91 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.003089/0.1647, allocations: 2.457 MB / 0.8293 GB, free: 11.44 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.1648, allocations: 0 / 0.8293 GB, free: 11.44 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.165, allocations: 47.67 kB / 0.8293 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1653, allocations: 103.4 kB / 0.8294 GB, free: 11.29 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1667, allocations: 0.5338 MB / 0.8299 GB, free: 10.76 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1671, allocations: 271.8 kB / 0.8302 GB, free: 10.5 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1671, allocations: 17.72 kB / 0.8302 GB, free: 10.48 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1673, allocations: 107.6 kB / 0.8303 GB, free: 10.38 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1675, allocations: 103.6 kB / 0.8304 GB, free: 10.27 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.1675, allocations: 8 kB / 0.8304 GB, free: 10.27 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008617/0.1684, allocations: 471.2 kB / 0.8309 GB, free: 9.805 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.1684, allocations: 43.83 kB / 0.8309 GB, free: 9.762 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1685, allocations: 79.66 kB / 0.831 GB, free: 9.684 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.1692, allocations: 414.7 kB / 0.8314 GB, free: 9.277 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1692, allocations: 0 / 0.8314 GB, free: 9.277 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.653e-06/0.1692, allocations: 7.938 kB / 0.8314 GB, free: 9.27 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.531e-06/0.1692, allocations: 0 / 0.8314 GB, free: 9.27 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.000768/0.17, allocations: 449.3 kB / 0.8318 GB, free: 8.797 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.17, allocations: 12.56 kB / 0.8318 GB, free: 8.785 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.172, allocations: 176.6 kB / 0.832 GB, free: 8.613 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1723, allocations: 154.4 kB / 0.8322 GB, free: 8.438 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1723, allocations: 12.7 kB / 0.8322 GB, free: 8.426 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.1724, allocations: 12.38 kB / 0.8322 GB, free: 8.414 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.173, allocations: 309.7 kB / 0.8325 GB, free: 8.078 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1731, allocations: 0 / 0.8325 GB, free: 8.078 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.1731, allocations: 8 kB / 0.8325 GB, free: 8.07 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.1731, allocations: 12 kB / 0.8325 GB, free: 8.059 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/0.1738, allocations: 256.1 kB / 0.8327 GB, free: 7.809 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1756, allocations: 1.36 MB / 0.8341 GB, free: 6.34 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.1762, allocations: 190.4 kB / 0.8343 GB, free: 6.145 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1765, allocations: 68.81 kB / 0.8343 GB, free: 6.074 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1765, allocations: 0 / 0.8343 GB, free: 6.074 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.1765, allocations: 38.56 kB / 0.8344 GB, free: 6.027 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=18): time 9.32e-07/0.1765, allocations: 0 / 0.8344 GB, free: 6.027 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=18): time 0.0007978/0.1773, allocations: 250.6 kB / 0.8346 GB, free: 5.777 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1774, allocations: 51.41 kB / 0.8346 GB, free: 5.715 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1775, allocations: 158.2 kB / 0.8348 GB, free: 5.551 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1775, allocations: 29.69 kB / 0.8348 GB, free: 5.516 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.1776, allocations: 128.3 kB / 0.8349 GB, free: 5.387 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.1777, allocations: 67.42 kB / 0.835 GB, free: 5.32 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.1778, allocations: 65.75 kB / 0.8351 GB, free: 5.246 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001509/0.1779, allocations: 322.8 kB / 0.8354 GB, free: 4.922 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1781, allocations: 60.42 kB / 0.8354 GB, free: 4.863 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1784, allocations: 139.3 kB / 0.8356 GB, free: 4.695 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004752/0.1789, allocations: 227.5 kB / 0.8358 GB, free: 4.441 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1789, allocations: 0 / 0.8358 GB, free: 4.441 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005814/0.1795, allocations: 249.2 kB / 0.836 GB, free: 4.191 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1795, allocations: 4 kB / 0.836 GB, free: 4.188 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1795, allocations: 4.312 kB / 0.836 GB, free: 4.184 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1795, allocations: 8 kB / 0.836 GB, free: 4.176 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.1799, allocations: 59.89 kB / 0.8361 GB, free: 4.117 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1799, allocations: 11.98 kB / 0.8361 GB, free: 4.105 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1801, allocations: 31.78 kB / 0.8361 GB, free: 4.074 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1802, allocations: 15.98 kB / 0.8362 GB, free: 4.059 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (28):
 * Single equations (assignments): 28
 * 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.0001353/0.1803, allocations: 129.7 kB / 0.8363 GB, free: 3.922 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.1803, allocations: 15.91 kB / 0.8363 GB, free: 3.906 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.181, allocations: 244.4 kB / 0.8365 GB, free: 3.66 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.181, allocations: 4 kB / 0.8365 GB, free: 3.656 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.181, allocations: 0 / 0.8365 GB, free: 3.656 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.181, allocations: 0 / 0.8365 GB, free: 3.656 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.1813, allocations: 216.7 kB / 0.8367 GB, free: 3.402 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1813, allocations: 0 / 0.8367 GB, free: 3.402 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.1816, allocations: 47.91 kB / 0.8368 GB, free: 3.355 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1816, allocations: 0 / 0.8368 GB, free: 3.355 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1816, allocations: 11.98 kB / 0.8368 GB, free: 3.344 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1816, allocations: 4 kB / 0.8368 GB, free: 3.34 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1816, allocations: 0 / 0.8368 GB, free: 3.34 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.1822, allocations: 299.2 kB / 0.8371 GB, free: 3.031 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.1823, allocations: 27.94 kB / 0.8371 GB, free: 3.004 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.1823, allocations: 4 kB / 0.8371 GB, free: 3 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.1826, allocations: 15.98 kB / 0.8371 GB, free: 2.984 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.1826, allocations: 15.97 kB / 0.8371 GB, free: 2.969 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.1827, allocations: 11.98 kB / 0.8372 GB, free: 2.957 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0001054/0.1828, allocations: 115.7 kB / 0.8373 GB, free: 2.848 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1e-07/0.1828, allocations: 0 / 0.8373 GB, free: 2.848 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003622/0.1831, allocations: 67.92 kB / 0.8373 GB, free: 2.781 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 (20):
 * Single equations (assignments): 20
 * 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.0002127/0.1833, allocations: 138.2 kB / 0.8375 GB, free: 2.641 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0005309/0.1839, allocations: 181.9 kB / 0.8376 GB, free: 2.465 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1839, allocations: 0 / 0.8376 GB, free: 2.465 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.1841, allocations: 83.88 kB / 0.8377 GB, free: 2.383 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.1846, allocations: 70.8 kB / 0.8378 GB, free: 2.316 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009799/0.1855, allocations: 408.4 kB / 0.8382 GB, free: 1.891 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1859, allocations: 0.7211 MB / 0.8389 GB, free: 1.145 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0002493/0.1862, allocations: 53.92 kB / 0.8389 GB, free: 1.09 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.753e-05/0.1862, allocations: 27.42 kB / 0.839 GB, free: 1.062 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.1862, allocations: 0 / 0.839 GB, free: 1.062 MB / 0.5762 GB
Notification: Performance of Templates: time 0.007848/0.1941, allocations: 3.558 MB / 0.8424 GB, free: 13.58 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.952353370375931]
Failed to read output from testmodel.py, exit status != 0:
0.20149063132703304 0.217543436 0.045058004000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f55b677d7b0>