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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001119/0.001119, allocations: 114.9 kB / 16.37 MB, free: 5.539 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.001107/0.001107, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7934/0.7934, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 55.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.339, allocations: 80.18 MB / 0.5815 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1376/0.4766, allocations: 135.4 MB / 0.7137 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.4768, allocations: 55.84 kB / 0.7138 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.4769, allocations: 0 / 0.7138 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.385e-05/0.4769, allocations: 3.938 kB / 0.7138 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.4771, allocations: 15.94 kB / 0.7138 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007454/0.4778, allocations: 238 kB / 0.714 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.4779, allocations: 39.67 kB / 0.7141 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.523e-05/0.4779, allocations: 4 kB / 0.7141 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.478, allocations: 19.98 kB / 0.7141 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.478, allocations: 11.97 kB / 0.7141 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.886e-06/0.4781, allocations: 0 / 0.7141 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.4785, allocations: 251.4 kB / 0.7144 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.4785, allocations: 3.938 kB / 0.7144 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.4786, allocations: 8 kB / 0.7144 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/0.4789, allocations: 197.3 kB / 0.7146 GB, free: 5.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4789, allocations: 0 / 0.7146 GB, free: 5.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4789, allocations: 0 / 0.7146 GB, free: 5.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.4789, allocations: 4 kB / 0.7146 GB, free: 5.504 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.0003372/0.4793, allocations: 359.4 kB / 0.7149 GB, free: 5.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.4793, allocations: 8.031 kB / 0.7149 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.4793, allocations: 4.938 kB / 0.7149 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.4794, allocations: 160.4 kB / 0.7151 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.483e-05/0.4795, allocations: 34.2 kB / 0.7151 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.4795, allocations: 11.92 kB / 0.7151 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.4796, allocations: 37.69 kB / 0.7151 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-06/0.4796, allocations: 4 kB / 0.7151 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.4797, allocations: 0 / 0.7151 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.4797, allocations: 4 kB / 0.7152 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.4797, allocations: 19.92 kB / 0.7152 GB, free: 4.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.4803, allocations: 0.595 MB / 0.7158 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.847e-05/0.4804, allocations: 22.58 kB / 0.7158 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.4804, allocations: 8.859 kB / 0.7158 GB, free: 4.016 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.4806, allocations: 332.5 kB / 0.7161 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4806, allocations: 34.56 kB / 0.7161 GB, free: 3.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 3.467e-06/0.4807, allocations: 0 / 0.7161 GB, free: 3.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001187/0.4808, allocations: 41.53 kB / 0.7162 GB, free: 3.527 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.4808, allocations: 51.41 kB / 0.7162 GB, free: 3.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.4809, allocations: 110 kB / 0.7163 GB, free: 3.348 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.4809, allocations: 25.7 kB / 0.7163 GB, free: 3.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.481, allocations: 92.02 kB / 0.7164 GB, free: 3.223 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.322e-06/0.481, allocations: 11.94 kB / 0.7164 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.481, allocations: 13.72 kB / 0.7165 GB, free: 3.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4811, allocations: 314.8 kB / 0.7168 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.4811, allocations: 7.984 kB / 0.7168 GB, free: 2.867 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.4812, allocations: 13.72 kB / 0.7168 GB, free: 2.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.4812, allocations: 29.66 kB / 0.7168 GB, free: 2.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4812, allocations: 0 / 0.7168 GB, free: 2.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.256e-05/0.4813, allocations: 45.62 kB / 0.7169 GB, free: 2.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.4813, allocations: 8 kB / 0.7169 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.4813, allocations: 0 / 0.7169 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.4813, allocations: 0 / 0.7169 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.4814, allocations: 8 kB / 0.7169 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4814, allocations: 12.05 kB / 0.7169 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.4814, allocations: 3.906 kB / 0.7169 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4814, allocations: 3.938 kB / 0.7169 GB, free: 2.727 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.765e-05/0.4815, allocations: 109.8 kB / 0.717 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.4815, allocations: 0 / 0.717 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.597e-05/0.4816, allocations: 124.9 kB / 0.7171 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.578e-05/0.4817, allocations: 176.3 kB / 0.7173 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-05/0.4817, allocations: 184.2 kB / 0.7175 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/0.4818, allocations: 184.2 kB / 0.7176 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.482, allocations: 405.2 kB / 0.718 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/0.4821, allocations: 108.9 kB / 0.7181 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.4821, allocations: 101 kB / 0.7182 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-05/0.4821, allocations: 184.2 kB / 0.7184 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.4822, allocations: 188.1 kB / 0.7186 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.547e-05/0.4823, allocations: 180.3 kB / 0.7187 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.095e-05/0.4823, allocations: 188.2 kB / 0.7189 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.4825, allocations: 311.7 kB / 0.7192 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.4825, allocations: 178.1 kB / 0.7194 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.4826, allocations: 184.3 kB / 0.7196 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.4828, allocations: 109.2 kB / 0.7197 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.4828, allocations: 180.3 kB / 0.7198 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.4829, allocations: 109 kB / 0.7199 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.4829, allocations: 95.2 kB / 0.72 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4829, allocations: 0 / 0.72 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002814/0.4832, allocations: 55.94 kB / 0.7201 GB, free: 15.23 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.0002668/0.4835, allocations: 250.4 kB / 0.7203 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.929e-05/0.4836, allocations: 4 kB / 0.7203 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.4836, allocations: 0 / 0.7203 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.4836, allocations: 4 kB / 0.7203 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.4839, allocations: 463.6 kB / 0.7208 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.4841, allocations: 181.9 kB / 0.721 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.4844, allocations: 0.6768 MB / 0.7216 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.4844, allocations: 4 kB / 0.7216 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.4844, allocations: 11.44 kB / 0.7216 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4844, allocations: 0 / 0.7216 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.003314/0.4877, allocations: 1.298 MB / 0.7229 GB, free: 12.3 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (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 & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)