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.008283/0.008283, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001922/0.001923, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8487/0.8487, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 58.06 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1677, allocations: 80.92 MB / 0.6646 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5821/0.7498, allocations: 135.6 MB / 0.797 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00917/0.7591, allocations: 7.918 MB / 0.8048 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.7592, allocations: 0 / 0.8048 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.7594, allocations: 32.27 kB / 0.8048 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.6e-05/0.7595, allocations: 22.06 kB / 0.8048 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004725/0.7643, allocations: 1.466 MB / 0.8062 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.7644, allocations: 76.84 kB / 0.8063 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.7645, allocations: 7.531 kB / 0.8063 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.7646, allocations: 43.34 kB / 0.8064 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.7647, allocations: 37.12 kB / 0.8064 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.7648, allocations: 3.312 kB / 0.8064 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005461/0.7702, allocations: 2.697 MB / 0.809 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.7703, allocations: 23.11 kB / 0.8091 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.7703, allocations: 35.11 kB / 0.8091 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.7731, allocations: 1.378 MB / 0.8104 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7731, allocations: 0 / 0.8104 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7732, allocations: 0 / 0.8104 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7732, allocations: 1.281 kB / 0.8104 GB, free: 10.68 MB / 0.5919 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.001534/0.7747, allocations: 0.4931 MB / 0.8109 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7748, allocations: 10.7 kB / 0.8109 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000478/0.7752, allocations: 22.58 kB / 0.8109 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.7754, allocations: 172.9 kB / 0.8111 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.23e-05/0.7755, allocations: 34.56 kB / 0.8111 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.7755, allocations: 11.69 kB / 0.8112 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.7759, allocations: 119 kB / 0.8113 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.7759, allocations: 0 / 0.8113 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.7759, allocations: 3.438 kB / 0.8113 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7759, allocations: 2.938 kB / 0.8113 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002786/0.7762, allocations: 119.8 kB / 0.8114 GB, free: 9.902 MB / 0.5919 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.0005105/0.7768, allocations: 384.4 kB / 0.8118 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.777, allocations: 125.2 kB / 0.8119 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/0.7771, allocations: 53.5 kB / 0.8119 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.7889, allocations: 4.233 MB / 0.8161 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.789, allocations: 32.66 kB / 0.8161 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.789, allocations: 0 / 0.8161 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005876/0.7896, allocations: 167.2 kB / 0.8163 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.7897, allocations: 58.31 kB / 0.8163 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.7897, allocations: 106.7 kB / 0.8164 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.7898, allocations: 25.7 kB / 0.8164 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.7898, allocations: 84.14 kB / 0.8165 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.7899, allocations: 47.73 kB / 0.8166 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.7899, allocations: 27.28 kB / 0.8166 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7901, allocations: 325.6 kB / 0.8169 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.7901, allocations: 24.77 kB / 0.8169 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.7902, allocations: 24.83 kB / 0.8169 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.7903, allocations: 68.14 kB / 0.817 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7903, allocations: 0 / 0.817 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001975/0.7905, allocations: 109 kB / 0.8171 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.7906, allocations: 9.141 kB / 0.8171 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7906, allocations: 0 / 0.8171 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.7906, allocations: 3.938 kB / 0.8171 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.7907, allocations: 21.86 kB / 0.8171 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7907, allocations: 0 / 0.8171 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.7908, allocations: 6.656 kB / 0.8172 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.7908, allocations: 18.09 kB / 0.8172 GB, free: 5.723 MB / 0.5919 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.0001259/0.791, allocations: 112.4 kB / 0.8173 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.791, allocations: 8.594 kB / 0.8173 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.7915, allocations: 365.3 kB / 0.8176 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.7916, allocations: 10.67 kB / 0.8176 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.7916, allocations: 0 / 0.8176 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.7916, allocations: 3.938 kB / 0.8176 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.7919, allocations: 283.3 kB / 0.8179 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7919, allocations: 0 / 0.8179 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.792, allocations: 26.08 kB / 0.8179 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.7921, allocations: 0 / 0.8179 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.7921, allocations: 6.5 kB / 0.8179 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7921, allocations: 0 / 0.8179 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7921, allocations: 0 / 0.8179 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.7924, allocations: 334.7 kB / 0.8183 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.7925, allocations: 104.2 kB / 0.8184 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.7926, allocations: 3 kB / 0.8184 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.7927, allocations: 14.27 kB / 0.8184 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.7927, allocations: 8.766 kB / 0.8184 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.7928, allocations: 2.906 kB / 0.8184 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.164e-05/0.7928, allocations: 86.16 kB / 0.8185 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7928, allocations: 0 / 0.8185 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001222/0.794, allocations: 294.9 kB / 0.8188 GB, free: 4.609 MB / 0.5919 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.001976/0.796, allocations: 409.3 kB / 0.8191 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.7963, allocations: 123.2 kB / 0.8193 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7963, allocations: 4 kB / 0.8193 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.7965, allocations: 112 kB / 0.8194 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.7968, allocations: 20.2 kB / 0.8194 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.7974, allocations: 309.4 kB / 0.8197 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.7977, allocations: 0.7153 MB / 0.8204 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.7978, allocations: 35.3 kB / 0.8204 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.7979, allocations: 14.84 kB / 0.8204 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7979, allocations: 0 / 0.8204 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of Templates: time 0.0165/0.8144, allocations: 9.796 MB / 0.83 GB, free: 14.23 MB / 0.6075 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)