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.00145/0.00145, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 198.1 kB / 16.79 MB, free: 6.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.928/0.928, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 56.19 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 80.93 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.3788/0.5235, allocations: 133.5 MB / 0.7147 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.5339, allocations: 8.492 MB / 0.723 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.5341, allocations: 0 / 0.723 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.5343, allocations: 25.22 kB / 0.723 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.659e-05/0.5343, allocations: 16.27 kB / 0.723 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.5385, allocations: 1.162 MB / 0.7242 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.5386, allocations: 68.91 kB / 0.7242 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.5387, allocations: 6.391 kB / 0.7242 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.5388, allocations: 49.39 kB / 0.7243 GB, free: 6.117 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.5389, allocations: 27.94 kB / 0.7243 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.5389, allocations: 2.188 kB / 0.7243 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/0.5443, allocations: 2.656 MB / 0.7269 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.903e-05/0.5444, allocations: 19.48 kB / 0.7269 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.5444, allocations: 31.95 kB / 0.727 GB, free: 5.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.5461, allocations: 0.9273 MB / 0.7279 GB, free: 5.258 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5462, allocations: 0 / 0.7279 GB, free: 5.258 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5462, allocations: 0 / 0.7279 GB, free: 5.258 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5462, allocations: 0.875 kB / 0.7279 GB, free: 5.258 MB / 0.545 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.001244/0.5474, allocations: 0.5006 MB / 0.7284 GB, free: 4.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.5475, allocations: 9.594 kB / 0.7284 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.5479, allocations: 18.3 kB / 0.7284 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.548, allocations: 174.6 kB / 0.7285 GB, free: 4.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.5481, allocations: 41.97 kB / 0.7286 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.5481, allocations: 12.12 kB / 0.7286 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.5485, allocations: 112.5 kB / 0.7287 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5485, allocations: 0 / 0.7287 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5485, allocations: 5.406 kB / 0.7287 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.5485, allocations: 2.219 kB / 0.7287 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.5488, allocations: 112.3 kB / 0.7288 GB, free: 4.418 MB / 0.545 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.0005297/0.5494, allocations: 381.2 kB / 0.7292 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.5496, allocations: 135.5 kB / 0.7293 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.5497, allocations: 51.75 kB / 0.7294 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.5611, allocations: 4.203 MB / 0.7335 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.5611, allocations: 32.72 kB / 0.7335 GB, free: 1.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.5611, allocations: 0 / 0.7335 GB, free: 1.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.00055/0.5617, allocations: 163.2 kB / 0.7337 GB, free: 1.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5617, allocations: 53.75 kB / 0.7337 GB, free: 1.004 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.123e-05/0.5618, allocations: 102.6 kB / 0.7338 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.5618, allocations: 26.86 kB / 0.7338 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.5619, allocations: 89.33 kB / 0.7339 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.562, allocations: 48.27 kB / 0.734 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.562, allocations: 34.55 kB / 0.734 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5621, allocations: 315.9 kB / 0.7343 GB, free: 396 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.864e-05/0.5622, allocations: 28.92 kB / 0.7343 GB, free: 380 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-05/0.5622, allocations: 27.33 kB / 0.7343 GB, free: 368 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.5623, allocations: 68.94 kB / 0.7344 GB, free: 328 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5624, allocations: 2 kB / 0.7344 GB, free: 328 kB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001916/0.5625, allocations: 109.2 kB / 0.7345 GB, free: 256 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5626, allocations: 9.125 kB / 0.7345 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5626, allocations: 0 / 0.7345 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5626, allocations: 1.531 kB / 0.7345 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5627, allocations: 24.55 kB / 0.7346 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5628, allocations: 1.156 kB / 0.7346 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.572e-05/0.5628, allocations: 5.125 kB / 0.7346 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.5628, allocations: 7.594 kB / 0.7346 GB, free: 236 kB / 0.545 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 7.666e-05/0.5629, allocations: 117.2 kB / 0.7347 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.563, allocations: 10.09 kB / 0.7347 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.5635, allocations: 364.7 kB / 0.735 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5635, allocations: 6.734 kB / 0.735 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5635, allocations: 5 kB / 0.735 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5635, allocations: 0 / 0.735 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.5638, allocations: 293.4 kB / 0.7353 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5638, allocations: 0 / 0.7353 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5639, allocations: 21.86 kB / 0.7353 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5639, allocations: 5.312 kB / 0.7353 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5639, allocations: 3.984 kB / 0.7354 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.564, allocations: 1.375 kB / 0.7354 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.564, allocations: 0 / 0.7354 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.5643, allocations: 337.9 kB / 0.7357 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.5644, allocations: 103.8 kB / 0.7358 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.5644, allocations: 5.375 kB / 0.7358 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.5646, allocations: 6.75 kB / 0.7358 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.5646, allocations: 8.109 kB / 0.7358 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5646, allocations: 4.125 kB / 0.7358 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.5647, allocations: 89.95 kB / 0.7359 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5647, allocations: 1.375 kB / 0.7359 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001147/0.5659, allocations: 298.3 kB / 0.7362 GB, free: 15.1 MB / 0.5606 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.001336/0.5672, allocations: 408.2 kB / 0.7366 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.5674, allocations: 129.6 kB / 0.7367 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5674, allocations: 2.438 kB / 0.7367 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.5676, allocations: 109.6 kB / 0.7368 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5679, allocations: 15.77 kB / 0.7368 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.5684, allocations: 403 kB / 0.7372 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5687, allocations: 0.7157 MB / 0.7379 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.5687, allocations: 22.69 kB / 0.7379 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.5687, allocations: 0 / 0.7379 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.01046/0.5792, allocations: 6.746 MB / 0.7445 GB, free: 8.656 MB / 0.5606 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)