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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 191.5 kB / 16.13 MB, free: 6.707 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8525/0.8525, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 60.03 kB / 0.5048 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.141, allocations: 80.93 MB / 0.5838 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3305/0.4715, allocations: 133.3 MB / 0.714 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001479/0.4717, allocations: 55 kB / 0.714 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.585e-05/0.4717, allocations: 2.438 kB / 0.7141 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.507e-05/0.4718, allocations: 1.312 kB / 0.7141 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.178e-05/0.4719, allocations: 17.7 kB / 0.7141 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.4727, allocations: 221 kB / 0.7143 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.125e-05/0.4727, allocations: 57.34 kB / 0.7143 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.022e-05/0.4728, allocations: 6.25 kB / 0.7143 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.4728, allocations: 18.88 kB / 0.7144 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.4729, allocations: 13.33 kB / 0.7144 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4729, allocations: 1.188 kB / 0.7144 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.4733, allocations: 242 kB / 0.7146 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.4734, allocations: 11.86 kB / 0.7146 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.4734, allocations: 9.719 kB / 0.7146 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.4738, allocations: 197.8 kB / 0.7148 GB, free: 12.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4738, allocations: 1.844 kB / 0.7148 GB, free: 12.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4738, allocations: 0 / 0.7148 GB, free: 12.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.4738, allocations: 7.938 kB / 0.7148 GB, free: 12.21 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.000373/0.4742, allocations: 357.7 kB / 0.7152 GB, free: 11.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.4742, allocations: 10.64 kB / 0.7152 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.459e-05/0.4743, allocations: 34.75 kB / 0.7152 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.4743, allocations: 3.719 kB / 0.7152 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.4744, allocations: 163.7 kB / 0.7154 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.4745, allocations: 28.19 kB / 0.7154 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.4745, allocations: 5.031 kB / 0.7154 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.4746, allocations: 45.48 kB / 0.7154 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.4746, allocations: 0 / 0.7154 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4746, allocations: 5.156 kB / 0.7154 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.4746, allocations: 1.984 kB / 0.7154 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.4747, allocations: 16.23 kB / 0.7155 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006747/0.4754, allocations: 0.5982 MB / 0.716 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.22e-05/0.4754, allocations: 25.33 kB / 0.7161 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.4754, allocations: 6.844 kB / 0.7161 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.4756, allocations: 333.8 kB / 0.7164 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.4757, allocations: 31.66 kB / 0.7164 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4757, allocations: 0 / 0.7164 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.4758, allocations: 42.27 kB / 0.7165 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.4758, allocations: 59.53 kB / 0.7165 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.472e-05/0.4759, allocations: 102.9 kB / 0.7166 GB, free: 10.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4759, allocations: 27.3 kB / 0.7166 GB, free: 10.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.476, allocations: 89.16 kB / 0.7167 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-06/0.476, allocations: 9.719 kB / 0.7167 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.476, allocations: 19.27 kB / 0.7168 GB, free: 10.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4761, allocations: 319.5 kB / 0.7171 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.4761, allocations: 4.719 kB / 0.7171 GB, free: 9.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.13e-05/0.4762, allocations: 18.44 kB / 0.7171 GB, free: 9.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.4762, allocations: 25.59 kB / 0.7171 GB, free: 9.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4762, allocations: 0 / 0.7171 GB, free: 9.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.966e-05/0.4763, allocations: 45.75 kB / 0.7172 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.4763, allocations: 9.656 kB / 0.7172 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4763, allocations: 0.6094 kB / 0.7172 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.4763, allocations: 5.719 kB / 0.7172 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.715e-05/0.4764, allocations: 6.312 kB / 0.7172 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4764, allocations: 0 / 0.7172 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.4764, allocations: 1.625 kB / 0.7172 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.4764, allocations: 9.844 kB / 0.7172 GB, free: 9.641 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 6.042e-05/0.4765, allocations: 108 kB / 0.7173 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.4765, allocations: 5.562 kB / 0.7173 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.892e-05/0.4766, allocations: 118.9 kB / 0.7174 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/0.4767, allocations: 186.4 kB / 0.7176 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/0.4767, allocations: 178.2 kB / 0.7178 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.625e-05/0.4768, allocations: 180.8 kB / 0.7179 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.477, allocations: 408.4 kB / 0.7183 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/0.477, allocations: 106.8 kB / 0.7184 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.4771, allocations: 106.5 kB / 0.7185 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.383e-05/0.4771, allocations: 178.3 kB / 0.7187 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-05/0.4772, allocations: 182.1 kB / 0.7189 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-05/0.4772, allocations: 180.9 kB / 0.719 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-05/0.4773, allocations: 186 kB / 0.7192 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.4774, allocations: 310.5 kB / 0.7195 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.4775, allocations: 184.6 kB / 0.7197 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.4776, allocations: 178.1 kB / 0.7199 GB, free: 6.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4777, allocations: 111.3 kB / 0.72 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.4778, allocations: 176.9 kB / 0.7201 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.4778, allocations: 106.9 kB / 0.7202 GB, free: 6.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.4779, allocations: 90.62 kB / 0.7203 GB, free: 6.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4779, allocations: 3.938 kB / 0.7203 GB, free: 6.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002846/0.4782, allocations: 60.95 kB / 0.7204 GB, free: 6.246 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.0005063/0.4787, allocations: 0.8802 MB / 0.7212 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.361e-05/0.4787, allocations: 6.953 kB / 0.7212 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4787, allocations: 1.438 kB / 0.7213 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.4788, allocations: 8.812 kB / 0.7213 GB, free: 5.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4791, allocations: 0.5291 MB / 0.7218 GB, free: 4.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008979/0.48, allocations: 1.345 MB / 0.7231 GB, free: 3.535 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.4803, allocations: 0.6749 MB / 0.7237 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.4803, allocations: 6.781 kB / 0.7238 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.977e-05/0.4803, allocations: 8.75 kB / 0.7238 GB, free: 2.832 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.4803, allocations: 0 / 0.7238 GB, free: 2.832 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4219/0.9023, allocations: 2.074 MB / 0.7258 GB, free: 2.492 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.9025, allocations: 203.6 kB / 0.726 GB, free: 2.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/3.123, allocations: 4 kB / 0.726 GB, free: 2.23 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)