Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00122/0.00122, 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-master/package.mo): time 0.7178/0.7178, allocations: 133.3 MB / 150.1 MB, free: 11.16 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.577/1.577, allocations: 222.9 MB / 404.7 MB, free: 6.109 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.001333/0.001333, allocations: 103.2 kB / 485.9 MB, free: 7.281 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 55.92 kB / 0.5636 GB, free: 70 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1576, allocations: 80.42 MB / 0.6421 GB, free: 5.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005979/0.1636, allocations: 4.473 MB / 0.6465 GB, free: 1.004 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1663, allocations: 2.718 MB / 0.6491 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.1664, allocations: 0 / 0.6491 GB, free: 14.27 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.1667, allocations: 39.8 kB / 0.6492 GB, free: 14.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.167, allocations: 87.48 kB / 0.6493 GB, free: 14.15 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.1682, allocations: 453.6 kB / 0.6497 GB, free: 13.71 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.1685, allocations: 307.9 kB / 0.65 GB, free: 13.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.921e-05/0.1685, allocations: 9.562 kB / 0.65 GB, free: 13.4 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.1694, allocations: 402.9 kB / 0.6504 GB, free: 13 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1695, allocations: 91.59 kB / 0.6505 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1695, allocations: 8 kB / 0.6505 GB, free: 12.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009439/0.1705, allocations: 0.4949 MB / 0.651 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1706, allocations: 39.89 kB / 0.651 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.933e-05/0.1707, allocations: 83.59 kB / 0.6511 GB, free: 12.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.1712, allocations: 351.4 kB / 0.6514 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1712, allocations: 0 / 0.6514 GB, free: 11.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1712, allocations: 0 / 0.6514 GB, free: 11.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.1712, allocations: 0 / 0.6514 GB, free: 11.95 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.0006882/0.1719, allocations: 0.4953 MB / 0.6519 GB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.172, allocations: 12.03 kB / 0.6519 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.1721, allocations: 28.72 kB / 0.6519 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1723, allocations: 208.2 kB / 0.6521 GB, free: 11.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1724, allocations: 16.7 kB / 0.6522 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.1724, allocations: 12.38 kB / 0.6522 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.1727, allocations: 249.1 kB / 0.6524 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1727, allocations: 0 / 0.6524 GB, free: 10.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1728, allocations: 8 kB / 0.6524 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.1728, allocations: 15.98 kB / 0.6524 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.1732, allocations: 431.5 kB / 0.6528 GB, free: 10.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.1742, allocations: 1.007 MB / 0.6538 GB, free: 9.281 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.1745, allocations: 152.4 kB / 0.654 GB, free: 9.125 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1746, allocations: 68.81 kB / 0.654 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.1758, allocations: 1.821 MB / 0.6558 GB, free: 6.875 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.1759, allocations: 42.5 kB / 0.6559 GB, free: 6.824 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.1759, allocations: 0 / 0.6559 GB, free: 6.824 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003149/0.1762, allocations: 145.3 kB / 0.656 GB, free: 6.676 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1763, allocations: 59.34 kB / 0.656 GB, free: 6.605 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1764, allocations: 172.6 kB / 0.6562 GB, free: 6.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1764, allocations: 33.7 kB / 0.6562 GB, free: 6.379 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.811e-05/0.1765, allocations: 139.8 kB / 0.6564 GB, free: 6.238 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.1765, allocations: 55.19 kB / 0.6564 GB, free: 6.184 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/0.1766, allocations: 49.7 kB / 0.6565 GB, free: 6.129 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.1767, allocations: 326.8 kB / 0.6568 GB, free: 5.801 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.1768, allocations: 35.97 kB / 0.6568 GB, free: 5.766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1769, allocations: 137.7 kB / 0.657 GB, free: 5.582 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1771, allocations: 207.4 kB / 0.6572 GB, free: 5.332 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1771, allocations: 0 / 0.6572 GB, free: 5.332 MB / 458.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002894/0.1774, allocations: 217.2 kB / 0.6574 GB, free: 5.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1774, allocations: 4 kB / 0.6574 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1774, allocations: 4 kB / 0.6574 GB, free: 5.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1775, allocations: 8 kB / 0.6574 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1776, allocations: 59.84 kB / 0.6574 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1777, allocations: 4 kB / 0.6574 GB, free: 5.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.1778, allocations: 31.69 kB / 0.6575 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1778, allocations: 12.38 kB / 0.6575 GB, free: 4.992 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 9.007e-05/0.1779, allocations: 133.7 kB / 0.6576 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.1779, allocations: 19.81 kB / 0.6576 GB, free: 4.832 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1782, allocations: 157.2 kB / 0.6578 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1782, allocations: 7.938 kB / 0.6578 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1783, allocations: 0 / 0.6578 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1783, allocations: 3.984 kB / 0.6578 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1785, allocations: 217.5 kB / 0.658 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1785, allocations: 4 kB / 0.658 GB, free: 4.402 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.1786, allocations: 20 kB / 0.658 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1786, allocations: 0 / 0.658 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1786, allocations: 7.984 kB / 0.658 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.1786, allocations: 7.938 kB / 0.658 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1786, allocations: 0 / 0.658 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.1791, allocations: 0.8096 MB / 0.6588 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.75e-05/0.1792, allocations: 108.9 kB / 0.6589 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1792, allocations: 4 kB / 0.6589 GB, free: 3.371 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.1794, allocations: 15.98 kB / 0.6589 GB, free: 3.355 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.1795, allocations: 11.92 kB / 0.659 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1795, allocations: 19.92 kB / 0.659 GB, free: 3.324 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.801e-05/0.1796, allocations: 120 kB / 0.6591 GB, free: 3.207 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1796, allocations: 0 / 0.6591 GB, free: 3.207 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004595/0.1801, allocations: 75.91 kB / 0.6592 GB, free: 3.133 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.0002962/0.1804, allocations: 183 kB / 0.6593 GB, free: 2.945 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.1806, allocations: 119.4 kB / 0.6595 GB, free: 2.832 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1806, allocations: 0 / 0.6595 GB, free: 2.832 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.1807, allocations: 47.91 kB / 0.6595 GB, free: 2.785 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1811, allocations: 51.91 kB / 0.6595 GB, free: 2.734 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.1818, allocations: 0.5268 MB / 0.6601 GB, free: 2.172 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.1821, allocations: 0.7209 MB / 0.6608 GB, free: 1.426 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001592/0.1823, allocations: 41.8 kB / 0.6608 GB, free: 1.383 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.1823, allocations: 27.44 kB / 0.6608 GB, free: 1.355 MB / 458.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1823, allocations: 3.938 kB / 0.6608 GB, free: 1.352 MB / 458.7 MB Notification: Performance of Templates: time 0.006067/0.1884, allocations: 3.283 MB / 0.664 GB, free: 14.11 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)