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.001266/0.001266, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001397/0.001397, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7667/0.7667, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.91 kB / 0.5067 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3613, allocations: 80.9 MB / 0.5857 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1443/0.5057, allocations: 135.4 MB / 0.718 GB, free: 2.836 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001617/0.5059, allocations: 59.78 kB / 0.7181 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.807e-05/0.5059, allocations: 0 / 0.7181 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.598e-05/0.506, allocations: 4 kB / 0.7181 GB, free: 2.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.5061, allocations: 7.922 kB / 0.7181 GB, free: 2.766 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007772/0.5068, allocations: 239 kB / 0.7183 GB, free: 2.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.5069, allocations: 35.84 kB / 0.7183 GB, free: 2.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.507, allocations: 7.984 kB / 0.7183 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.507, allocations: 11.94 kB / 0.7184 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.454e-05/0.5071, allocations: 15.97 kB / 0.7184 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.5071, allocations: 4 kB / 0.7184 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.5075, allocations: 247.4 kB / 0.7186 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.956e-05/0.5076, allocations: 8 kB / 0.7186 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.5076, allocations: 11.92 kB / 0.7186 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.5079, allocations: 193.4 kB / 0.7188 GB, free: 2.008 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.5079, allocations: 0 / 0.7188 GB, free: 2.008 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5079, allocations: 0 / 0.7188 GB, free: 2.008 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.5079, allocations: 0 / 0.7188 GB, free: 2.008 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.0003396/0.5083, allocations: 359.4 kB / 0.7192 GB, free: 1.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.5083, allocations: 13.11 kB / 0.7192 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.5083, allocations: 4.938 kB / 0.7192 GB, free: 1.594 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.702e-05/0.5084, allocations: 160.4 kB / 0.7193 GB, free: 1.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.5085, allocations: 34.25 kB / 0.7194 GB, free: 1.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.5085, allocations: 3.938 kB / 0.7194 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.5086, allocations: 45.62 kB / 0.7194 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.5086, allocations: 4 kB / 0.7194 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.5087, allocations: 3.938 kB / 0.7194 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.5087, allocations: 3.984 kB / 0.7194 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.5087, allocations: 15.98 kB / 0.7194 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.5094, allocations: 0.595 MB / 0.72 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 2.951e-05/0.5094, allocations: 18.58 kB / 0.72 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.156e-05/0.5094, allocations: 8.797 kB / 0.72 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.5096, allocations: 340.5 kB / 0.7204 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5097, allocations: 38.56 kB / 0.7204 GB, free: 68 kB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.5097, allocations: 3.938 kB / 0.7204 GB, free: 64 kB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.5098, allocations: 41.59 kB / 0.7204 GB, free: 16 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.5098, allocations: 51.41 kB / 0.7205 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.39e-05/0.5099, allocations: 101.8 kB / 0.7206 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5099, allocations: 25.7 kB / 0.7206 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.51, allocations: 84.14 kB / 0.7207 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.683e-06/0.51, allocations: 7.844 kB / 0.7207 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.51, allocations: 21.84 kB / 0.7207 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5101, allocations: 318.7 kB / 0.721 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.5101, allocations: 7.984 kB / 0.721 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.5102, allocations: 17.72 kB / 0.7211 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.5102, allocations: 13.72 kB / 0.7211 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5102, allocations: 4 kB / 0.7211 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.283e-05/0.5103, allocations: 53.62 kB / 0.7211 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5103, allocations: 4 kB / 0.7211 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.5103, allocations: 0 / 0.7211 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.5103, allocations: 0 / 0.7211 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.96e-05/0.5104, allocations: 11.98 kB / 0.7211 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.5104, allocations: 0 / 0.7211 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.5104, allocations: 0 / 0.7211 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.5104, allocations: 7.938 kB / 0.7211 GB, free: 15.23 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 6.491e-05/0.5105, allocations: 113.9 kB / 0.7213 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.5105, allocations: 3.906 kB / 0.7213 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.358e-05/0.5106, allocations: 120.9 kB / 0.7214 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.388e-05/0.5107, allocations: 176.3 kB / 0.7215 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.5107, allocations: 192.2 kB / 0.7217 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.5108, allocations: 176.3 kB / 0.7219 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.511, allocations: 413.1 kB / 0.7223 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.915e-05/0.5111, allocations: 105 kB / 0.7224 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.5111, allocations: 104.9 kB / 0.7225 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.618e-05/0.5112, allocations: 184.2 kB / 0.7227 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.453e-05/0.5112, allocations: 180.3 kB / 0.7228 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-05/0.5113, allocations: 184.2 kB / 0.723 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-05/0.5113, allocations: 180.3 kB / 0.7232 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.5115, allocations: 311.7 kB / 0.7235 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.5115, allocations: 182.1 kB / 0.7236 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.5116, allocations: 188.1 kB / 0.7238 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.5118, allocations: 109.2 kB / 0.7239 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.5118, allocations: 180.3 kB / 0.7241 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.5119, allocations: 109 kB / 0.7242 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.5119, allocations: 87.2 kB / 0.7243 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5119, allocations: 4 kB / 0.7243 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002925/0.5122, allocations: 55.94 kB / 0.7243 GB, free: 11.73 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.0003088/0.5125, allocations: 250.7 kB / 0.7246 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.5126, allocations: 12 kB / 0.7246 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5126, allocations: 128 / 0.7246 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.5126, allocations: 7.938 kB / 0.7246 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.513, allocations: 459.7 kB / 0.725 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.5132, allocations: 173.9 kB / 0.7252 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.5135, allocations: 0.6768 MB / 0.7259 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.5135, allocations: 11.06 kB / 0.7259 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.5135, allocations: 7.438 kB / 0.7259 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5136, allocations: 0 / 0.7259 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.00342/0.517, allocations: 1.294 MB / 0.7272 GB, free: 8.797 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)