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/Complex 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) 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-master/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001353, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7566/0.7566, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009458, allocations: 89.28 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.921e-05, allocations: 2.781 kB / 0.56 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 82.31 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.624/1.828, allocations: 418 MB / 1.049 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.828, allocations: 74.34 kB / 1.049 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04867/1.877, allocations: 23.41 MB / 1.072 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/1.877, allocations: 4 kB / 1.072 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.877, allocations: 0 / 1.072 GB, free: 157.2 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.0003442/1.877, allocations: 357.7 kB / 1.072 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/1.877, allocations: 8.031 kB / 1.072 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/1.877, allocations: 12.58 kB / 1.072 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/1.878, allocations: 170.9 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/1.878, allocations: 25.7 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/1.878, allocations: 4 kB / 1.072 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/1.878, allocations: 44.94 kB / 1.072 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/1.878, allocations: 0 / 1.072 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.878, allocations: 0 / 1.072 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/1.878, allocations: 0 / 1.072 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/1.878, allocations: 18.94 kB / 1.072 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/1.879, allocations: 0.5961 MB / 1.073 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/1.879, allocations: 26.45 kB / 1.073 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/1.879, allocations: 4.859 kB / 1.073 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/1.879, allocations: 0.4935 MB / 1.073 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/1.879, allocations: 38 kB / 1.073 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/1.879, allocations: 0 / 1.073 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/1.879, allocations: 41.64 kB / 1.073 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/1.879, allocations: 55.34 kB / 1.073 GB, free: 155 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.865e-05/1.879, allocations: 99.67 kB / 1.073 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.879, allocations: 25.7 kB / 1.073 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/1.879, allocations: 87.98 kB / 1.074 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/1.879, allocations: 3.984 kB / 1.074 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/1.879, allocations: 3.188 kB / 1.074 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/1.879, allocations: 314.8 kB / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/1.879, allocations: 0 / 1.074 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/1.879, allocations: 20.5 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/1.879, allocations: 4 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.879, allocations: 3.984 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.069e-05/1.879, allocations: 52.98 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.88, allocations: 4 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.88, allocations: 0 / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/1.88, allocations: 64 / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.269e-05/1.88, allocations: 15.94 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.88, allocations: 7.938 kB / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/1.88, allocations: 0 / 1.074 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/1.88, allocations: 0 / 1.074 GB, free: 154.4 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 5.762e-05/1.88, allocations: 106.7 kB / 1.074 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/1.88, allocations: 0 / 1.074 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/1.88, allocations: 124 kB / 1.074 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.601e-05/1.88, allocations: 180.3 kB / 1.074 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.678e-05/1.88, allocations: 184.2 kB / 1.075 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-05/1.88, allocations: 183.5 kB / 1.075 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/1.88, allocations: 397.2 kB / 1.075 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/1.88, allocations: 112 kB / 1.075 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/1.88, allocations: 109 kB / 1.075 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.484e-05/1.88, allocations: 180.2 kB / 1.075 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/1.88, allocations: 176.3 kB / 1.076 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.067e-05/1.88, allocations: 180.3 kB / 1.076 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-05/1.88, allocations: 191.8 kB / 1.076 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/1.88, allocations: 311.7 kB / 1.076 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/1.881, allocations: 184.8 kB / 1.076 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/1.881, allocations: 180.3 kB / 1.077 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/1.881, allocations: 116.9 kB / 1.077 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/1.881, allocations: 179.8 kB / 1.077 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/1.881, allocations: 108.9 kB / 1.077 GB, free: 151 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.542e-05/1.881, allocations: 87.27 kB / 1.077 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.881, allocations: 0 / 1.077 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004368/1.881, allocations: 85.56 kB / 1.077 GB, free: 150.9 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.000752/1.882, allocations: 0.6434 MB / 1.078 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.855e-05/1.882, allocations: 4 kB / 1.078 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.882, allocations: 4 kB / 1.078 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/1.882, allocations: 3.938 kB / 1.078 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/1.882, allocations: 0.5265 MB / 1.078 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/1.883, allocations: 135.3 kB / 1.078 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/1.883, allocations: 0.677 MB / 1.079 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.575e-05/1.883, allocations: 11.98 kB / 1.079 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/1.883, allocations: 7.438 kB / 1.079 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/1.883, allocations: 0 / 1.079 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01095/1.894, allocations: 8.763 MB / 1.088 GB, free: 140.1 MB / 0.6823 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)