Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001779, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7169/0.7169, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 403.3 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 103 kB / 484.4 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001025, allocations: 55.91 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1549, allocations: 80.22 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006048/0.161, allocations: 4.474 MB / 0.6445 GB, free: 2.297 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.1637, allocations: 2.706 MB / 0.6472 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.1638, allocations: 0 / 0.6472 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1641, allocations: 43.8 kB / 0.6472 GB, free: 15.54 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1644, allocations: 87.48 kB / 0.6473 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1655, allocations: 445.2 kB / 0.6477 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.1658, allocations: 307.9 kB / 0.648 GB, free: 14.71 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1658, allocations: 21.53 kB / 0.648 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008906/0.1667, allocations: 394.9 kB / 0.6484 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1669, allocations: 95.59 kB / 0.6485 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1669, allocations: 8 kB / 0.6485 GB, free: 14.21 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009149/0.1678, allocations: 0.4949 MB / 0.649 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.1679, allocations: 43.83 kB / 0.649 GB, free: 13.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.892e-05/0.168, allocations: 75.66 kB / 0.6491 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.1686, allocations: 347.4 kB / 0.6494 GB, free: 13.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1686, allocations: 0 / 0.6494 GB, free: 13.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1686, allocations: 0 / 0.6494 GB, free: 13.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1686, allocations: 7.938 kB / 0.6495 GB, free: 13.25 MB / 458.7 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.0007328/0.1694, allocations: 0.4992 MB / 0.6499 GB, free: 12.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1694, allocations: 16.02 kB / 0.65 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.1696, allocations: 20.75 kB / 0.65 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1698, allocations: 208.2 kB / 0.6502 GB, free: 12.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1699, allocations: 12.7 kB / 0.6502 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.1699, allocations: 12.38 kB / 0.6502 GB, free: 12.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.1702, allocations: 262.3 kB / 0.6505 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1703, allocations: 0 / 0.6505 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.1703, allocations: 8 kB / 0.6505 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1703, allocations: 4 kB / 0.6505 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.1708, allocations: 431.5 kB / 0.6509 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.1719, allocations: 1.011 MB / 0.6519 GB, free: 10.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.1722, allocations: 155.1 kB / 0.652 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1723, allocations: 65.55 kB / 0.6521 GB, free: 10.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.1738, allocations: 1.813 MB / 0.6538 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1738, allocations: 34.56 kB / 0.6539 GB, free: 8.141 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 2.795e-06/0.1738, allocations: 4 kB / 0.6539 GB, free: 8.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.000349/0.1742, allocations: 155 kB / 0.654 GB, free: 7.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1742, allocations: 59.34 kB / 0.6541 GB, free: 7.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1744, allocations: 171.3 kB / 0.6542 GB, free: 7.723 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1744, allocations: 29.7 kB / 0.6543 GB, free: 7.688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1746, allocations: 139.8 kB / 0.6544 GB, free: 7.547 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/0.1746, allocations: 51.2 kB / 0.6545 GB, free: 7.496 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.1747, allocations: 53.69 kB / 0.6545 GB, free: 7.438 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1749, allocations: 326.8 kB / 0.6548 GB, free: 7.109 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.175, allocations: 31.98 kB / 0.6549 GB, free: 7.078 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.1751, allocations: 141.7 kB / 0.655 GB, free: 6.891 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1754, allocations: 203.7 kB / 0.6552 GB, free: 6.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1754, allocations: 0 / 0.6552 GB, free: 6.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000332/0.1757, allocations: 209.1 kB / 0.6554 GB, free: 6.434 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1758, allocations: 6.031 kB / 0.6554 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1758, allocations: 11.94 kB / 0.6554 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1758, allocations: 8 kB / 0.6554 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.176, allocations: 55.84 kB / 0.6555 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.176, allocations: 4 kB / 0.6555 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1761, allocations: 35.69 kB / 0.6555 GB, free: 6.316 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.1762, allocations: 12 kB / 0.6555 GB, free: 6.305 MB / 458.7 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.0001183/0.1763, allocations: 133.7 kB / 0.6556 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.1763, allocations: 19.81 kB / 0.6557 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.1766, allocations: 169.1 kB / 0.6558 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.1767, allocations: 7.938 kB / 0.6558 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1767, allocations: 0 / 0.6558 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1767, allocations: 0 / 0.6558 GB, free: 5.969 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1769, allocations: 209.5 kB / 0.656 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1769, allocations: 0 / 0.656 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.177, allocations: 27.98 kB / 0.656 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.177, allocations: 0 / 0.656 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.177, allocations: 3.984 kB / 0.6561 GB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/0.1771, allocations: 7.938 kB / 0.6561 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1771, allocations: 4 kB / 0.6561 GB, free: 5.672 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.1777, allocations: 0.8096 MB / 0.6569 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.1778, allocations: 104.9 kB / 0.657 GB, free: 4.684 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1779, allocations: 8 kB / 0.657 GB, free: 4.676 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1781, allocations: 19.91 kB / 0.657 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.1781, allocations: 19.92 kB / 0.657 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1781, allocations: 11.94 kB / 0.657 GB, free: 4.625 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.305e-05/0.1782, allocations: 120 kB / 0.6571 GB, free: 4.508 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.6571 GB, free: 4.508 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000453/0.1787, allocations: 79.89 kB / 0.6572 GB, free: 4.43 MB / 458.7 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.0003712/0.1791, allocations: 175.1 kB / 0.6574 GB, free: 4.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.1793, allocations: 117.6 kB / 0.6575 GB, free: 4.137 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1793, allocations: 4 kB / 0.6575 GB, free: 4.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.1794, allocations: 43.92 kB / 0.6575 GB, free: 4.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1798, allocations: 60.77 kB / 0.6576 GB, free: 4.031 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.1806, allocations: 0.5151 MB / 0.6581 GB, free: 3.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1809, allocations: 0.7209 MB / 0.6588 GB, free: 2.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.1811, allocations: 45.73 kB / 0.6588 GB, free: 2.684 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.1812, allocations: 31.42 kB / 0.6589 GB, free: 2.652 MB / 458.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1812, allocations: 0 / 0.6589 GB, free: 2.652 MB / 458.7 MB Notification: Performance of Templates: time 0.006594/0.1878, allocations: 3.279 MB / 0.6621 GB, free: 15.41 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)