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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 170.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7606/0.7606, allocations: 130.7 MB / 138.7 MB, free: 3.539 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 221.5 MB / 391.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009549/0.0009545, allocations: 94.16 kB / 473.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.542e-05, allocations: 0 / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4452, allocations: 81.57 MB / 0.6282 GB, free: 42.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.858/1.303, allocations: 417.1 MB / 1.035 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/1.304, allocations: 79.62 kB / 1.036 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05292/1.356, allocations: 22.99 MB / 1.058 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.673e-06/1.357, allocations: 0 / 1.058 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.787e-06/1.357, allocations: 7.938 kB / 1.058 GB, free: 6.176 MB / 0.6823 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.0004362/1.357, allocations: 354.1 kB / 1.058 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.357, allocations: 12.03 kB / 1.058 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.208e-05/1.357, allocations: 3.953 kB / 1.058 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/1.357, allocations: 167 kB / 1.059 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.451e-05/1.357, allocations: 29.7 kB / 1.059 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/1.357, allocations: 0 / 1.059 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.17e-05/1.357, allocations: 11.94 kB / 1.059 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/1.358, allocations: 41.62 kB / 1.059 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.358, allocations: 4 kB / 1.059 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.358, allocations: 7.984 kB / 1.059 GB, free: 5.469 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/1.358, allocations: 7.938 kB / 1.059 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/1.358, allocations: 0.5703 MB / 1.059 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.938e-05/1.359, allocations: 22.52 kB / 1.059 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/1.359, allocations: 8.797 kB / 1.059 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000379/1.359, allocations: 0.5019 MB / 1.06 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.359, allocations: 30.56 kB / 1.06 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/1.359, allocations: 4 kB / 1.06 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002907/1.359, allocations: 41.64 kB / 1.06 GB, free: 4.055 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/1.359, allocations: 51.41 kB / 1.06 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/1.359, allocations: 96.42 kB / 1.06 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.359, allocations: 29.73 kB / 1.06 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/1.359, allocations: 91.98 kB / 1.06 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.418e-06/1.36, allocations: 0 / 1.06 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/1.36, allocations: 0 / 1.06 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.36, allocations: 314.5 kB / 1.06 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/1.36, allocations: 4 kB / 1.06 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/1.36, allocations: 13.72 kB / 1.06 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/1.36, allocations: 31.47 kB / 1.06 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.36, allocations: 0 / 1.06 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/1.36, allocations: 53.59 kB / 1.06 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.36, allocations: 7.984 kB / 1.06 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.36, allocations: 4 kB / 1.06 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.36, allocations: 0 / 1.06 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/1.36, allocations: 4 kB / 1.06 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.36, allocations: 3.953 kB / 1.06 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/1.36, allocations: 3.625 kB / 1.06 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/1.36, allocations: 8.062 kB / 1.06 GB, free: 3.316 MB / 0.6823 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 () * 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.975e-05/1.36, allocations: 104.9 kB / 1.061 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/1.36, allocations: 7.938 kB / 1.061 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/1.361, allocations: 113.6 kB / 1.061 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-05/1.361, allocations: 180.3 kB / 1.061 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.908e-05/1.361, allocations: 180.2 kB / 1.061 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.526e-05/1.361, allocations: 187.8 kB / 1.061 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/1.361, allocations: 381.8 kB / 1.062 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/1.361, allocations: 104.9 kB / 1.062 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/1.361, allocations: 105 kB / 1.062 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-05/1.361, allocations: 176.3 kB / 1.062 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/1.361, allocations: 191.6 kB / 1.062 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.617e-05/1.361, allocations: 180.2 kB / 1.062 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.587e-05/1.361, allocations: 180.3 kB / 1.062 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/1.361, allocations: 311.3 kB / 1.063 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/1.362, allocations: 190 kB / 1.063 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/1.362, allocations: 184.2 kB / 1.063 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/1.362, allocations: 105 kB / 1.063 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/1.362, allocations: 176.3 kB / 1.063 GB, free: 140 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/1.362, allocations: 104.9 kB / 1.063 GB, free: 28 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.4293/1.791, allocations: 90.89 kB / 1.064 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.61e-07/1.791, allocations: 3.562 kB / 1.064 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005344/1.792, allocations: 76.48 kB / 1.064 GB, free: 228.7 MB / 0.6823 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 () * 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.001035/1.793, allocations: 0.7096 MB / 1.064 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001047/1.793, allocations: 9.938 kB / 1.064 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.793, allocations: 2.25 kB / 1.064 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/1.793, allocations: 0.5312 kB / 1.064 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/1.793, allocations: 0.5238 MB / 1.065 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/1.793, allocations: 124 kB / 1.065 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/1.794, allocations: 0.6774 MB / 1.066 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.812e-05/1.794, allocations: 10.05 kB / 1.066 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/1.794, allocations: 10.62 kB / 1.066 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/1.794, allocations: 0 / 1.066 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.009284/1.803, allocations: 3.852 MB / 1.069 GB, free: 226.7 MB / 0.6823 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)