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.001067/0.001067, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001056/0.001056, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.185/1.185, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.708/0.708, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 66.16 kB / 0.5862 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.123, allocations: 80.93 MB / 0.6653 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4061/0.5292, allocations: 135.6 MB / 0.7977 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006733/0.5359, allocations: 7.912 MB / 0.8054 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.536, allocations: 1.406 kB / 0.8054 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.5362, allocations: 28.86 kB / 0.8054 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.5363, allocations: 20.72 kB / 0.8055 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.5396, allocations: 1.467 MB / 0.8069 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.5397, allocations: 71.72 kB / 0.807 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.5398, allocations: 3.281 kB / 0.807 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.5399, allocations: 53.53 kB / 0.807 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.675e-05/0.54, allocations: 36.95 kB / 0.8071 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.54, allocations: 3.094 kB / 0.8071 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003625/0.5436, allocations: 2.701 MB / 0.8097 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.5437, allocations: 17.12 kB / 0.8097 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.5437, allocations: 31.95 kB / 0.8097 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.5452, allocations: 1.381 MB / 0.8111 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5452, allocations: 0 / 0.8111 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5452, allocations: 0 / 0.8111 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.5452, allocations: 0 / 0.8111 GB, free: 10.6 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.0008243/0.5461, allocations: 0.4971 MB / 0.8116 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5461, allocations: 10.7 kB / 0.8116 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.5464, allocations: 22.77 kB / 0.8116 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.5465, allocations: 167.2 kB / 0.8118 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.039e-05/0.5466, allocations: 34.25 kB / 0.8118 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.5466, allocations: 11.72 kB / 0.8118 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.5469, allocations: 121.3 kB / 0.8119 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.547, allocations: 0 / 0.8119 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.547, allocations: 6.031 kB / 0.8119 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.547, allocations: 3.938 kB / 0.8119 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.5472, allocations: 118.9 kB / 0.812 GB, free: 9.816 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.0004315/0.5477, allocations: 374.6 kB / 0.8124 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.5479, allocations: 128.4 kB / 0.8125 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.548, allocations: 51.72 kB / 0.8126 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009749/0.5577, allocations: 4.237 MB / 0.8167 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.5578, allocations: 36.75 kB / 0.8167 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.5578, allocations: 0 / 0.8167 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0004359/0.5582, allocations: 164.8 kB / 0.8169 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.5583, allocations: 53.19 kB / 0.817 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.5583, allocations: 103.6 kB / 0.8171 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.5584, allocations: 25.7 kB / 0.8171 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.5584, allocations: 84.14 kB / 0.8172 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.5584, allocations: 50.62 kB / 0.8172 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.5585, allocations: 29.53 kB / 0.8172 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.5586, allocations: 318.8 kB / 0.8175 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.5586, allocations: 26.95 kB / 0.8176 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.5587, allocations: 26.64 kB / 0.8176 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.304e-05/0.5588, allocations: 68.2 kB / 0.8177 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5588, allocations: 0 / 0.8177 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001553/0.5589, allocations: 107.3 kB / 0.8178 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5589, allocations: 8.922 kB / 0.8178 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.559, allocations: 4 kB / 0.8178 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.559, allocations: 0 / 0.8178 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.5591, allocations: 25.2 kB / 0.8178 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5591, allocations: 0 / 0.8178 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.5592, allocations: 6.438 kB / 0.8178 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.5592, allocations: 10.66 kB / 0.8178 GB, free: 5.617 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 6.627e-05/0.5592, allocations: 112.6 kB / 0.8179 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.5593, allocations: 8.938 kB / 0.8179 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.5597, allocations: 372.4 kB / 0.8183 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.5597, allocations: 6.641 kB / 0.8183 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5597, allocations: 192 / 0.8183 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5597, allocations: 0 / 0.8183 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.5599, allocations: 293.5 kB / 0.8186 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5599, allocations: 0 / 0.8186 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.56, allocations: 21.36 kB / 0.8186 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.56, allocations: 0 / 0.8186 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.5601, allocations: 6.781 kB / 0.8186 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5601, allocations: 3.938 kB / 0.8186 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5601, allocations: 0 / 0.8186 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.5604, allocations: 340.6 kB / 0.8189 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.5605, allocations: 104.4 kB / 0.819 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.5605, allocations: 0 / 0.819 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5606, allocations: 11.86 kB / 0.819 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.5607, allocations: 8.703 kB / 0.819 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.5607, allocations: 2.094 kB / 0.819 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.5607, allocations: 88.59 kB / 0.8191 GB, free: 4.523 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5607, allocations: 4 kB / 0.8191 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009294/0.5617, allocations: 294.3 kB / 0.8194 GB, free: 4.492 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.001112/0.5628, allocations: 398.6 kB / 0.8198 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.563, allocations: 126 kB / 0.8199 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.563, allocations: 0 / 0.8199 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.5632, allocations: 115.2 kB / 0.82 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.5634, allocations: 17.56 kB / 0.82 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.5639, allocations: 337.4 kB / 0.8204 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.5641, allocations: 0.7133 MB / 0.8211 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.5642, allocations: 19.08 kB / 0.8211 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5642, allocations: 0 / 0.8211 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of Templates: time 0.007546/0.5717, allocations: 6.754 MB / 0.8277 GB, free: 15.74 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)