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.001105/0.001105, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001077/0.001077, allocations: 190.3 kB / 17.31 MB, free: 5.613 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.392/1.392, 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/package.mo): time 0.7967/0.7967, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.14/0.4964, allocations: 135.6 MB / 0.7139 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009287/0.5057, allocations: 7.927 MB / 0.7216 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.997e-05/0.5058, allocations: 4 kB / 0.7216 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.506, allocations: 19.89 kB / 0.7217 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.259e-05/0.5061, allocations: 23.78 kB / 0.7217 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.51, allocations: 1.458 MB / 0.7231 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.5102, allocations: 75.64 kB / 0.7232 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.5102, allocations: 4 kB / 0.7232 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.5104, allocations: 47.83 kB / 0.7232 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.699e-05/0.5105, allocations: 23.92 kB / 0.7232 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.5105, allocations: 11.94 kB / 0.7233 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/0.5149, allocations: 2.708 MB / 0.7259 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.515, allocations: 15.97 kB / 0.7259 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.5151, allocations: 31.86 kB / 0.7259 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.5171, allocations: 1.378 MB / 0.7273 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5171, allocations: 4 kB / 0.7273 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5171, allocations: 0 / 0.7273 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5171, allocations: 0 / 0.7273 GB, free: 8.434 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.0009117/0.5181, allocations: 0.4952 MB / 0.7278 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5181, allocations: 8.031 kB / 0.7278 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.5185, allocations: 20.83 kB / 0.7278 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.5186, allocations: 176.2 kB / 0.728 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.5187, allocations: 30.27 kB / 0.728 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.5187, allocations: 11.94 kB / 0.728 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.5191, allocations: 116 kB / 0.7281 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5191, allocations: 0 / 0.7281 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.5191, allocations: 11.92 kB / 0.7281 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5191, allocations: 7.984 kB / 0.7281 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.5194, allocations: 119.8 kB / 0.7283 GB, free: 7.352 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.0004941/0.5199, allocations: 380 kB / 0.7286 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.5202, allocations: 118.6 kB / 0.7287 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.5203, allocations: 52.83 kB / 0.7288 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01114/0.5315, allocations: 4.23 MB / 0.7329 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.5315, allocations: 38.5 kB / 0.733 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.5316, allocations: 4 kB / 0.733 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006356/0.5322, allocations: 168.2 kB / 0.7331 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.5323, allocations: 51.41 kB / 0.7332 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.5323, allocations: 101.8 kB / 0.7333 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.5324, allocations: 25.7 kB / 0.7333 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.5324, allocations: 88.14 kB / 0.7334 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.848e-05/0.5325, allocations: 47.42 kB / 0.7334 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.5326, allocations: 25.72 kB / 0.7334 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5327, allocations: 330.8 kB / 0.7338 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.5328, allocations: 27.98 kB / 0.7338 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.5328, allocations: 19.98 kB / 0.7338 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.533, allocations: 86.72 kB / 0.7339 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.533, allocations: 0 / 0.7339 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002005/0.5332, allocations: 101.7 kB / 0.734 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5332, allocations: 4 kB / 0.734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5332, allocations: 0 / 0.734 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5332, allocations: 4 kB / 0.734 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5334, allocations: 23.98 kB / 0.734 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5334, allocations: 3.938 kB / 0.734 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.5335, allocations: 11.84 kB / 0.734 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5335, allocations: 4 kB / 0.734 GB, free: 0.9805 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.679e-05/0.5336, allocations: 113.8 kB / 0.7341 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.5336, allocations: 4 kB / 0.7341 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005184/0.5342, allocations: 379.1 kB / 0.7345 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5342, allocations: 7.984 kB / 0.7345 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5342, allocations: 4 kB / 0.7345 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.5342, allocations: 11.88 kB / 0.7345 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.5345, allocations: 277.4 kB / 0.7348 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5346, allocations: 0 / 0.7348 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.5347, allocations: 19.98 kB / 0.7348 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5347, allocations: 0 / 0.7348 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5347, allocations: 8 kB / 0.7348 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.5347, allocations: 0 / 0.7348 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5347, allocations: 0 / 0.7348 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.5351, allocations: 335 kB / 0.7351 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.429e-05/0.5352, allocations: 108.8 kB / 0.7352 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.5352, allocations: 0 / 0.7352 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.5354, allocations: 11.98 kB / 0.7353 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.5354, allocations: 7.984 kB / 0.7353 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.5354, allocations: 7.938 kB / 0.7353 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.5355, allocations: 87.45 kB / 0.7354 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5355, allocations: 0 / 0.7354 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001035/0.5365, allocations: 295.9 kB / 0.7356 GB, free: 15.23 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.001208/0.5378, allocations: 398.9 kB / 0.736 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.538, allocations: 127.9 kB / 0.7361 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.538, allocations: 0 / 0.7361 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.5382, allocations: 115.9 kB / 0.7362 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.5385, allocations: 8 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.0005281/0.539, allocations: 316.5 kB / 0.7366 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5393, allocations: 0.7166 MB / 0.7373 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.5394, allocations: 32.33 kB / 0.7373 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.5394, allocations: 15.42 kB / 0.7373 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5394, allocations: 4 kB / 0.7373 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.01356/0.553, allocations: 9.769 MB / 0.7468 GB, free: 3.703 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)