Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009951/0.009951, allocations: 172.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8033/0.8033, allocations: 132.3 MB / 148.1 MB, free: 272 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.805/1.805, allocations: 223.2 MB / 403.2 MB, free: 6.773 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.00115/0.00115, allocations: 93.98 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003623, allocations: 12 kB / 0.5641 GB, free: 2.129 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4818, allocations: 81.58 MB / 0.6437 GB, free: 39.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.941, allocations: 0.6526 GB / 1.296 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/1.941, allocations: 75.53 kB / 1.296 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5885/2.529, allocations: 64.93 MB / 1.36 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.995e-06/2.529, allocations: 0 / 1.36 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.935e-06/2.529, allocations: 0 / 1.36 GB, free: 221.6 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002674/2.532, allocations: 0.4992 MB / 1.36 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/2.532, allocations: 8.031 kB / 1.36 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000475/2.533, allocations: 27.75 kB / 1.36 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/2.533, allocations: 168.3 kB / 1.361 GB, free: 220.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/2.533, allocations: 33.5 kB / 1.361 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/2.533, allocations: 11.95 kB / 1.361 GB, free: 220.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/2.533, allocations: 121.8 kB / 1.361 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/2.533, allocations: 0 / 1.361 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/2.533, allocations: 4 kB / 1.361 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/2.533, allocations: 4 kB / 1.361 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/2.534, allocations: 114.9 kB / 1.361 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/2.534, allocations: 337.2 kB / 1.361 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/2.535, allocations: 121.8 kB / 1.361 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/2.545, allocations: 4.157 MB / 1.365 GB, free: 216.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/2.545, allocations: 30.56 kB / 1.365 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.975e-06/2.545, allocations: 0 / 1.365 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0006797/2.546, allocations: 170 kB / 1.365 GB, free: 216.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/2.546, allocations: 51.41 kB / 1.366 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/2.546, allocations: 96.75 kB / 1.366 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/2.546, allocations: 29.7 kB / 1.366 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/2.546, allocations: 81.62 kB / 1.366 GB, free: 216 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/2.546, allocations: 51.16 kB / 1.366 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/2.546, allocations: 0 / 1.366 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.578e-05/2.546, allocations: 318.6 kB / 1.366 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/2.546, allocations: 27.7 kB / 1.366 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/2.546, allocations: 24.2 kB / 1.366 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.126e-05/2.546, allocations: 27.62 kB / 1.366 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.546, allocations: 7.953 kB / 1.366 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000155/2.546, allocations: 109.1 kB / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/2.547, allocations: 4 kB / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.547, allocations: 0 / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/2.547, allocations: 0 / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/2.547, allocations: 27.69 kB / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/2.547, allocations: 3.938 kB / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/2.547, allocations: 11.61 kB / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/2.547, allocations: 8 kB / 1.366 GB, free: 215.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 7.901e-05/2.547, allocations: 117.8 kB / 1.366 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/2.547, allocations: 11.86 kB / 1.366 GB, free: 215.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/2.547, allocations: 369.5 kB / 1.367 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/2.547, allocations: 8 kB / 1.367 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/2.547, allocations: 0 / 1.367 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/2.547, allocations: 7.75 kB / 1.367 GB, free: 214.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/2.548, allocations: 276.8 kB / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/2.548, allocations: 3.953 kB / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.725e-05/2.548, allocations: 19.56 kB / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/2.548, allocations: 3.75 kB / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/2.548, allocations: 8 kB / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/2.548, allocations: 3.938 kB / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/2.548, allocations: 0 / 1.367 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/2.548, allocations: 321.1 kB / 1.367 GB, free: 214.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/2.548, allocations: 112.1 kB / 1.368 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/2.548, allocations: 4 kB / 1.368 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/2.548, allocations: 4 kB / 1.368 GB, free: 214.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/2.548, allocations: 11.7 kB / 1.368 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/2.548, allocations: 7.656 kB / 1.368 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.462e-05/2.548, allocations: 79.28 kB / 1.368 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/2.548, allocations: 0 / 1.368 GB, free: 214.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002161/2.551, allocations: 343 kB / 1.368 GB, free: 213.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: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001932/2.553, allocations: 0.8343 MB / 1.369 GB, free: 213.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002127/2.553, allocations: 125.7 kB / 1.369 GB, free: 213 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/2.553, allocations: 0 / 1.369 GB, free: 213 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/2.553, allocations: 115 kB / 1.369 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/2.553, allocations: 15.75 kB / 1.369 GB, free: 212.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/2.554, allocations: 392.5 kB / 1.369 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/2.554, allocations: 0.7234 MB / 1.37 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001109/2.554, allocations: 24.12 kB / 1.37 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/2.554, allocations: 19.44 kB / 1.37 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.554, allocations: 0 / 1.37 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.02063/2.575, allocations: 15.47 MB / 1.385 GB, free: 201.9 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)