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.0009026/0.0009026, allocations: 99.34 kB / 16.02 MB, free: 76 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.001088/0.001088, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.329/1.329, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.916/0.916, allocations: 135.3 MB / 427.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003141/0.0003142, allocations: 12 kB / 0.5082 GB, free: 4.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 82.31 MB / 0.5886 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4048/0.5499, allocations: 131.7 MB / 0.7172 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.5601, allocations: 8.395 MB / 0.7254 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.5602, allocations: 0 / 0.7254 GB, free: 6.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.5604, allocations: 23.14 kB / 0.7255 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.525e-05/0.5604, allocations: 18.06 kB / 0.7255 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.5643, allocations: 1.154 MB / 0.7266 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.5644, allocations: 74.69 kB / 0.7267 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.5644, allocations: 3.688 kB / 0.7267 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.5646, allocations: 43.23 kB / 0.7267 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.225e-05/0.5647, allocations: 38.75 kB / 0.7268 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.5647, allocations: 3.562 kB / 0.7268 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005563/0.5703, allocations: 2.655 MB / 0.7294 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.5703, allocations: 16.31 kB / 0.7294 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.5704, allocations: 54 kB / 0.7294 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.5721, allocations: 0.9187 MB / 0.7303 GB, free: 5.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5721, allocations: 2.25 kB / 0.7303 GB, free: 5.051 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.545e-06/0.5721, allocations: 0 / 0.7303 GB, free: 5.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.5721, allocations: 0 / 0.7303 GB, free: 5.051 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.001185/0.5733, allocations: 492.1 kB / 0.7308 GB, free: 4.629 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5733, allocations: 9.25 kB / 0.7308 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004246/0.5738, allocations: 25.62 kB / 0.7308 GB, free: 4.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.5739, allocations: 174.6 kB / 0.731 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.574, allocations: 33.95 kB / 0.731 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.574, allocations: 8.969 kB / 0.731 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.5744, allocations: 125.4 kB / 0.7312 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5744, allocations: 0 / 0.7312 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5744, allocations: 9.172 kB / 0.7312 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5744, allocations: 0.9688 kB / 0.7312 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.5747, allocations: 118.6 kB / 0.7313 GB, free: 4.285 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.0004848/0.5752, allocations: 379.7 kB / 0.7316 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.5755, allocations: 129.8 kB / 0.7318 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.5756, allocations: 51.08 kB / 0.7318 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.5876, allocations: 4.25 MB / 0.736 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.5877, allocations: 40.75 kB / 0.736 GB, free: 1.289 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.953e-06/0.5877, allocations: 0 / 0.736 GB, free: 1.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005463/0.5882, allocations: 160.4 kB / 0.7362 GB, free: 1.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.5883, allocations: 52.72 kB / 0.7362 GB, free: 1.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.5883, allocations: 98.59 kB / 0.7363 GB, free: 1.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.5884, allocations: 30.98 kB / 0.7363 GB, free: 1.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.5884, allocations: 81.48 kB / 0.7364 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.5885, allocations: 52.78 kB / 0.7365 GB, free: 0.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.5885, allocations: 16.28 kB / 0.7365 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.5886, allocations: 324.1 kB / 0.7368 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.5887, allocations: 21.91 kB / 0.7368 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.5887, allocations: 30.02 kB / 0.7368 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.5888, allocations: 66.19 kB / 0.7369 GB, free: 484 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5888, allocations: 0 / 0.7369 GB, free: 484 kB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001849/0.589, allocations: 106.8 kB / 0.737 GB, free: 416 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5891, allocations: 4.688 kB / 0.737 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.5891, allocations: 0 / 0.737 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5891, allocations: 5.594 kB / 0.737 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.5892, allocations: 24.52 kB / 0.737 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5892, allocations: 1.156 kB / 0.737 GB, free: 404 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.5893, allocations: 5.469 kB / 0.737 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.5893, allocations: 10.58 kB / 0.737 GB, free: 392 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 8.538e-05/0.5894, allocations: 112.7 kB / 0.7372 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.5895, allocations: 8.906 kB / 0.7372 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.5899, allocations: 384.8 kB / 0.7375 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5899, allocations: 2.719 kB / 0.7375 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.59, allocations: 0 / 0.7375 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.59, allocations: 5.609 kB / 0.7375 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.5903, allocations: 284.6 kB / 0.7378 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5903, allocations: 1.938 kB / 0.7378 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.5904, allocations: 28.39 kB / 0.7378 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5904, allocations: 1.375 kB / 0.7378 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.5904, allocations: 1.375 kB / 0.7378 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5904, allocations: 0 / 0.7378 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5904, allocations: 5.062 kB / 0.7378 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.5908, allocations: 342.6 kB / 0.7382 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.5908, allocations: 99.8 kB / 0.7383 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5909, allocations: 5.375 kB / 0.7383 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.591, allocations: 8.125 kB / 0.7383 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.591, allocations: 8.109 kB / 0.7383 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.5911, allocations: 12.11 kB / 0.7383 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.5911, allocations: 86.14 kB / 0.7384 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5911, allocations: 1.375 kB / 0.7384 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001456/0.5926, allocations: 298.7 kB / 0.7387 GB, free: 15.23 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.001342/0.5939, allocations: 398.7 kB / 0.739 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.5942, allocations: 138 kB / 0.7392 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5942, allocations: 9.156 kB / 0.7392 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.5943, allocations: 109.8 kB / 0.7393 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5946, allocations: 15.67 kB / 0.7393 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.5952, allocations: 412 kB / 0.7397 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.5954, allocations: 0.7135 MB / 0.7404 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.5955, allocations: 19.77 kB / 0.7404 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5955, allocations: 0 / 0.7404 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.0102/0.6057, allocations: 6.737 MB / 0.747 GB, free: 9.125 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)