Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.00173, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.31/1.31, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.91/0.91, allocations: 135.1 MB / 425.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 60.19 kB / 0.5053 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1574, allocations: 80.93 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3735/0.5309, allocations: 133.3 MB / 0.7145 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001697/0.5311, allocations: 64.95 kB / 0.7146 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.5312, allocations: 1.125 kB / 0.7146 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.5313, allocations: 1.125 kB / 0.7146 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.513e-05/0.5314, allocations: 14.19 kB / 0.7146 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008452/0.5323, allocations: 219.1 kB / 0.7148 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.5324, allocations: 58.53 kB / 0.7149 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.5324, allocations: 2.312 kB / 0.7149 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.5325, allocations: 22.42 kB / 0.7149 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.5326, allocations: 14.08 kB / 0.7149 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.5326, allocations: 0 / 0.7149 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.5331, allocations: 244.6 kB / 0.7151 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.5331, allocations: 4.391 kB / 0.7152 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.5332, allocations: 18.61 kB / 0.7152 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.5334, allocations: 131.2 kB / 0.7153 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.478e-05/0.5334, allocations: 0 / 0.7153 GB, free: 12.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5334, allocations: 3.938 kB / 0.7153 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.5334, allocations: 0 / 0.7153 GB, free: 12.22 MB / 0.545 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.0003937/0.5338, allocations: 358.5 kB / 0.7156 GB, free: 11.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5339, allocations: 8.969 kB / 0.7157 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.5339, allocations: 1.875 kB / 0.7157 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.534, allocations: 164.4 kB / 0.7158 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/0.5341, allocations: 37.52 kB / 0.7158 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.5341, allocations: 5.062 kB / 0.7159 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.5343, allocations: 45.11 kB / 0.7159 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5343, allocations: 0 / 0.7159 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5343, allocations: 0 / 0.7159 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.5343, allocations: 1.844 kB / 0.7159 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.5344, allocations: 26.22 kB / 0.7159 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.5351, allocations: 0.6 MB / 0.7165 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.5352, allocations: 15.95 kB / 0.7165 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.5352, allocations: 10.33 kB / 0.7165 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.5354, allocations: 334.6 kB / 0.7169 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.5354, allocations: 33.02 kB / 0.7169 GB, free: 10.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5354, allocations: 4 kB / 0.7169 GB, free: 10.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001506/0.5356, allocations: 37.41 kB / 0.7169 GB, free: 10.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.5356, allocations: 53.42 kB / 0.717 GB, free: 10.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.5357, allocations: 105.7 kB / 0.7171 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5357, allocations: 26.86 kB / 0.7171 GB, free: 10.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.5358, allocations: 86.88 kB / 0.7172 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.5358, allocations: 8.453 kB / 0.7172 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.5358, allocations: 15.38 kB / 0.7172 GB, free: 10.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.5359, allocations: 321.4 kB / 0.7175 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.5359, allocations: 6.078 kB / 0.7175 GB, free: 9.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.536, allocations: 15.31 kB / 0.7175 GB, free: 9.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.8e-05/0.536, allocations: 25.42 kB / 0.7176 GB, free: 9.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.536, allocations: 0 / 0.7176 GB, free: 9.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.474e-05/0.5361, allocations: 46.81 kB / 0.7176 GB, free: 9.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.5361, allocations: 11.12 kB / 0.7176 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5361, allocations: 0 / 0.7176 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5361, allocations: 1.625 kB / 0.7176 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.5362, allocations: 10.28 kB / 0.7176 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5362, allocations: 1.375 kB / 0.7176 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.5362, allocations: 0 / 0.7176 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5362, allocations: 2.922 kB / 0.7176 GB, free: 9.703 MB / 0.545 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.512e-05/0.5363, allocations: 113.2 kB / 0.7177 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.01e-05/0.5363, allocations: 6.047 kB / 0.7177 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-05/0.5365, allocations: 121.8 kB / 0.7179 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/0.5365, allocations: 181.8 kB / 0.718 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.707e-05/0.5366, allocations: 178 kB / 0.7182 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/0.5367, allocations: 182.3 kB / 0.7184 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.5369, allocations: 415.6 kB / 0.7188 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.5369, allocations: 102.9 kB / 0.7189 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.537, allocations: 105.5 kB / 0.719 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.145e-05/0.537, allocations: 182 kB / 0.7191 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.365e-05/0.5371, allocations: 183.2 kB / 0.7193 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.864e-05/0.5372, allocations: 178.2 kB / 0.7195 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.123e-05/0.5372, allocations: 194.3 kB / 0.7197 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.5374, allocations: 302.4 kB / 0.72 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/0.5374, allocations: 188.6 kB / 0.7201 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.137e-05/0.5375, allocations: 178.3 kB / 0.7203 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.5377, allocations: 110.7 kB / 0.7204 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.5378, allocations: 182.3 kB / 0.7206 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.5378, allocations: 103.1 kB / 0.7207 GB, free: 6.402 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.635e-05/0.5379, allocations: 88.14 kB / 0.7208 GB, free: 6.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5379, allocations: 1.406 kB / 0.7208 GB, free: 6.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00034/0.5382, allocations: 56.08 kB / 0.7208 GB, free: 6.309 MB / 0.545 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.0003432/0.5386, allocations: 261.6 kB / 0.7211 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.5386, allocations: 12.22 kB / 0.7211 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5386, allocations: 0 / 0.7211 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.5386, allocations: 1.312 kB / 0.7211 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.5391, allocations: 0.5282 MB / 0.7216 GB, free: 5.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.5393, allocations: 208.7 kB / 0.7218 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.5396, allocations: 0.6747 MB / 0.7225 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.5396, allocations: 17.53 kB / 0.7225 GB, free: 4.66 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5396, allocations: 0 / 0.7225 GB, free: 4.66 MB / 0.545 GB Notification: Performance of Templates: time 0.002965/0.5426, allocations: 1.225 MB / 0.7237 GB, free: 4.523 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)