Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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-master/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-master/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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") translateModel(IDEAS.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001504, allocations: 183 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-master/package.mo): time 0.7345/0.7345, allocations: 133.3 MB / 150.1 MB, free: 11.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.478/1.478, allocations: 222.9 MB / 404.7 MB, free: 6.117 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.001208/0.001208, allocations: 118.8 kB / 485.9 MB, free: 7.219 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1494, allocations: 80.43 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006218/0.1557, allocations: 4.742 MB / 0.6468 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1585, allocations: 2.726 MB / 0.6494 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.1586, allocations: 3.938 kB / 0.6494 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.1589, allocations: 39.8 kB / 0.6495 GB, free: 13.87 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1592, allocations: 87.48 kB / 0.6495 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.1605, allocations: 458.4 kB / 0.65 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1608, allocations: 311.8 kB / 0.6503 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.52e-05/0.1609, allocations: 9.562 kB / 0.6503 GB, free: 13.03 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.1611, allocations: 115.6 kB / 0.6504 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1613, allocations: 83.66 kB / 0.6505 GB, free: 12.83 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1613, allocations: 8 kB / 0.6505 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.1622, allocations: 383.1 kB / 0.6509 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.784e-05/0.1623, allocations: 31.91 kB / 0.6509 GB, free: 12.42 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1624, allocations: 79.64 kB / 0.651 GB, free: 12.34 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.163, allocations: 363.3 kB / 0.6513 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.163, allocations: 4 kB / 0.6513 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.163, allocations: 0 / 0.6513 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.163, allocations: 0 / 0.6513 GB, free: 11.98 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.000864/0.1639, allocations: 0.4954 MB / 0.6518 GB, free: 11.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.164, allocations: 12.03 kB / 0.6518 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1641, allocations: 24.75 kB / 0.6518 GB, free: 11.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1644, allocations: 216 kB / 0.652 GB, free: 11.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1644, allocations: 12.7 kB / 0.652 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1644, allocations: 16.38 kB / 0.6521 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.1648, allocations: 240.3 kB / 0.6523 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1648, allocations: 0 / 0.6523 GB, free: 10.87 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1648, allocations: 12 kB / 0.6523 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.1649, allocations: 11.94 kB / 0.6523 GB, free: 10.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/0.1654, allocations: 435.3 kB / 0.6527 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1666, allocations: 0.9527 MB / 0.6537 GB, free: 9.379 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1669, allocations: 152.4 kB / 0.6538 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.167, allocations: 64.88 kB / 0.6539 GB, free: 9.156 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/0.1683, allocations: 1.829 MB / 0.6557 GB, free: 6.969 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1684, allocations: 38.56 kB / 0.6557 GB, free: 6.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.1684, allocations: 0 / 0.6557 GB, free: 6.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003268/0.1687, allocations: 147 kB / 0.6558 GB, free: 6.773 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.1687, allocations: 55.34 kB / 0.6559 GB, free: 6.707 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1689, allocations: 172.6 kB / 0.656 GB, free: 6.523 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1689, allocations: 33.7 kB / 0.6561 GB, free: 6.484 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.712e-05/0.169, allocations: 143.8 kB / 0.6562 GB, free: 6.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.1691, allocations: 59.28 kB / 0.6563 GB, free: 6.281 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.1691, allocations: 49.61 kB / 0.6563 GB, free: 6.227 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1693, allocations: 330.8 kB / 0.6566 GB, free: 5.895 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.431e-05/0.1693, allocations: 31.98 kB / 0.6567 GB, free: 5.863 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1695, allocations: 141.7 kB / 0.6568 GB, free: 5.676 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1697, allocations: 195.5 kB / 0.657 GB, free: 5.438 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1697, allocations: 0 / 0.657 GB, free: 5.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003015/0.17, allocations: 221.3 kB / 0.6572 GB, free: 5.215 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.17, allocations: 9.719 kB / 0.6572 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1701, allocations: 4 kB / 0.6572 GB, free: 5.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1701, allocations: 7.984 kB / 0.6572 GB, free: 5.195 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1703, allocations: 55.86 kB / 0.6573 GB, free: 5.141 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1703, allocations: 4 kB / 0.6573 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1704, allocations: 35.69 kB / 0.6573 GB, free: 5.102 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1704, allocations: 19.86 kB / 0.6573 GB, free: 5.082 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.0001127/0.1705, allocations: 138 kB / 0.6575 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.1706, allocations: 11.91 kB / 0.6575 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.1709, allocations: 152.5 kB / 0.6576 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.1709, allocations: 7.938 kB / 0.6576 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1709, allocations: 0 / 0.6576 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1709, allocations: 7.922 kB / 0.6576 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1712, allocations: 213.5 kB / 0.6578 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1712, allocations: 0 / 0.6578 GB, free: 4.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1713, allocations: 31.92 kB / 0.6579 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1713, allocations: 0 / 0.6579 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1713, allocations: 8 kB / 0.6579 GB, free: 4.461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1713, allocations: 3.938 kB / 0.6579 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1713, allocations: 0 / 0.6579 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.1719, allocations: 0.8157 MB / 0.6587 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.734e-05/0.172, allocations: 104.9 kB / 0.6588 GB, free: 3.465 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.172, allocations: 7.984 kB / 0.6588 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.1722, allocations: 15.98 kB / 0.6588 GB, free: 3.441 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.1722, allocations: 11.98 kB / 0.6588 GB, free: 3.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1723, allocations: 8 kB / 0.6588 GB, free: 3.422 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.1723, allocations: 123.9 kB / 0.6589 GB, free: 3.301 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1723, allocations: 0 / 0.6589 GB, free: 3.301 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004733/0.1728, allocations: 75.94 kB / 0.659 GB, free: 3.227 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.0003275/0.1732, allocations: 179.1 kB / 0.6592 GB, free: 3.043 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.1734, allocations: 112.5 kB / 0.6593 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.1734, allocations: 256 / 0.6593 GB, free: 2.934 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.1735, allocations: 51.86 kB / 0.6593 GB, free: 2.883 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.1739, allocations: 59.83 kB / 0.6594 GB, free: 2.824 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.1748, allocations: 0.5284 MB / 0.6599 GB, free: 2.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1751, allocations: 0.7131 MB / 0.6606 GB, free: 1.523 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.1752, allocations: 57.83 kB / 0.6607 GB, free: 1.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.521e-05/0.1753, allocations: 23.44 kB / 0.6607 GB, free: 1.441 MB / 458.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1753, allocations: 0 / 0.6607 GB, free: 1.441 MB / 458.7 MB Notification: Performance of Templates: time 0.006155/0.1815, allocations: 3.358 MB / 0.664 GB, free: 14.12 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)