Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008336/0.008336, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.00173/0.00173, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8416/0.8416, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 57.56 kB / 0.5813 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1577, allocations: 80.2 MB / 0.6596 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005463/0.1633, allocations: 4.031 MB / 0.6636 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002125/0.1635, allocations: 155.5 kB / 0.6637 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1636, allocations: 0 / 0.6637 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1637, allocations: 11.88 kB / 0.6637 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.1638, allocations: 11.92 kB / 0.6638 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1641, allocations: 71.75 kB / 0.6638 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.865e-05/0.1642, allocations: 43.78 kB / 0.6639 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.1643, allocations: 0 / 0.6639 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.36e-05/0.1643, allocations: 19.97 kB / 0.6639 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.1644, allocations: 8 kB / 0.6639 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1644, allocations: 4 kB / 0.6639 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1646, allocations: 59.8 kB / 0.664 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.1647, allocations: 11.92 kB / 0.664 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1647, allocations: 8 kB / 0.664 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1649, allocations: 43.83 kB / 0.664 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1649, allocations: 0 / 0.664 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.266e-06/0.1649, allocations: 0 / 0.664 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1649, allocations: 7.938 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004115/0.1653, allocations: 335.4 kB / 0.6643 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1654, allocations: 12.03 kB / 0.6644 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1654, allocations: 4.938 kB / 0.6644 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1656, allocations: 164.4 kB / 0.6645 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.1656, allocations: 26.27 kB / 0.6645 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.1656, allocations: 4.375 kB / 0.6645 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1658, allocations: 45.62 kB / 0.6646 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.1658, allocations: 0 / 0.6646 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1658, allocations: 0 / 0.6646 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.1658, allocations: 4 kB / 0.6646 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.1659, allocations: 19.92 kB / 0.6646 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.1663, allocations: 334 kB / 0.6649 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.1663, allocations: 18.58 kB / 0.6649 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.1664, allocations: 4.859 kB / 0.6649 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.874e-05/0.1664, allocations: 89.16 kB / 0.665 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.1665, allocations: 34.56 kB / 0.6651 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1665, allocations: 0 / 0.6651 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.1666, allocations: 41.59 kB / 0.6651 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1667, allocations: 51.41 kB / 0.6652 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/0.1667, allocations: 101.8 kB / 0.6653 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1668, allocations: 25.7 kB / 0.6653 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1668, allocations: 96.03 kB / 0.6654 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.1668, allocations: 0 / 0.6654 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.1669, allocations: 21.83 kB / 0.6654 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.167, allocations: 318.8 kB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.167, allocations: 4 kB / 0.6657 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.983e-05/0.167, allocations: 25.81 kB / 0.6657 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.1671, allocations: 25.59 kB / 0.6657 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1671, allocations: 0 / 0.6657 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.221e-05/0.1672, allocations: 53.69 kB / 0.6658 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1672, allocations: 4 kB / 0.6658 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1672, allocations: 0 / 0.6658 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1672, allocations: 0 / 0.6658 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.1673, allocations: 11.94 kB / 0.6658 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1673, allocations: 0 / 0.6658 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.894e-05/0.1673, allocations: 3.953 kB / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1673, allocations: 0 / 0.6658 GB, free: 3.637 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * 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 7.754e-05/0.1674, allocations: 122.7 kB / 0.6659 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.1674, allocations: 4 kB / 0.6659 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1676, allocations: 117 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/0.1676, allocations: 180.2 kB / 0.6662 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-05/0.1677, allocations: 184.2 kB / 0.6664 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.388e-05/0.1678, allocations: 184.2 kB / 0.6666 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.168, allocations: 417.1 kB / 0.667 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.168, allocations: 101 kB / 0.6671 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.1681, allocations: 104.9 kB / 0.6672 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.067e-05/0.1681, allocations: 176.3 kB / 0.6673 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.1682, allocations: 184.2 kB / 0.6675 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-05/0.1683, allocations: 188.2 kB / 0.6677 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-05/0.1683, allocations: 176.3 kB / 0.6679 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1684, allocations: 303.7 kB / 0.6681 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.1685, allocations: 190 kB / 0.6683 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.781e-05/0.1686, allocations: 180.3 kB / 0.6685 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1688, allocations: 109 kB / 0.6686 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.1688, allocations: 184.2 kB / 0.6688 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.1689, allocations: 101 kB / 0.6689 GB, free: 288 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.1689, allocations: 83.28 kB / 0.669 GB, free: 204 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1689, allocations: 0 / 0.669 GB, free: 204 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002329/0.1692, allocations: 15.94 kB / 0.669 GB, free: 188 kB / 0.4981 GB 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002553/0.1694, allocations: 202.4 kB / 0.6692 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.1695, allocations: 19.86 kB / 0.6692 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1695, allocations: 0 / 0.6692 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-06/0.1695, allocations: 4 kB / 0.6692 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1699, allocations: 465.3 kB / 0.6696 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.1701, allocations: 186 kB / 0.6698 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1704, allocations: 0.669 MB / 0.6705 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1704, allocations: 7.984 kB / 0.6705 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.1705, allocations: 15.44 kB / 0.6705 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of SimCode: time 3.6e-07/0.1705, allocations: 0 / 0.6705 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Templates: time 0.002602/0.1731, allocations: 0.6309 MB / 0.6711 GB, free: 13.95 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)