Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009806/0.009807, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8376/0.8376, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.657/1.657, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.001118/0.001118, allocations: 98.08 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5505, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.106/2.656, allocations: 0.6529 GB / 1.302 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004541/2.657, allocations: 74.89 kB / 1.302 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2253/2.882, allocations: 64.94 MB / 1.366 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.515e-06/2.882, allocations: 0 / 1.366 GB, free: 208.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.644e-06/2.882, allocations: 0 / 1.366 GB, free: 208.8 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.002115/2.884, allocations: 0.5018 MB / 1.366 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/2.884, allocations: 8.031 kB / 1.366 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005321/2.885, allocations: 27.7 kB / 1.366 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/2.885, allocations: 170.9 kB / 1.366 GB, free: 208.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/2.885, allocations: 37.64 kB / 1.367 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/2.885, allocations: 4 kB / 1.367 GB, free: 208 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/2.886, allocations: 124.8 kB / 1.367 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/2.886, allocations: 0 / 1.367 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/2.886, allocations: 0 / 1.367 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/2.886, allocations: 3.953 kB / 1.367 GB, free: 207.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004103/2.886, allocations: 122.5 kB / 1.367 GB, free: 207.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/2.887, allocations: 319.5 kB / 1.367 GB, free: 207.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/2.887, allocations: 129.4 kB / 1.367 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01537/2.902, allocations: 4.151 MB / 1.371 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/2.902, allocations: 34.56 kB / 1.371 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/2.902, allocations: 4 kB / 1.371 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0008173/2.903, allocations: 172.5 kB / 1.371 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/2.903, allocations: 55.41 kB / 1.372 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/2.903, allocations: 96.98 kB / 1.372 GB, free: 203.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/2.903, allocations: 25.7 kB / 1.372 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/2.903, allocations: 83.75 kB / 1.372 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/2.904, allocations: 47.3 kB / 1.372 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/2.904, allocations: 4 kB / 1.372 GB, free: 203.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/2.904, allocations: 318.8 kB / 1.372 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.478e-05/2.904, allocations: 23.7 kB / 1.372 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/2.904, allocations: 32.61 kB / 1.372 GB, free: 202.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.988e-05/2.904, allocations: 27.62 kB / 1.372 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/2.904, allocations: 0 / 1.372 GB, free: 202.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002477/2.904, allocations: 105 kB / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/2.904, allocations: 8 kB / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/2.904, allocations: 0 / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/2.904, allocations: 7.891 kB / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/2.904, allocations: 23.7 kB / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/2.904, allocations: 4 kB / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.647e-05/2.905, allocations: 11.84 kB / 1.372 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/2.905, allocations: 4 kB / 1.372 GB, free: 202.6 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 0.0001015/2.905, allocations: 109.8 kB / 1.372 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.845e-05/2.905, allocations: 7.906 kB / 1.372 GB, free: 202.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/2.905, allocations: 378.7 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/2.905, allocations: 7.891 kB / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/2.905, allocations: 0 / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/2.905, allocations: 0 / 1.373 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/2.906, allocations: 276.3 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.906, allocations: 4 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/2.906, allocations: 23.94 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.906, allocations: 0 / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/2.906, allocations: 7.656 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/2.906, allocations: 8 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.906, allocations: 3.953 kB / 1.373 GB, free: 201.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/2.907, allocations: 329.2 kB / 1.373 GB, free: 201.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.88e-05/2.907, allocations: 104.8 kB / 1.373 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/2.907, allocations: 4 kB / 1.373 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/2.907, allocations: 7.938 kB / 1.374 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/2.907, allocations: 11.56 kB / 1.374 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/2.907, allocations: 12 kB / 1.374 GB, free: 201.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.789e-05/2.907, allocations: 83.03 kB / 1.374 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/2.907, allocations: 0 / 1.374 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002789/2.91, allocations: 339.4 kB / 1.374 GB, free: 200.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: 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.003257/2.913, allocations: 0.8349 MB / 1.375 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004143/2.913, allocations: 116.8 kB / 1.375 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/2.913, allocations: 0 / 1.375 GB, free: 200 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/2.914, allocations: 107.8 kB / 1.375 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/2.914, allocations: 20.97 kB / 1.375 GB, free: 199.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/2.915, allocations: 396.6 kB / 1.375 GB, free: 199.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/2.915, allocations: 0.7162 MB / 1.376 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001955/2.916, allocations: 32.09 kB / 1.376 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/2.916, allocations: 19 kB / 1.376 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.8e-07/2.916, allocations: 4 kB / 1.376 GB, free: 198.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.02786/2.944, allocations: 15.46 MB / 1.391 GB, free: 184.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)