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.001218/0.001218, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.858/0.858, allocations: 133.6 MB / 141.6 MB, free: 2.785 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.538/1.538, allocations: 221.5 MB / 395.5 MB, free: 10.77 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.0009103/0.0009103, allocations: 106 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.63e-05, allocations: 4 kB / 0.5534 GB, free: 9.078 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5149, allocations: 82.3 MB / 0.6338 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9871/1.502, allocations: 417.3 MB / 1.041 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.502, allocations: 73.39 kB / 1.041 GB, free: 1.453 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5807/2.083, allocations: 22.99 MB / 1.064 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/2.083, allocations: 0.6562 kB / 1.064 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.336e-06/2.083, allocations: 1.75 kB / 1.064 GB, free: 227.5 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.0004002/2.084, allocations: 354.5 kB / 1.064 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/2.084, allocations: 12.5 kB / 1.064 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/2.084, allocations: 6.188 kB / 1.064 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.884e-05/2.084, allocations: 165.1 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/2.084, allocations: 32.61 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/2.084, allocations: 1 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.73e-05/2.084, allocations: 13.58 kB / 1.064 GB, free: 227 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.498e-05/2.084, allocations: 50.75 kB / 1.064 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/2.084, allocations: 0.75 kB / 1.064 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/2.084, allocations: 0 / 1.064 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/2.084, allocations: 1.438 kB / 1.064 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/2.085, allocations: 0.5791 MB / 1.065 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/2.085, allocations: 16.45 kB / 1.065 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/2.085, allocations: 7.203 kB / 1.065 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/2.085, allocations: 0.4974 MB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/2.085, allocations: 33.52 kB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/2.085, allocations: 1.312 kB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002453/2.085, allocations: 39.47 kB / 1.066 GB, free: 225.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/2.085, allocations: 56.22 kB / 1.066 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.206e-05/2.085, allocations: 93.83 kB / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/2.085, allocations: 26.48 kB / 1.066 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/2.086, allocations: 91.16 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/2.086, allocations: 5.484 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/2.086, allocations: 1.844 kB / 1.066 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/2.086, allocations: 319.7 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/2.086, allocations: 2.078 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/2.086, allocations: 18.75 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/2.086, allocations: 18.16 kB / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/2.086, allocations: 0 / 1.066 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002147/2.086, allocations: 66.69 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/2.086, allocations: 7.219 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/2.086, allocations: 0.7188 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/2.086, allocations: 1.125 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.989e-05/2.086, allocations: 5.719 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/2.086, allocations: 1.391 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/2.086, allocations: 1.5 kB / 1.066 GB, free: 225 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/2.086, allocations: 3.656 kB / 1.066 GB, free: 225 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.25e-05/2.086, allocations: 112.5 kB / 1.066 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/2.086, allocations: 2.172 kB / 1.066 GB, free: 224.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.144e-05/2.086, allocations: 123.6 kB / 1.067 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/2.086, allocations: 181 kB / 1.067 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/2.086, allocations: 177.8 kB / 1.067 GB, free: 224.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/2.087, allocations: 178.5 kB / 1.067 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/2.087, allocations: 394.4 kB / 1.067 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/2.087, allocations: 103.4 kB / 1.068 GB, free: 223.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/2.087, allocations: 107 kB / 1.068 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.673e-05/2.087, allocations: 179.8 kB / 1.068 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/2.087, allocations: 180.4 kB / 1.068 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.553e-05/2.087, allocations: 180.6 kB / 1.068 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.04e-05/2.087, allocations: 185.9 kB / 1.068 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.058e-05/2.087, allocations: 300.1 kB / 1.069 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/2.087, allocations: 195.2 kB / 1.069 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/2.087, allocations: 179.7 kB / 1.069 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/2.087, allocations: 108.5 kB / 1.069 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/2.087, allocations: 187.9 kB / 1.069 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/2.087, allocations: 102.4 kB / 1.069 GB, free: 221.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.222e-05/2.087, allocations: 83.81 kB / 1.069 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.383e-06/2.087, allocations: 1.156 kB / 1.069 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003949/2.088, allocations: 86.61 kB / 1.07 GB, free: 221.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.001034/2.089, allocations: 0.7198 MB / 1.07 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/2.089, allocations: 6.422 kB / 1.07 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/2.089, allocations: 2.719 kB / 1.07 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-06/2.089, allocations: 1.25 kB / 1.07 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/2.089, allocations: 0.5262 MB / 1.071 GB, free: 221 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001613/2.089, allocations: 133.5 kB / 1.071 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/2.089, allocations: 0.6756 MB / 1.072 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.68e-05/2.089, allocations: 15.58 kB / 1.072 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/2.09, allocations: 9.516 kB / 1.072 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/2.09, allocations: 0.6562 kB / 1.072 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.009071/2.099, allocations: 3.855 MB / 1.075 GB, free: 219.6 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)