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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001275/0.001275, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9205/0.9205, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.7 kB / 0.5047 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1808, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5297/0.7105, allocations: 133.5 MB / 0.7141 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.7232, allocations: 8.501 MB / 0.7224 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.7234, allocations: 0 / 0.7224 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.7236, allocations: 18.67 kB / 0.7224 GB, free: 6.723 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.7237, allocations: 18.23 kB / 0.7224 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005548/0.7292, allocations: 1.156 MB / 0.7235 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.7294, allocations: 79.36 kB / 0.7236 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.7295, allocations: 3.781 kB / 0.7236 GB, free: 6.203 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.7297, allocations: 47.16 kB / 0.7236 GB, free: 6.184 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.7298, allocations: 31.92 kB / 0.7237 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.7298, allocations: 6.531 kB / 0.7237 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006254/0.736, allocations: 2.657 MB / 0.7263 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.7361, allocations: 16.67 kB / 0.7263 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.7362, allocations: 26.91 kB / 0.7263 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003122/0.7393, allocations: 1.378 MB / 0.7277 GB, free: 4.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7393, allocations: 0 / 0.7277 GB, free: 4.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7393, allocations: 1.031 kB / 0.7277 GB, free: 4.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.7394, allocations: 0 / 0.7277 GB, free: 4.969 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.001239/0.7406, allocations: 0.4986 MB / 0.7282 GB, free: 4.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.7407, allocations: 14.28 kB / 0.7282 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.7411, allocations: 17.92 kB / 0.7282 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7412, allocations: 178.8 kB / 0.7284 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.461e-05/0.7413, allocations: 30.36 kB / 0.7284 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.7413, allocations: 11.69 kB / 0.7284 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.7417, allocations: 116.3 kB / 0.7285 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.7417, allocations: 0 / 0.7285 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.7417, allocations: 1.25 kB / 0.7285 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.7417, allocations: 5.438 kB / 0.7285 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.742, allocations: 120.7 kB / 0.7286 GB, free: 4.121 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.0005279/0.7426, allocations: 380.8 kB / 0.729 GB, free: 3.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.7429, allocations: 119 kB / 0.7291 GB, free: 3.652 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.743, allocations: 54.23 kB / 0.7292 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.7542, allocations: 4.207 MB / 0.7333 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.7543, allocations: 35.92 kB / 0.7333 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.7543, allocations: 1.375 kB / 0.7333 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005954/0.7549, allocations: 163.5 kB / 0.7335 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.7549, allocations: 52.78 kB / 0.7335 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.755, allocations: 99.23 kB / 0.7336 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.755, allocations: 29.7 kB / 0.7336 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.7551, allocations: 85.39 kB / 0.7337 GB, free: 500 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.7552, allocations: 44.88 kB / 0.7338 GB, free: 460 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.7552, allocations: 33.48 kB / 0.7338 GB, free: 428 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.7553, allocations: 325.3 kB / 0.7341 GB, free: 96 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.7554, allocations: 25.52 kB / 0.7341 GB, free: 84 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.571e-05/0.7555, allocations: 25.25 kB / 0.7341 GB, free: 72 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.7556, allocations: 74.62 kB / 0.7342 GB, free: 28 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7556, allocations: 0 / 0.7342 GB, free: 28 kB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000212/0.7558, allocations: 111.5 kB / 0.7343 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.7559, allocations: 5.5 kB / 0.7343 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7559, allocations: 0.7188 kB / 0.7343 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.7559, allocations: 0.9375 kB / 0.7343 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.7561, allocations: 29.05 kB / 0.7344 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7561, allocations: 1.5 kB / 0.7344 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.7561, allocations: 5.156 kB / 0.7344 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.7562, allocations: 10.48 kB / 0.7344 GB, free: 15.93 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 9.418e-05/0.7563, allocations: 116.4 kB / 0.7345 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.53e-05/0.7563, allocations: 3.688 kB / 0.7345 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005132/0.7568, allocations: 367.8 kB / 0.7348 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.7569, allocations: 3.156 kB / 0.7348 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7569, allocations: 4.562 kB / 0.7348 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7569, allocations: 5.359 kB / 0.7349 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.7572, allocations: 285.4 kB / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7572, allocations: 0 / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.7573, allocations: 25.33 kB / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7573, allocations: 1.406 kB / 0.7351 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.7573, allocations: 1.406 kB / 0.7352 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7574, allocations: 1.406 kB / 0.7352 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7574, allocations: 0.75 kB / 0.7352 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.7578, allocations: 344.6 kB / 0.7355 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.7578, allocations: 104.5 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.7579, allocations: 5.438 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.758, allocations: 6.734 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.105e-05/0.7581, allocations: 8 kB / 0.7356 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.7581, allocations: 11.3 kB / 0.7356 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.7581, allocations: 81.88 kB / 0.7357 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7581, allocations: 1.406 kB / 0.7357 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001756/0.7599, allocations: 308 kB / 0.736 GB, free: 14.8 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.001391/0.7613, allocations: 403.8 kB / 0.7364 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.7616, allocations: 127.9 kB / 0.7365 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7616, allocations: 0 / 0.7365 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.7617, allocations: 116.7 kB / 0.7366 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.7621, allocations: 13.48 kB / 0.7366 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.7627, allocations: 371.6 kB / 0.737 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.7629, allocations: 0.7174 MB / 0.7377 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001158/0.7631, allocations: 31.52 kB / 0.7377 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.7631, allocations: 16.25 kB / 0.7377 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.7631, allocations: 2.031 kB / 0.7377 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.0156/0.7787, allocations: 9.736 MB / 0.7472 GB, free: 5.293 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)