Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001474/0.001474, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001478/0.001478, allocations: 196.3 kB / 16.26 MB, free: 6.625 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9343/0.9343, allocations: 135.6 MB / 425.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.73 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1613, allocations: 81.02 MB / 0.5845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00557/0.1669, allocations: 4.049 MB / 0.5884 GB, free: 252 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.1671, allocations: 159.5 kB / 0.5886 GB, free: 92 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.052e-05/0.1672, allocations: 0 / 0.5886 GB, free: 92 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.383e-05/0.1673, allocations: 4 kB / 0.5886 GB, free: 88 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.795e-05/0.1674, allocations: 11.92 kB / 0.5886 GB, free: 76 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1677, allocations: 71.77 kB / 0.5887 GB, free: 4 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.103e-05/0.1678, allocations: 39.91 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.1678, allocations: 7.984 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.1679, allocations: 15.88 kB / 0.5887 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.662e-05/0.1679, allocations: 15.97 kB / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.467e-06/0.1679, allocations: 0 / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.1681, allocations: 59.81 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.1682, allocations: 3.984 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1682, allocations: 19.92 kB / 0.5888 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.1683, allocations: 35.95 kB / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1683, allocations: 0 / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1683, allocations: 0 / 0.5889 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1683, allocations: 4 kB / 0.5889 GB, free: 15.8 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.0004303/0.1688, allocations: 341.4 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1688, allocations: 15.97 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.1689, allocations: 0.9375 kB / 0.5892 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.169, allocations: 176.2 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.1691, allocations: 30.27 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/0.1691, allocations: 384 / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1692, allocations: 45.62 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1693, allocations: 4 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1693, allocations: 0 / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.1693, allocations: 3.984 kB / 0.5895 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.1693, allocations: 12 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.1698, allocations: 334 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.283e-05/0.1698, allocations: 22.52 kB / 0.5898 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.1699, allocations: 8.859 kB / 0.5898 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-05/0.17, allocations: 85.16 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.17, allocations: 30.56 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.17, allocations: 4 kB / 0.5899 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.1701, allocations: 41.55 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.1702, allocations: 55.39 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.1703, allocations: 101.9 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.1703, allocations: 29.83 kB / 0.5901 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1704, allocations: 87.98 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-06/0.1704, allocations: 3.984 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1704, allocations: 21.72 kB / 0.5903 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1706, allocations: 318.8 kB / 0.5906 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.262e-05/0.1706, allocations: 0 / 0.5906 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.1706, allocations: 21.88 kB / 0.5906 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.1706, allocations: 29.66 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1706, allocations: 0 / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.006e-05/0.1707, allocations: 45.69 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1708, allocations: 4 kB / 0.5907 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1708, allocations: 4 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1708, allocations: 0 / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.612e-05/0.1708, allocations: 4 kB / 0.5907 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.1708, allocations: 3.938 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.832e-05/0.1709, allocations: 7.969 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1709, allocations: 4 kB / 0.5907 GB, free: 13.67 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.587e-05/0.1709, allocations: 117.8 kB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.171, allocations: 4 kB / 0.5908 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.1711, allocations: 120.8 kB / 0.5909 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-05/0.1712, allocations: 184.2 kB / 0.5911 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.77e-05/0.1713, allocations: 180.3 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.536e-05/0.1713, allocations: 180.3 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1716, allocations: 409.1 kB / 0.5918 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/0.1716, allocations: 101 kB / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.1717, allocations: 112.9 kB / 0.592 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.1718, allocations: 180.3 kB / 0.5922 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.539e-05/0.1719, allocations: 184.2 kB / 0.5924 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.608e-05/0.1719, allocations: 180.2 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.996e-05/0.172, allocations: 180.3 kB / 0.5927 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1722, allocations: 311.7 kB / 0.593 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.1723, allocations: 186 kB / 0.5932 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.06e-05/0.1724, allocations: 180.5 kB / 0.5934 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1725, allocations: 109 kB / 0.5935 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.1726, allocations: 184.2 kB / 0.5936 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.1727, allocations: 109 kB / 0.5937 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1727, allocations: 83.28 kB / 0.5938 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1727, allocations: 0 / 0.5938 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002372/0.173, allocations: 12 kB / 0.5938 GB, free: 10.21 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.0002422/0.1732, allocations: 206.4 kB / 0.594 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.913e-05/0.1733, allocations: 19.92 kB / 0.594 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1733, allocations: 0 / 0.594 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.1733, allocations: 4.125 kB / 0.5941 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1737, allocations: 455.7 kB / 0.5945 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.174, allocations: 177.9 kB / 0.5947 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1743, allocations: 0.6767 MB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.1743, allocations: 11.98 kB / 0.5953 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.1744, allocations: 11.44 kB / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1744, allocations: 0 / 0.5953 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.002767/0.1771, allocations: 0.6189 MB / 0.5959 GB, free: 7.992 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)