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.001202/0.001202, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.001199/0.001199, allocations: 191.5 kB / 17.2 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8172/0.8172, allocations: 135.1 MB / 426.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 55.91 kB / 0.506 GB, free: 8.441 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3393, allocations: 80.92 MB / 0.585 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1444/0.4838, allocations: 135.4 MB / 0.7172 GB, free: 2.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001753/0.484, allocations: 51.86 kB / 0.7173 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.484, allocations: 0 / 0.7173 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.4841, allocations: 7.922 kB / 0.7173 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.439e-05/0.4843, allocations: 12 kB / 0.7173 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.4851, allocations: 241.6 kB / 0.7175 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.4852, allocations: 35.91 kB / 0.7176 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.4853, allocations: 7.938 kB / 0.7176 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.4853, allocations: 23.86 kB / 0.7176 GB, free: 2.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.4854, allocations: 7.984 kB / 0.7176 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4854, allocations: 0 / 0.7176 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005185/0.4859, allocations: 247.4 kB / 0.7179 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.486, allocations: 11.98 kB / 0.7179 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.486, allocations: 11.94 kB / 0.7179 GB, free: 2.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.4864, allocations: 189.7 kB / 0.7181 GB, free: 1.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4864, allocations: 0 / 0.7181 GB, free: 1.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4864, allocations: 0 / 0.7181 GB, free: 1.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4864, allocations: 0 / 0.7181 GB, free: 1.922 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.0004229/0.4869, allocations: 363.3 kB / 0.7184 GB, free: 1.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.4869, allocations: 13.05 kB / 0.7184 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.487, allocations: 4.938 kB / 0.7184 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4871, allocations: 164.4 kB / 0.7186 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.4871, allocations: 30.27 kB / 0.7186 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.4872, allocations: 3.938 kB / 0.7186 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.4873, allocations: 45.67 kB / 0.7187 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4873, allocations: 0 / 0.7187 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4873, allocations: 0 / 0.7187 GB, free: 1.215 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.4874, allocations: 4 kB / 0.7187 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.953e-05/0.4874, allocations: 11.98 kB / 0.7187 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007207/0.4881, allocations: 0.6067 MB / 0.7193 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.4882, allocations: 18.58 kB / 0.7193 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.4882, allocations: 4.859 kB / 0.7193 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.4884, allocations: 336.5 kB / 0.7196 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.4884, allocations: 30.56 kB / 0.7196 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.4885, allocations: 4 kB / 0.7196 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.4886, allocations: 41.55 kB / 0.7197 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.4886, allocations: 59.39 kB / 0.7197 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.4887, allocations: 101.8 kB / 0.7198 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.4887, allocations: 25.7 kB / 0.7199 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.4888, allocations: 84.14 kB / 0.7199 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.4888, allocations: 11.83 kB / 0.7199 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.4888, allocations: 17.72 kB / 0.72 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.489, allocations: 318.9 kB / 0.7203 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.489, allocations: 4 kB / 0.7203 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.489, allocations: 21.64 kB / 0.7203 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.4891, allocations: 21.66 kB / 0.7203 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4891, allocations: 0 / 0.7203 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.337e-05/0.4892, allocations: 53.69 kB / 0.7204 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4892, allocations: 4 kB / 0.7204 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.4892, allocations: 3.938 kB / 0.7204 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4892, allocations: 0 / 0.7204 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.776e-05/0.4893, allocations: 7.938 kB / 0.7204 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4893, allocations: 4 kB / 0.7204 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.4893, allocations: 0 / 0.7204 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.4893, allocations: 3.938 kB / 0.7204 GB, free: 15.15 MB / 0.5606 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.551e-05/0.4894, allocations: 117.8 kB / 0.7205 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.4894, allocations: 7.969 kB / 0.7205 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.4895, allocations: 113 kB / 0.7206 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/0.4896, allocations: 184.2 kB / 0.7208 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.703e-05/0.4897, allocations: 180.3 kB / 0.721 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.303e-05/0.4897, allocations: 184.2 kB / 0.7211 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.49, allocations: 409.2 kB / 0.7215 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.592e-05/0.49, allocations: 105 kB / 0.7216 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.49, allocations: 104.9 kB / 0.7217 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-05/0.4901, allocations: 180.3 kB / 0.7219 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.642e-05/0.4902, allocations: 188.2 kB / 0.7221 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.192e-05/0.4902, allocations: 176.3 kB / 0.7223 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.291e-05/0.4903, allocations: 184.3 kB / 0.7224 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.4904, allocations: 307.7 kB / 0.7227 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.629e-05/0.4905, allocations: 186 kB / 0.7229 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.909e-05/0.4906, allocations: 180.3 kB / 0.7231 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4907, allocations: 113.2 kB / 0.7232 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.4908, allocations: 184.2 kB / 0.7234 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.4908, allocations: 105 kB / 0.7235 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.4909, allocations: 83.22 kB / 0.7235 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4909, allocations: 0 / 0.7235 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003283/0.4912, allocations: 63.92 kB / 0.7236 GB, free: 11.64 MB / 0.5606 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.0003434/0.4916, allocations: 250.3 kB / 0.7238 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.079e-05/0.4917, allocations: 15.94 kB / 0.7238 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4917, allocations: 0 / 0.7238 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.4917, allocations: 0 / 0.7238 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.4921, allocations: 459.8 kB / 0.7243 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.4924, allocations: 207.5 kB / 0.7245 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.4926, allocations: 0.6767 MB / 0.7251 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.4927, allocations: 15.44 kB / 0.7252 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4927, allocations: 0 / 0.7252 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of Templates: time 0.002997/0.4957, allocations: 1.227 MB / 0.7264 GB, free: 8.746 MB / 0.5606 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)