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.0009859/0.0009859, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001307/0.001307, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8465/0.8465, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002772, allocations: 12 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1349, allocations: 82.32 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3347/0.4697, allocations: 114.3 MB / 0.6988 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005952/0.4703, allocations: 492.1 kB / 0.6993 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.4703, allocations: 0 / 0.6993 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.4705, allocations: 2.922 kB / 0.6993 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.619e-05/0.4705, allocations: 9.25 kB / 0.6993 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.4711, allocations: 196.7 kB / 0.6995 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.4712, allocations: 22.08 kB / 0.6995 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.4712, allocations: 3.25 kB / 0.6995 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.082e-05/0.4713, allocations: 12.69 kB / 0.6995 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.4713, allocations: 8.859 kB / 0.6995 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4713, allocations: 1.094 kB / 0.6995 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.4717, allocations: 181.4 kB / 0.6997 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.4718, allocations: 4.531 kB / 0.6997 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.4718, allocations: 32.05 kB / 0.6997 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.472, allocations: 105.2 kB / 0.6998 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.472, allocations: 1.031 kB / 0.6998 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.472, allocations: 1.5 kB / 0.6998 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.472, allocations: 0 / 0.6998 GB, free: 10.27 MB / 0.5294 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.0003553/0.4724, allocations: 355.5 kB / 0.7002 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.4724, allocations: 8.781 kB / 0.7002 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.4725, allocations: 1.219 kB / 0.7002 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.4726, allocations: 163.4 kB / 0.7003 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.4727, allocations: 28.41 kB / 0.7004 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.4727, allocations: 1.062 kB / 0.7004 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.4728, allocations: 47.44 kB / 0.7004 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.4728, allocations: 4 kB / 0.7004 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4728, allocations: 1.875 kB / 0.7004 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.4729, allocations: 1.875 kB / 0.7004 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.356e-05/0.4729, allocations: 21.75 kB / 0.7004 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.4736, allocations: 0.5894 MB / 0.701 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.57e-05/0.4736, allocations: 24.73 kB / 0.701 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002278/0.4739, allocations: 332.2 kB / 0.7013 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.4739, allocations: 32.2 kB / 0.7014 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4739, allocations: 0 / 0.7014 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001279/0.474, allocations: 37.62 kB / 0.7014 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.4741, allocations: 56 kB / 0.7015 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.4741, allocations: 106.4 kB / 0.7016 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.4742, allocations: 31.02 kB / 0.7016 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.4742, allocations: 94.77 kB / 0.7017 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.4742, allocations: 8.406 kB / 0.7017 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.4742, allocations: 0 / 0.7017 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.4743, allocations: 313.5 kB / 0.702 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.4743, allocations: 2.812 kB / 0.702 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4744, allocations: 19.11 kB / 0.702 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.793e-05/0.4744, allocations: 5.781 kB / 0.702 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4744, allocations: 4 kB / 0.702 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.619e-05/0.4745, allocations: 48.86 kB / 0.7021 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4745, allocations: 5.766 kB / 0.7021 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4745, allocations: 1.406 kB / 0.7021 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.4745, allocations: 0 / 0.7021 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.4746, allocations: 6.25 kB / 0.7021 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.4746, allocations: 1.375 kB / 0.7021 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.4746, allocations: 5.719 kB / 0.7021 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4746, allocations: 1.312 kB / 0.7021 GB, free: 7.805 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.4747, allocations: 117 kB / 0.7022 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.4747, allocations: 1.859 kB / 0.7022 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.4748, allocations: 122.5 kB / 0.7023 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-05/0.4749, allocations: 181.9 kB / 0.7025 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-05/0.4749, allocations: 181.3 kB / 0.7027 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/0.475, allocations: 182.6 kB / 0.7028 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.4752, allocations: 411.3 kB / 0.7032 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/0.4752, allocations: 102.8 kB / 0.7033 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.4753, allocations: 107.6 kB / 0.7034 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.756e-05/0.4753, allocations: 181.7 kB / 0.7036 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.4754, allocations: 181.4 kB / 0.7038 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.178e-05/0.4755, allocations: 185.6 kB / 0.704 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.429e-05/0.4755, allocations: 178 kB / 0.7041 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.4756, allocations: 310.2 kB / 0.7044 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.4757, allocations: 180.8 kB / 0.7046 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.4758, allocations: 187 kB / 0.7048 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.4759, allocations: 108.2 kB / 0.7049 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.476, allocations: 184.8 kB / 0.7051 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.476, allocations: 107.2 kB / 0.7052 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.4761, allocations: 86.34 kB / 0.7052 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4761, allocations: 0 / 0.7052 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002832/0.4764, allocations: 59.7 kB / 0.7053 GB, free: 4.406 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.4766, allocations: 252.3 kB / 0.7055 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.285e-05/0.4767, allocations: 14.25 kB / 0.7056 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4767, allocations: 1 kB / 0.7056 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/0.4767, allocations: 0 / 0.7056 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.477, allocations: 0.5261 MB / 0.7061 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.4773, allocations: 189.4 kB / 0.7062 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.4775, allocations: 0.6777 MB / 0.7069 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.4776, allocations: 4.281 kB / 0.7069 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.4776, allocations: 14.47 kB / 0.7069 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of SimCode: time 1.924e-06/0.4776, allocations: 0 / 0.7069 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of Templates: time 0.003373/0.481, allocations: 1.215 MB / 0.7081 GB, free: 2.613 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: