Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 118.8 kB / 17.09 MB, free: 5.996 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.001166/0.001166, allocations: 189.8 kB / 18.01 MB, free: 5.082 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8099/0.8099, allocations: 115.3 MB / 407.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 66.23 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1533, allocations: 76.18 MB / 0.6328 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005733/0.1591, allocations: 4.709 MB / 0.6374 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.1618, allocations: 2.699 MB / 0.64 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.1619, allocations: 0 / 0.64 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.1621, allocations: 43.69 kB / 0.64 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1624, allocations: 103.3 kB / 0.6401 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.1635, allocations: 0.5049 MB / 0.6406 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1638, allocations: 224 kB / 0.6408 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1638, allocations: 9.562 kB / 0.6409 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.164, allocations: 119.5 kB / 0.641 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.1642, allocations: 99.58 kB / 0.6411 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1642, allocations: 8 kB / 0.6411 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006368/0.1648, allocations: 363.4 kB / 0.6414 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.1649, allocations: 35.89 kB / 0.6415 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.923e-05/0.165, allocations: 83.64 kB / 0.6415 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.1655, allocations: 363 kB / 0.6419 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1655, allocations: 4 kB / 0.6419 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1655, allocations: 0 / 0.6419 GB, free: 10.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1656, allocations: 3.938 kB / 0.6419 GB, free: 10.97 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.0006784/0.1662, allocations: 0.4992 MB / 0.6424 GB, free: 10.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1663, allocations: 12.03 kB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.1665, allocations: 20.75 kB / 0.6424 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.1667, allocations: 212.1 kB / 0.6426 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1668, allocations: 12.7 kB / 0.6426 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1668, allocations: 20.38 kB / 0.6426 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.1671, allocations: 244.2 kB / 0.6429 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1672, allocations: 0 / 0.6429 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.1672, allocations: 12 kB / 0.6429 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.1672, allocations: 4 kB / 0.6429 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.1677, allocations: 435.3 kB / 0.6433 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1688, allocations: 0.9565 MB / 0.6442 GB, free: 8.367 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.169, allocations: 163.9 kB / 0.6444 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.12e-05/0.1691, allocations: 56.89 kB / 0.6444 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.1705, allocations: 1.829 MB / 0.6462 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1705, allocations: 38.5 kB / 0.6463 GB, free: 5.906 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1705, allocations: 0 / 0.6463 GB, free: 5.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003026/0.1708, allocations: 141.4 kB / 0.6464 GB, free: 5.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1709, allocations: 59.33 kB / 0.6465 GB, free: 5.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.171, allocations: 165 kB / 0.6466 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.171, allocations: 29.7 kB / 0.6466 GB, free: 5.484 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.1711, allocations: 143.8 kB / 0.6468 GB, free: 5.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1712, allocations: 59.19 kB / 0.6468 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.1713, allocations: 53.61 kB / 0.6469 GB, free: 5.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1714, allocations: 322.8 kB / 0.6472 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1714, allocations: 35.97 kB / 0.6472 GB, free: 4.863 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1716, allocations: 156.8 kB / 0.6474 GB, free: 4.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1718, allocations: 197.5 kB / 0.6476 GB, free: 4.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1718, allocations: 4 kB / 0.6476 GB, free: 4.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003113/0.1722, allocations: 213.2 kB / 0.6478 GB, free: 4.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1722, allocations: 9.875 kB / 0.6478 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1722, allocations: 4 kB / 0.6478 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1722, allocations: 4 kB / 0.6478 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1724, allocations: 55.86 kB / 0.6478 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.1724, allocations: 8 kB / 0.6479 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.1725, allocations: 32.11 kB / 0.6479 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.1726, allocations: 16 kB / 0.6479 GB, free: 4.078 MB / 494.1 MB 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.000101/0.1727, allocations: 133.7 kB / 0.648 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.1727, allocations: 15.81 kB / 0.648 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.173, allocations: 153.7 kB / 0.6482 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.173, allocations: 7.938 kB / 0.6482 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1731, allocations: 0 / 0.6482 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1731, allocations: 3.984 kB / 0.6482 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1733, allocations: 217.5 kB / 0.6484 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1733, allocations: 0 / 0.6484 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.1734, allocations: 27.98 kB / 0.6484 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1734, allocations: 0 / 0.6484 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1734, allocations: 8 kB / 0.6484 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.1734, allocations: 7.875 kB / 0.6485 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1734, allocations: 0 / 0.6485 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1737, allocations: 219.3 kB / 0.6487 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.604e-05/0.1738, allocations: 105 kB / 0.6488 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1738, allocations: 0 / 0.6488 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.174, allocations: 23.92 kB / 0.6488 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.174, allocations: 7.984 kB / 0.6488 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1741, allocations: 15.98 kB / 0.6488 GB, free: 3.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.141e-05/0.1742, allocations: 117.6 kB / 0.6489 GB, free: 2.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1742, allocations: 0 / 0.6489 GB, free: 2.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.1745, allocations: 75.94 kB / 0.649 GB, free: 2.867 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 (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.0002908/0.1748, allocations: 187 kB / 0.6492 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.1751, allocations: 123.7 kB / 0.6493 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1751, allocations: 0.9375 kB / 0.6493 GB, free: 2.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.1752, allocations: 46.36 kB / 0.6493 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1756, allocations: 55.81 kB / 0.6494 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.1763, allocations: 368.7 kB / 0.6497 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1766, allocations: 0.7088 MB / 0.6504 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.1766, allocations: 35.42 kB / 0.6505 GB, free: 1.289 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1767, allocations: 0 / 0.6505 GB, free: 1.289 MB / 494.1 MB Notification: Performance of Templates: time 0.005582/0.1822, allocations: 3.177 MB / 0.6536 GB, free: 14.12 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)