Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_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.001493/0.001493, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002194/0.002194, allocations: 193.4 kB / 16.25 MB, free: 6.629 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 / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 59.84 kB / 0.5013 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 80.21 MB / 0.5797 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.328/0.4603, allocations: 133.5 MB / 0.71 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.4604, allocations: 52.94 kB / 0.7101 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.705e-05/0.4605, allocations: 1.406 kB / 0.7101 GB, free: 1 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.953e-05/0.4606, allocations: 5.172 kB / 0.7101 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.4607, allocations: 12.73 kB / 0.7101 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.4614, allocations: 234.6 kB / 0.7103 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.571e-05/0.4615, allocations: 34.12 kB / 0.7104 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.141e-05/0.4615, allocations: 2.453 kB / 0.7104 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.4615, allocations: 15.52 kB / 0.7104 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.4616, allocations: 24.19 kB / 0.7104 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.4616, allocations: 1.594 kB / 0.7104 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.462, allocations: 244.2 kB / 0.7106 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.4621, allocations: 8.109 kB / 0.7106 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.4621, allocations: 15.14 kB / 0.7107 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.4624, allocations: 198.2 kB / 0.7108 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4624, allocations: 0 / 0.7108 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4624, allocations: 0 / 0.7108 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.4625, allocations: 1.469 kB / 0.7108 GB, free: 0.6953 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.0003744/0.4628, allocations: 357.7 kB / 0.7112 GB, free: 336 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.4629, allocations: 13.62 kB / 0.7112 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.4629, allocations: 33.05 kB / 0.7112 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.4629, allocations: 2.094 kB / 0.7112 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.893e-05/0.463, allocations: 170.9 kB / 0.7114 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.4631, allocations: 27.86 kB / 0.7114 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.4631, allocations: 10.41 kB / 0.7114 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.4632, allocations: 40.77 kB / 0.7115 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.4632, allocations: 0 / 0.7115 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.4633, allocations: 0 / 0.7115 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.4633, allocations: 2.125 kB / 0.7115 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.4633, allocations: 21.77 kB / 0.7115 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006775/0.464, allocations: 0.5958 MB / 0.7121 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.91e-05/0.464, allocations: 18.11 kB / 0.7121 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.4641, allocations: 5.469 kB / 0.7121 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.4643, allocations: 339 kB / 0.7124 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4643, allocations: 31.62 kB / 0.7124 GB, free: 14.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.4643, allocations: 4 kB / 0.7125 GB, free: 14.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000115/0.4644, allocations: 41.11 kB / 0.7125 GB, free: 14.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4645, allocations: 52.59 kB / 0.7125 GB, free: 14.79 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.4645, allocations: 102.3 kB / 0.7126 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.4645, allocations: 30.73 kB / 0.7127 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.4646, allocations: 85.7 kB / 0.7128 GB, free: 14.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.4646, allocations: 9.906 kB / 0.7128 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.4646, allocations: 14.69 kB / 0.7128 GB, free: 14.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.4647, allocations: 321.8 kB / 0.7131 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.4647, allocations: 3.203 kB / 0.7131 GB, free: 14.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.4648, allocations: 17.62 kB / 0.7131 GB, free: 14.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.28e-05/0.4648, allocations: 25.33 kB / 0.7131 GB, free: 14.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4648, allocations: 1.156 kB / 0.7131 GB, free: 14.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.635e-05/0.4649, allocations: 45.31 kB / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.4649, allocations: 5.469 kB / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.217e-06/0.4649, allocations: 1.406 kB / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4649, allocations: 288 / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.558e-05/0.465, allocations: 11.06 kB / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.465, allocations: 0 / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.465, allocations: 6.188 kB / 0.7132 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.465, allocations: 9.719 kB / 0.7132 GB, free: 14.13 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.122e-05/0.4651, allocations: 109.3 kB / 0.7133 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.4651, allocations: 12.7 kB / 0.7133 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.499e-05/0.4652, allocations: 118.7 kB / 0.7134 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.721e-05/0.4653, allocations: 181.9 kB / 0.7136 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.854e-05/0.4653, allocations: 177.9 kB / 0.7138 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.106e-05/0.4654, allocations: 182 kB / 0.7139 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4656, allocations: 412.2 kB / 0.7143 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/0.4656, allocations: 102.7 kB / 0.7144 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.4657, allocations: 106.8 kB / 0.7145 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.607e-05/0.4657, allocations: 179.6 kB / 0.7147 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.4658, allocations: 182.1 kB / 0.7149 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-05/0.4658, allocations: 177 kB / 0.7151 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.957e-05/0.4659, allocations: 194 kB / 0.7152 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.466, allocations: 302.7 kB / 0.7155 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.4661, allocations: 184 kB / 0.7157 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/0.4661, allocations: 182.9 kB / 0.7159 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4663, allocations: 110.5 kB / 0.716 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.4663, allocations: 181.5 kB / 0.7162 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.4664, allocations: 102.4 kB / 0.7163 GB, free: 10.84 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.4664, allocations: 93.56 kB / 0.7163 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4664, allocations: 3.938 kB / 0.7163 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002669/0.4667, allocations: 52.88 kB / 0.7164 GB, free: 10.74 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.0004677/0.4672, allocations: 0.8845 MB / 0.7173 GB, free: 9.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.584e-05/0.4672, allocations: 15.09 kB / 0.7173 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4672, allocations: 1.125 kB / 0.7173 GB, free: 9.895 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.4672, allocations: 3.938 kB / 0.7173 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.4676, allocations: 457.8 kB / 0.7177 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008167/0.4684, allocations: 1.346 MB / 0.719 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.4687, allocations: 0.6737 MB / 0.7197 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.4687, allocations: 6.016 kB / 0.7197 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.4687, allocations: 9.719 kB / 0.7197 GB, free: 7.398 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4687, allocations: 0 / 0.7197 GB, free: 7.398 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/0.6989, allocations: 2.112 MB / 0.7218 GB, free: 7.062 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.6992, allocations: 190.5 kB / 0.722 GB, free: 6.812 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/2.424, allocations: 0 / 0.722 GB, free: 6.812 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)