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.001277/0.001277, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001269/0.001269, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.368/1.368, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.919/0.919, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.75 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1689, allocations: 81.03 MB / 0.5845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.3894/0.5583, allocations: 133.7 MB / 0.715 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.5688, allocations: 7.966 MB / 0.7228 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.5689, allocations: 4 kB / 0.7228 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.5691, allocations: 27.61 kB / 0.7228 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.468e-05/0.5692, allocations: 13.38 kB / 0.7228 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00525/0.5745, allocations: 1.287 MB / 0.7241 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.5747, allocations: 80.72 kB / 0.7242 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.5747, allocations: 4.766 kB / 0.7242 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.5749, allocations: 47.34 kB / 0.7242 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.037e-05/0.575, allocations: 27.7 kB / 0.7242 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.575, allocations: 3.469 kB / 0.7242 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.58, allocations: 2.655 MB / 0.7268 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.5801, allocations: 18.12 kB / 0.7269 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.5802, allocations: 33.27 kB / 0.7269 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.5822, allocations: 1.374 MB / 0.7282 GB, free: 4.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5822, allocations: 0.9062 kB / 0.7282 GB, free: 4.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5822, allocations: 0 / 0.7282 GB, free: 4.379 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.5822, allocations: 0 / 0.7282 GB, free: 4.379 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.001004/0.5832, allocations: 0.4996 MB / 0.7287 GB, free: 3.949 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5833, allocations: 10.16 kB / 0.7287 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/0.5836, allocations: 22.44 kB / 0.7288 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.5838, allocations: 177.1 kB / 0.7289 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/0.5839, allocations: 29.98 kB / 0.7289 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.5839, allocations: 12.25 kB / 0.729 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.5842, allocations: 119.6 kB / 0.7291 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5843, allocations: 1.312 kB / 0.7291 GB, free: 3.645 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.5843, allocations: 5.031 kB / 0.7291 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5843, allocations: 5.156 kB / 0.7291 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.5846, allocations: 114.8 kB / 0.7292 GB, free: 3.613 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.0005103/0.5851, allocations: 378.5 kB / 0.7296 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.5854, allocations: 130.2 kB / 0.7297 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.5855, allocations: 51.03 kB / 0.7297 GB, free: 3.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.5962, allocations: 4.206 MB / 0.7338 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5963, allocations: 32.12 kB / 0.7339 GB, free: 472 kB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5963, allocations: 0 / 0.7339 GB, free: 472 kB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005765/0.5969, allocations: 164.4 kB / 0.734 GB, free: 376 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.5969, allocations: 53.62 kB / 0.7341 GB, free: 312 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.597, allocations: 102.3 kB / 0.7342 GB, free: 204 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.5971, allocations: 27.08 kB / 0.7342 GB, free: 172 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.5971, allocations: 86.89 kB / 0.7343 GB, free: 84 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.5972, allocations: 44.53 kB / 0.7343 GB, free: 44 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.5973, allocations: 33.98 kB / 0.7344 GB, free: 12 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5975, allocations: 319.9 kB / 0.7347 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.5975, allocations: 26.11 kB / 0.7347 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.5976, allocations: 22.44 kB / 0.7347 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5977, allocations: 74.16 kB / 0.7348 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5977, allocations: 0 / 0.7348 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002151/0.598, allocations: 111.2 kB / 0.7349 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.598, allocations: 7.219 kB / 0.7349 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.598, allocations: 0 / 0.7349 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.598, allocations: 1.5 kB / 0.7349 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.5982, allocations: 28.36 kB / 0.7349 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5982, allocations: 1.844 kB / 0.7349 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.5983, allocations: 5.281 kB / 0.7349 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.5983, allocations: 11.05 kB / 0.7349 GB, free: 15.54 MB / 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.0001131/0.5984, allocations: 120.4 kB / 0.7351 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.5985, allocations: 4.125 kB / 0.7351 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005604/0.599, allocations: 375.4 kB / 0.7354 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.5991, allocations: 2.75 kB / 0.7354 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5991, allocations: 5.125 kB / 0.7354 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.5991, allocations: 5.359 kB / 0.7354 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.5995, allocations: 285.6 kB / 0.7357 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5995, allocations: 0 / 0.7357 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5996, allocations: 21.86 kB / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5996, allocations: 192 / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5996, allocations: 1.375 kB / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5996, allocations: 4.938 kB / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5996, allocations: 0 / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.6, allocations: 350.9 kB / 0.7361 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.6001, allocations: 105.5 kB / 0.7362 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6001, allocations: 2 kB / 0.7362 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.6003, allocations: 10.64 kB / 0.7362 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.6003, allocations: 5.094 kB / 0.7362 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.6003, allocations: 9.078 kB / 0.7362 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.6004, allocations: 85.94 kB / 0.7363 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6004, allocations: 0 / 0.7363 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00143/0.6019, allocations: 299 kB / 0.7366 GB, free: 14.4 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.00128/0.6031, allocations: 396 kB / 0.7369 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6034, allocations: 133.5 kB / 0.7371 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6034, allocations: 3.938 kB / 0.7371 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.6036, allocations: 108.6 kB / 0.7372 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.6039, allocations: 26.34 kB / 0.7372 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.6044, allocations: 375.4 kB / 0.7375 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.6048, allocations: 0.7178 MB / 0.7382 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.6049, allocations: 30.39 kB / 0.7383 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.6049, allocations: 17.52 kB / 0.7383 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.605, allocations: 0 / 0.7383 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of Templates: time 0.01406/0.619, allocations: 9.805 MB / 0.7479 GB, free: 4.48 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)