Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 65.86 kB / 0.5578 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1465, allocations: 76.18 MB / 0.6321 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005763/0.1523, allocations: 4.042 MB / 0.6361 GB, free: 392 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.1549, allocations: 2.422 MB / 0.6385 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.155, allocations: 7.938 kB / 0.6385 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.1553, allocations: 51.66 kB / 0.6385 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1556, allocations: 91.42 kB / 0.6386 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1567, allocations: 0.5126 MB / 0.6391 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.157, allocations: 263.8 kB / 0.6394 GB, free: 13.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.157, allocations: 17.55 kB / 0.6394 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1572, allocations: 119.6 kB / 0.6395 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1574, allocations: 95.59 kB / 0.6396 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1574, allocations: 8 kB / 0.6396 GB, free: 12.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.1581, allocations: 451.3 kB / 0.64 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.1582, allocations: 39.83 kB / 0.6401 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.1583, allocations: 87.64 kB / 0.6401 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.1588, allocations: 414.9 kB / 0.6405 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1589, allocations: 4 kB / 0.6405 GB, free: 11.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1589, allocations: 0 / 0.6405 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1589, allocations: 0 / 0.6405 GB, free: 11.82 MB / 494.1 MB 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.0007226/0.1596, allocations: 0.4992 MB / 0.641 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1597, allocations: 8.031 kB / 0.641 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.1615, allocations: 180.5 kB / 0.6412 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1618, allocations: 212.1 kB / 0.6414 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.1618, allocations: 12.7 kB / 0.6414 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1619, allocations: 12.38 kB / 0.6414 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.1625, allocations: 304.4 kB / 0.6417 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1625, allocations: 3.938 kB / 0.6417 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.1626, allocations: 8 kB / 0.6417 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1626, allocations: 8 kB / 0.6417 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006519/0.1632, allocations: 259.6 kB / 0.642 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.1647, allocations: 1.4 MB / 0.6434 GB, free: 8.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.1654, allocations: 194.5 kB / 0.6435 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1656, allocations: 76.81 kB / 0.6436 GB, free: 8.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1656, allocations: 4 kB / 0.6436 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1656, allocations: 34.56 kB / 0.6436 GB, free: 8.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.1657, allocations: 0 / 0.6436 GB, free: 8.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007417/0.1664, allocations: 250.9 kB / 0.6439 GB, free: 8.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1664, allocations: 51.41 kB / 0.6439 GB, free: 8.059 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1666, allocations: 160 kB / 0.6441 GB, free: 7.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1666, allocations: 33.7 kB / 0.6441 GB, free: 7.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.1667, allocations: 132 kB / 0.6442 GB, free: 7.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1667, allocations: 59.09 kB / 0.6443 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.1668, allocations: 61.92 kB / 0.6444 GB, free: 7.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1669, allocations: 322.8 kB / 0.6447 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1672, allocations: 64.36 kB / 0.6447 GB, free: 7.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.1674, allocations: 143.9 kB / 0.6449 GB, free: 7.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.1679, allocations: 222.7 kB / 0.6451 GB, free: 6.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1679, allocations: 4 kB / 0.6451 GB, free: 6.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005504/0.1684, allocations: 249.1 kB / 0.6453 GB, free: 6.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1684, allocations: 4.312 kB / 0.6453 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1685, allocations: 8 kB / 0.6453 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1685, allocations: 4 kB / 0.6453 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.1688, allocations: 63.89 kB / 0.6454 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1688, allocations: 4 kB / 0.6454 GB, free: 6.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1691, allocations: 31.73 kB / 0.6454 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1691, allocations: 11.98 kB / 0.6454 GB, free: 6.406 MB / 494.1 MB 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.0001184/0.1692, allocations: 133.7 kB / 0.6456 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.1693, allocations: 15.91 kB / 0.6456 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.1699, allocations: 228.6 kB / 0.6458 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1699, allocations: 4 kB / 0.6458 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1699, allocations: 3.984 kB / 0.6458 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1699, allocations: 0 / 0.6458 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1702, allocations: 249.3 kB / 0.6461 GB, free: 5.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1702, allocations: 3.938 kB / 0.6461 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.1705, allocations: 43.97 kB / 0.6461 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1705, allocations: 4 kB / 0.6461 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1705, allocations: 8 kB / 0.6461 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1705, allocations: 11.97 kB / 0.6461 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1705, allocations: 0 / 0.6461 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.1711, allocations: 295.1 kB / 0.6464 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/0.1712, allocations: 104.9 kB / 0.6465 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1712, allocations: 11.94 kB / 0.6465 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.1715, allocations: 15.98 kB / 0.6465 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.1715, allocations: 7.984 kB / 0.6465 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.1715, allocations: 15.98 kB / 0.6465 GB, free: 5.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.1716, allocations: 113.3 kB / 0.6467 GB, free: 5.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1716, allocations: 0 / 0.6467 GB, free: 5.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1719, allocations: 63.94 kB / 0.6467 GB, free: 4.996 MB / 494.1 MB 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.0001913/0.1721, allocations: 137.8 kB / 0.6469 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.1726, allocations: 186.3 kB / 0.647 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1727, allocations: 0 / 0.647 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.1729, allocations: 90.28 kB / 0.6471 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1733, allocations: 60.52 kB / 0.6472 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.1742, allocations: 407.3 kB / 0.6476 GB, free: 4.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1744, allocations: 0.7173 MB / 0.6483 GB, free: 3.363 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.1747, allocations: 49.94 kB / 0.6483 GB, free: 3.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.1748, allocations: 23.42 kB / 0.6483 GB, free: 3.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1748, allocations: 3.938 kB / 0.6483 GB, free: 3.285 MB / 494.1 MB Notification: Performance of Templates: time 0.006297/0.1811, allocations: 3.415 MB / 0.6517 GB, free: 15.92 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)