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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 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.001343/0.001343, allocations: 193 kB / 16.53 MB, free: 6.391 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9518/0.9518, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.05 kB / 0.5053 GB, free: 5.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1718, allocations: 80.93 MB / 0.5844 GB, free: 4.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4818/0.6537, allocations: 135.4 MB / 0.7166 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001887/0.654, allocations: 51.27 kB / 0.7166 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.654, allocations: 0 / 0.7166 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.6542, allocations: 5.969 kB / 0.7167 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.622e-05/0.6542, allocations: 5.984 kB / 0.7167 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.6553, allocations: 247.2 kB / 0.7169 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.84e-05/0.6554, allocations: 33.91 kB / 0.7169 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.6554, allocations: 2.484 kB / 0.7169 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.6555, allocations: 15.06 kB / 0.7169 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.6555, allocations: 16.23 kB / 0.717 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.6555, allocations: 1 kB / 0.717 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.6562, allocations: 253.1 kB / 0.7172 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.6563, allocations: 5.516 kB / 0.7172 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.293e-05/0.6564, allocations: 9.953 kB / 0.7172 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.6569, allocations: 188.3 kB / 0.7174 GB, free: 10.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.6569, allocations: 4 kB / 0.7174 GB, free: 10.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.657, allocations: 0 / 0.7174 GB, free: 10.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.657, allocations: 1.188 kB / 0.7174 GB, free: 10.29 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.0004883/0.6575, allocations: 361 kB / 0.7177 GB, free: 9.918 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.6575, allocations: 9.25 kB / 0.7178 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.6576, allocations: 10.19 kB / 0.7178 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.6577, allocations: 164.8 kB / 0.7179 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.919e-05/0.6578, allocations: 28.97 kB / 0.7179 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.6578, allocations: 5.125 kB / 0.718 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.6579, allocations: 44.69 kB / 0.718 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.6579, allocations: 1.281 kB / 0.718 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.658, allocations: 0.75 kB / 0.718 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.658, allocations: 0.9375 kB / 0.718 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.658, allocations: 20.7 kB / 0.718 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.6589, allocations: 0.5974 MB / 0.7186 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.6589, allocations: 19.98 kB / 0.7186 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.659, allocations: 6.625 kB / 0.7186 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.6592, allocations: 335 kB / 0.7189 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6593, allocations: 35.22 kB / 0.719 GB, free: 8.523 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.6593, allocations: 1.188 kB / 0.719 GB, free: 8.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001531/0.6594, allocations: 42.23 kB / 0.719 GB, free: 8.484 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.6595, allocations: 52.62 kB / 0.7191 GB, free: 8.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.6596, allocations: 101.6 kB / 0.7192 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.6596, allocations: 26.83 kB / 0.7192 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.6597, allocations: 90.59 kB / 0.7193 GB, free: 8.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-06/0.6597, allocations: 9.031 kB / 0.7193 GB, free: 8.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.6598, allocations: 21.91 kB / 0.7193 GB, free: 8.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6599, allocations: 322.8 kB / 0.7196 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.6599, allocations: 3.219 kB / 0.7196 GB, free: 7.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/0.6599, allocations: 16.39 kB / 0.7196 GB, free: 7.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.66, allocations: 23.67 kB / 0.7197 GB, free: 7.809 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.66, allocations: 7.938 kB / 0.7197 GB, free: 7.801 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.804e-05/0.6601, allocations: 46.7 kB / 0.7197 GB, free: 7.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6601, allocations: 5.062 kB / 0.7197 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6601, allocations: 1.953 kB / 0.7197 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6602, allocations: 0 / 0.7197 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.6602, allocations: 10.16 kB / 0.7197 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6602, allocations: 1.469 kB / 0.7197 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.6602, allocations: 1.641 kB / 0.7197 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.6603, allocations: 2.75 kB / 0.7197 GB, free: 7.762 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.947e-05/0.6603, allocations: 116.4 kB / 0.7198 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.6604, allocations: 6.125 kB / 0.7199 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.6605, allocations: 119.1 kB / 0.72 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.129e-05/0.6606, allocations: 182.2 kB / 0.7201 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.581e-05/0.6607, allocations: 176.8 kB / 0.7203 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-05/0.6607, allocations: 186.3 kB / 0.7205 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.661, allocations: 412.9 kB / 0.7209 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/0.661, allocations: 101.6 kB / 0.721 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.6611, allocations: 107.1 kB / 0.7211 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.6612, allocations: 178 kB / 0.7212 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.6612, allocations: 191.7 kB / 0.7214 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.692e-05/0.6613, allocations: 181.2 kB / 0.7216 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.812e-05/0.6614, allocations: 177.3 kB / 0.7218 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.6616, allocations: 310.9 kB / 0.7221 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.6617, allocations: 184 kB / 0.7222 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6619, allocations: 186.2 kB / 0.7224 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.6621, allocations: 110.2 kB / 0.7225 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6622, allocations: 182.1 kB / 0.7227 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.6623, allocations: 102.9 kB / 0.7228 GB, free: 4.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.6623, allocations: 86.27 kB / 0.7229 GB, free: 4.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6624, allocations: 0 / 0.7229 GB, free: 4.383 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006079/0.663, allocations: 60.28 kB / 0.7229 GB, free: 4.363 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.000563/0.6635, allocations: 254.2 kB / 0.7232 GB, free: 4.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.6636, allocations: 11.27 kB / 0.7232 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.6637, allocations: 5.094 kB / 0.7232 GB, free: 4.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.6637, allocations: 0 / 0.7232 GB, free: 4.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.6641, allocations: 461.6 kB / 0.7236 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.6644, allocations: 182.6 kB / 0.7238 GB, free: 3.539 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.6647, allocations: 0.683 MB / 0.7245 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.6647, allocations: 5.328 kB / 0.7245 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.6648, allocations: 9.047 kB / 0.7245 GB, free: 2.828 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.6648, allocations: 0 / 0.7245 GB, free: 2.828 MB / 0.545 GB Notification: Performance of Templates: time 0.004449/0.6692, allocations: 1.287 MB / 0.7257 GB, free: 2.652 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)