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.001568/0.001568, allocations: 106.7 kB / 16.4 MB, free: 6.445 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.001791/0.001792, allocations: 196 kB / 17.34 MB, free: 5.719 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.477/1.477, allocations: 222.9 MB / 241 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.7988/0.7988, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 62.56 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1537, allocations: 76.18 MB / 0.6321 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006909/0.1607, allocations: 4.706 MB / 0.6367 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.1638, allocations: 2.706 MB / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.164, allocations: 0 / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1643, allocations: 47.67 kB / 0.6394 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.1646, allocations: 99.36 kB / 0.6395 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.166, allocations: 0.5076 MB / 0.64 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.1664, allocations: 231.9 kB / 0.6402 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.1664, allocations: 9.562 kB / 0.6402 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.1666, allocations: 127.5 kB / 0.6403 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1668, allocations: 87.67 kB / 0.6404 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1668, allocations: 8 kB / 0.6404 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007658/0.1676, allocations: 375.3 kB / 0.6408 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.1677, allocations: 35.83 kB / 0.6408 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.303e-05/0.1678, allocations: 79.66 kB / 0.6409 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.1686, allocations: 363 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1686, allocations: 3.984 kB / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1686, allocations: 0 / 0.6412 GB, free: 10.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1686, allocations: 0 / 0.6412 GB, free: 10.96 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.0008269/0.1694, allocations: 0.5032 MB / 0.6417 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1695, allocations: 8.031 kB / 0.6417 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.1697, allocations: 20.75 kB / 0.6418 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.17, allocations: 212.1 kB / 0.642 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.17, allocations: 12.7 kB / 0.642 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1701, allocations: 16.38 kB / 0.642 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.1705, allocations: 248.2 kB / 0.6422 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1705, allocations: 3.984 kB / 0.6422 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1705, allocations: 11.98 kB / 0.6422 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.1706, allocations: 4 kB / 0.6422 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.1711, allocations: 435.3 kB / 0.6427 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.1722, allocations: 0.9487 MB / 0.6436 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1725, allocations: 164.1 kB / 0.6437 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1726, allocations: 68.81 kB / 0.6438 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.174, allocations: 1.825 MB / 0.6456 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.174, allocations: 30.56 kB / 0.6456 GB, free: 5.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.174, allocations: 0 / 0.6456 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003333/0.1744, allocations: 152.4 kB / 0.6458 GB, free: 5.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1744, allocations: 59.28 kB / 0.6458 GB, free: 5.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1746, allocations: 169 kB / 0.646 GB, free: 5.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1746, allocations: 25.7 kB / 0.646 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.1747, allocations: 143.8 kB / 0.6461 GB, free: 5.324 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.1747, allocations: 59.19 kB / 0.6462 GB, free: 5.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.1748, allocations: 53.61 kB / 0.6463 GB, free: 5.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1749, allocations: 322.8 kB / 0.6466 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.175, allocations: 35.97 kB / 0.6466 GB, free: 4.848 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1752, allocations: 146.2 kB / 0.6467 GB, free: 4.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1754, allocations: 205.4 kB / 0.6469 GB, free: 4.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1754, allocations: 4 kB / 0.6469 GB, free: 4.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003415/0.1758, allocations: 207.9 kB / 0.6471 GB, free: 4.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1758, allocations: 8 kB / 0.6471 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1758, allocations: 4 kB / 0.6471 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1759, allocations: 4 kB / 0.6472 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.176, allocations: 51.86 kB / 0.6472 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.1761, allocations: 15.92 kB / 0.6472 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.1762, allocations: 32.09 kB / 0.6472 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1762, allocations: 20 kB / 0.6473 GB, free: 4.062 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.0001199/0.1763, allocations: 129.7 kB / 0.6474 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.1764, allocations: 15.81 kB / 0.6474 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.1767, allocations: 147.1 kB / 0.6475 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.1767, allocations: 7.938 kB / 0.6476 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1767, allocations: 4 kB / 0.6476 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1767, allocations: 0 / 0.6476 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.177, allocations: 217.4 kB / 0.6478 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.177, allocations: 4 kB / 0.6478 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.1771, allocations: 27.94 kB / 0.6478 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1771, allocations: 0 / 0.6478 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1771, allocations: 7.984 kB / 0.6478 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1772, allocations: 3.938 kB / 0.6478 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1772, allocations: 3.984 kB / 0.6478 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1774, allocations: 215.3 kB / 0.648 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.1775, allocations: 112.9 kB / 0.6481 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.1776, allocations: 8 kB / 0.6481 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1778, allocations: 15.92 kB / 0.6481 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.1778, allocations: 11.98 kB / 0.6482 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1778, allocations: 11.98 kB / 0.6482 GB, free: 3.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.1779, allocations: 121.6 kB / 0.6483 GB, free: 2.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1779, allocations: 0 / 0.6483 GB, free: 2.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004073/0.1783, allocations: 79.92 kB / 0.6484 GB, free: 2.844 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.0003369/0.1787, allocations: 179.1 kB / 0.6485 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.179, allocations: 127.2 kB / 0.6487 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.179, allocations: 0 / 0.6487 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.1791, allocations: 44.05 kB / 0.6487 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.1795, allocations: 55.81 kB / 0.6487 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.1803, allocations: 335 kB / 0.6491 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1805, allocations: 0.7127 MB / 0.6498 GB, free: 1.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000183/0.1807, allocations: 49.91 kB / 0.6498 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1808, allocations: 23.44 kB / 0.6498 GB, free: 1.273 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1808, allocations: 0 / 0.6498 GB, free: 1.273 MB / 494.1 MB Notification: Performance of Templates: time 0.007536/0.1883, allocations: 3.442 MB / 0.6532 GB, free: 13.86 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)