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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 106.1 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 189.5 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9056/0.9056, allocations: 135.2 MB / 425.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.91 kB / 0.5055 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3624, allocations: 80.93 MB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1517/0.5141, allocations: 133.7 MB / 0.7151 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.5257, allocations: 7.964 MB / 0.7229 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.5258, allocations: 0 / 0.7229 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.5261, allocations: 23.91 kB / 0.7229 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.895e-05/0.5262, allocations: 15.84 kB / 0.7229 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.5305, allocations: 1.293 MB / 0.7242 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.5306, allocations: 71.7 kB / 0.7242 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.5307, allocations: 4 kB / 0.7242 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.5308, allocations: 47.84 kB / 0.7243 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.5309, allocations: 31.84 kB / 0.7243 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.5309, allocations: 7.938 kB / 0.7243 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/0.5358, allocations: 2.653 MB / 0.7269 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.5359, allocations: 19.91 kB / 0.7269 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.5359, allocations: 27.86 kB / 0.727 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.5375, allocations: 0.9279 MB / 0.7279 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5375, allocations: 0 / 0.7279 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5375, allocations: 0 / 0.7279 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5375, allocations: 0 / 0.7279 GB, free: 7.535 MB / 0.5606 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.001258/0.5388, allocations: 0.4961 MB / 0.7283 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5388, allocations: 9.109 kB / 0.7284 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.5392, allocations: 24.92 kB / 0.7284 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.5394, allocations: 176.2 kB / 0.7285 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/0.5395, allocations: 34.27 kB / 0.7286 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.5395, allocations: 7.938 kB / 0.7286 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.5399, allocations: 125.5 kB / 0.7287 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5399, allocations: 0 / 0.7287 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.5399, allocations: 0 / 0.7287 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.54, allocations: 4 kB / 0.7287 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.5403, allocations: 115.9 kB / 0.7288 GB, free: 6.457 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.5409, allocations: 376.1 kB / 0.7292 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.5412, allocations: 131.4 kB / 0.7293 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.404e-05/0.5413, allocations: 48.84 kB / 0.7294 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.5531, allocations: 4.207 MB / 0.7335 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.5532, allocations: 34.56 kB / 0.7335 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.5532, allocations: 4 kB / 0.7335 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005313/0.5537, allocations: 161.2 kB / 0.7337 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.5538, allocations: 55.41 kB / 0.7337 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.254e-05/0.5539, allocations: 101.8 kB / 0.7338 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5539, allocations: 33.7 kB / 0.7338 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.554, allocations: 84.05 kB / 0.7339 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.554, allocations: 51.52 kB / 0.734 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.5541, allocations: 29.64 kB / 0.734 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5543, allocations: 318.8 kB / 0.7343 GB, free: 412 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.5543, allocations: 31.98 kB / 0.7343 GB, free: 380 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.223e-05/0.5544, allocations: 23.98 kB / 0.7343 GB, free: 356 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.5545, allocations: 68.78 kB / 0.7344 GB, free: 284 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5545, allocations: 4 kB / 0.7344 GB, free: 280 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002051/0.5547, allocations: 113.6 kB / 0.7345 GB, free: 160 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5548, allocations: 4 kB / 0.7345 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5548, allocations: 7.922 kB / 0.7345 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5548, allocations: 0 / 0.7345 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.5549, allocations: 23.98 kB / 0.7346 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5549, allocations: 0 / 0.7346 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.555, allocations: 11.84 kB / 0.7346 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.555, allocations: 4 kB / 0.7346 GB, free: 108 kB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.5552, allocations: 121.8 kB / 0.7347 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.5552, allocations: 0 / 0.7347 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.5557, allocations: 363.8 kB / 0.735 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.5558, allocations: 7.984 kB / 0.735 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5558, allocations: 0 / 0.735 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5558, allocations: 7.938 kB / 0.7351 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.5561, allocations: 285.3 kB / 0.7353 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5561, allocations: 0 / 0.7353 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5562, allocations: 24 kB / 0.7353 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5562, allocations: 3.984 kB / 0.7354 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.5563, allocations: 0 / 0.7354 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5563, allocations: 0 / 0.7354 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5563, allocations: 4 kB / 0.7354 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.5567, allocations: 346.9 kB / 0.7357 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/0.5568, allocations: 104.8 kB / 0.7358 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5568, allocations: 8 kB / 0.7358 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.557, allocations: 3.906 kB / 0.7358 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.557, allocations: 11.98 kB / 0.7358 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.557, allocations: 11.92 kB / 0.7358 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.5571, allocations: 79.28 kB / 0.7359 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5571, allocations: 0 / 0.7359 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009123/0.558, allocations: 299.9 kB / 0.7362 GB, free: 14.36 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/0.5595, allocations: 408.5 kB / 0.7366 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.5598, allocations: 124 kB / 0.7367 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5598, allocations: 3.938 kB / 0.7367 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.5599, allocations: 112 kB / 0.7368 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.5602, allocations: 14.95 kB / 0.7368 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.5609, allocations: 406.7 kB / 0.7372 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.5614, allocations: 0.7166 MB / 0.7379 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.5615, allocations: 19.42 kB / 0.7379 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5615, allocations: 0 / 0.7379 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.01214/0.5737, allocations: 6.763 MB / 0.7445 GB, free: 5.75 MB / 0.5762 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)