Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00118/0.00118, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001098/0.001098, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7769/0.7769, allocations: 132.2 MB / 423.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3479, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1395/0.4874, allocations: 135.6 MB / 0.7139 GB, free: 6.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00838/0.4958, allocations: 7.927 MB / 0.7216 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.4959, allocations: 0 / 0.7216 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.4961, allocations: 19.89 kB / 0.7216 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.949e-05/0.4962, allocations: 23.78 kB / 0.7217 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.4998, allocations: 1.465 MB / 0.7231 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.4999, allocations: 67.72 kB / 0.7232 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.745e-05/0.5, allocations: 8 kB / 0.7232 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.5001, allocations: 47.77 kB / 0.7232 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.239e-05/0.5002, allocations: 31.91 kB / 0.7233 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.5002, allocations: 4 kB / 0.7233 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003982/0.5042, allocations: 2.708 MB / 0.7259 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.5042, allocations: 15.92 kB / 0.7259 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.5043, allocations: 31.84 kB / 0.7259 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.506, allocations: 1.372 MB / 0.7273 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.506, allocations: 0 / 0.7273 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.434e-06/0.506, allocations: 8 kB / 0.7273 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.506, allocations: 0 / 0.7273 GB, free: 8.438 MB / 0.5606 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.0008925/0.5069, allocations: 0.4913 MB / 0.7278 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.507, allocations: 8.031 kB / 0.7278 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.5073, allocations: 20.83 kB / 0.7278 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5075, allocations: 176.2 kB / 0.728 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.5075, allocations: 30.27 kB / 0.728 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.5076, allocations: 11.94 kB / 0.728 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.5079, allocations: 117.6 kB / 0.7281 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.5079, allocations: 0 / 0.7281 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.508, allocations: 7.984 kB / 0.7281 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.508, allocations: 0 / 0.7281 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.5083, allocations: 119.8 kB / 0.7282 GB, free: 7.367 MB / 0.5606 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.0005575/0.5088, allocations: 376 kB / 0.7286 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.5091, allocations: 130.5 kB / 0.7287 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.5092, allocations: 48.84 kB / 0.7288 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.5203, allocations: 4.234 MB / 0.7329 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5204, allocations: 42.44 kB / 0.7329 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5204, allocations: 0 / 0.7329 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005289/0.5209, allocations: 161.5 kB / 0.7331 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.521, allocations: 55.41 kB / 0.7332 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/0.5211, allocations: 101.8 kB / 0.7333 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.5211, allocations: 25.7 kB / 0.7333 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.5211, allocations: 88.14 kB / 0.7334 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.5212, allocations: 47.44 kB / 0.7334 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.5212, allocations: 25.72 kB / 0.7334 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5214, allocations: 318.8 kB / 0.7337 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.274e-05/0.5214, allocations: 27.98 kB / 0.7338 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.5215, allocations: 25.61 kB / 0.7338 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.5216, allocations: 79.53 kB / 0.7339 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5216, allocations: 0 / 0.7339 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000182/0.5218, allocations: 105.7 kB / 0.734 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5218, allocations: 4 kB / 0.734 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5218, allocations: 0 / 0.734 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.5218, allocations: 4 kB / 0.734 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.522, allocations: 31.92 kB / 0.734 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.522, allocations: 0 / 0.734 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.114e-05/0.5221, allocations: 7.844 kB / 0.734 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.5221, allocations: 4 kB / 0.734 GB, free: 1 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 8.919e-05/0.5222, allocations: 113.8 kB / 0.7341 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.5222, allocations: 8 kB / 0.7341 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.5227, allocations: 379.6 kB / 0.7345 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.5227, allocations: 11.86 kB / 0.7345 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5227, allocations: 0 / 0.7345 GB, free: 496 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.5227, allocations: 4.125 kB / 0.7345 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.523, allocations: 289.3 kB / 0.7348 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.523, allocations: 0 / 0.7348 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.5231, allocations: 19.98 kB / 0.7348 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5231, allocations: 3.984 kB / 0.7348 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5232, allocations: 4 kB / 0.7348 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5232, allocations: 4 kB / 0.7348 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5232, allocations: 0 / 0.7348 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.5235, allocations: 338.8 kB / 0.7351 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.5236, allocations: 104.8 kB / 0.7352 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.5237, allocations: 0 / 0.7352 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.5238, allocations: 11.98 kB / 0.7352 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.5238, allocations: 7.984 kB / 0.7353 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5239, allocations: 7.938 kB / 0.7353 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.5239, allocations: 87.27 kB / 0.7353 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5239, allocations: 0 / 0.7353 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009169/0.5248, allocations: 299.9 kB / 0.7356 GB, free: 15.24 MB / 0.5762 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.001168/0.526, allocations: 390.9 kB / 0.736 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.5262, allocations: 130.1 kB / 0.7361 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5262, allocations: 0 / 0.7361 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.5264, allocations: 115.8 kB / 0.7362 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.5267, allocations: 22.34 kB / 0.7363 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.5272, allocations: 312.5 kB / 0.7366 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.5275, allocations: 0.7127 MB / 0.7373 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.5276, allocations: 32.34 kB / 0.7373 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.5276, allocations: 15.42 kB / 0.7373 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5276, allocations: 0 / 0.7373 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of Templates: time 0.01321/0.5408, allocations: 9.773 MB / 0.7468 GB, free: 3.707 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)