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.008135/0.008135, allocations: 102.2 kB / 15.73 MB, free: 6.492 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.00181/0.00181, allocations: 194.9 kB / 16.68 MB, free: 6.375 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8073/0.8073, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 66.39 kB / 0.5813 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1685, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005823/0.1744, allocations: 4.026 MB / 0.6636 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.1746, allocations: 163.5 kB / 0.6637 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.1747, allocations: 4 kB / 0.6637 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.1748, allocations: 4 kB / 0.6637 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.1749, allocations: 3.938 kB / 0.6638 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.1754, allocations: 85.86 kB / 0.6638 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.1755, allocations: 39.84 kB / 0.6639 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.1755, allocations: 4 kB / 0.6639 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.1756, allocations: 15.94 kB / 0.6639 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.1757, allocations: 15.97 kB / 0.6639 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1757, allocations: 0 / 0.6639 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.176, allocations: 59.81 kB / 0.664 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.176, allocations: 7.922 kB / 0.664 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.1761, allocations: 7.984 kB / 0.664 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1762, allocations: 47.84 kB / 0.664 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1762, allocations: 0 / 0.664 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1762, allocations: 0 / 0.664 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.1762, allocations: 4 kB / 0.664 GB, free: 9.008 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.0004089/0.1767, allocations: 335.6 kB / 0.6643 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1767, allocations: 8.031 kB / 0.6644 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.1768, allocations: 0.9375 kB / 0.6644 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1769, allocations: 168.3 kB / 0.6645 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.585e-05/0.177, allocations: 34.19 kB / 0.6645 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.177, allocations: 384 / 0.6645 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.1771, allocations: 49.62 kB / 0.6646 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1772, allocations: 4 kB / 0.6646 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1772, allocations: 0 / 0.6646 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.1772, allocations: 0 / 0.6646 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.1773, allocations: 19.98 kB / 0.6646 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.1777, allocations: 330 kB / 0.6649 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.854e-05/0.1778, allocations: 22.52 kB / 0.665 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/0.1778, allocations: 4.859 kB / 0.665 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.305e-05/0.1779, allocations: 89.16 kB / 0.665 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1779, allocations: 34.56 kB / 0.6651 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1779, allocations: 0 / 0.6651 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.1781, allocations: 29.7 kB / 0.6651 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1781, allocations: 55.41 kB / 0.6652 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.1782, allocations: 109.7 kB / 0.6653 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.1783, allocations: 25.83 kB / 0.6653 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.1783, allocations: 92.05 kB / 0.6654 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-06/0.1783, allocations: 7.938 kB / 0.6654 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/0.1784, allocations: 21.61 kB / 0.6654 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1785, allocations: 318.8 kB / 0.6657 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.1785, allocations: 0 / 0.6657 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.1786, allocations: 13.91 kB / 0.6657 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.1786, allocations: 33.64 kB / 0.6658 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1786, allocations: 0 / 0.6658 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.017e-05/0.1787, allocations: 49.72 kB / 0.6658 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1787, allocations: 9.562 kB / 0.6658 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1787, allocations: 0 / 0.6658 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1787, allocations: 3.984 kB / 0.6658 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.1788, allocations: 4 kB / 0.6658 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1788, allocations: 0 / 0.6658 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.1788, allocations: 8.062 kB / 0.6658 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1789, allocations: 0 / 0.6658 GB, free: 6.891 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 6.922e-05/0.1789, allocations: 118.4 kB / 0.6659 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.179, allocations: 0 / 0.6659 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1791, allocations: 121 kB / 0.6661 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-05/0.1791, allocations: 176.3 kB / 0.6662 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.524e-05/0.1792, allocations: 184.2 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.38e-05/0.1793, allocations: 188.2 kB / 0.6666 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1795, allocations: 409.1 kB / 0.667 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/0.1796, allocations: 105 kB / 0.6671 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1796, allocations: 101 kB / 0.6672 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.449e-05/0.1797, allocations: 180.2 kB / 0.6673 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.1798, allocations: 184.3 kB / 0.6675 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.326e-05/0.1798, allocations: 188.2 kB / 0.6677 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.954e-05/0.1799, allocations: 180.2 kB / 0.6679 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.18, allocations: 311.6 kB / 0.6682 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.1801, allocations: 182.1 kB / 0.6683 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/0.1802, allocations: 188.2 kB / 0.6685 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1804, allocations: 101 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.1804, allocations: 184.2 kB / 0.6688 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.1805, allocations: 105 kB / 0.6689 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.953e-05/0.1805, allocations: 83.28 kB / 0.669 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1805, allocations: 4 kB / 0.669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002604/0.1808, allocations: 15.94 kB / 0.669 GB, free: 3.434 MB / 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.000253/0.1811, allocations: 202.4 kB / 0.6692 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.45e-05/0.1812, allocations: 15.94 kB / 0.6692 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1812, allocations: 3.938 kB / 0.6692 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1812, allocations: 0 / 0.6692 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1816, allocations: 463.8 kB / 0.6696 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.1818, allocations: 174 kB / 0.6698 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1821, allocations: 0.6729 MB / 0.6705 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.1821, allocations: 8 kB / 0.6705 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.1822, allocations: 11.44 kB / 0.6705 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1822, allocations: 0 / 0.6705 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of Templates: time 0.002828/0.185, allocations: 0.6324 MB / 0.6711 GB, free: 1.215 MB / 0.4981 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)