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.001288/0.001289, allocations: 106 kB / 15.99 MB, free: 6.352 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.001274/0.001274, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.347/1.347, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8304/0.8304, allocations: 135.1 MB / 425.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.5055 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3745, allocations: 80.92 MB / 0.5845 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1376/0.5121, allocations: 133.7 MB / 0.715 GB, free: 4.668 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.5223, allocations: 7.967 MB / 0.7228 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.887e-05/0.5224, allocations: 0 / 0.7228 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.5226, allocations: 27.88 kB / 0.7228 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.5227, allocations: 15.86 kB / 0.7229 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.5268, allocations: 1.297 MB / 0.7241 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.5269, allocations: 67.72 kB / 0.7242 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.527, allocations: 0 / 0.7242 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.5271, allocations: 47.83 kB / 0.7242 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.5272, allocations: 39.83 kB / 0.7243 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.5273, allocations: 8 kB / 0.7243 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004432/0.5317, allocations: 2.641 MB / 0.7269 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.186e-05/0.5318, allocations: 19.91 kB / 0.7269 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.024e-05/0.5318, allocations: 27.88 kB / 0.7269 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.5334, allocations: 0.9279 MB / 0.7278 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5334, allocations: 0 / 0.7278 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5334, allocations: 0 / 0.7278 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5335, allocations: 0 / 0.7278 GB, free: 7.559 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.001208/0.5347, allocations: 0.499 MB / 0.7283 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5347, allocations: 9.109 kB / 0.7283 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004159/0.5351, allocations: 24.91 kB / 0.7283 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5353, allocations: 172.2 kB / 0.7285 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.5354, allocations: 34.27 kB / 0.7285 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.5354, allocations: 7.938 kB / 0.7285 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.5358, allocations: 121.6 kB / 0.7287 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.5358, allocations: 0 / 0.7287 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.5358, allocations: 4 kB / 0.7287 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.5358, allocations: 4 kB / 0.7287 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.5362, allocations: 119.8 kB / 0.7288 GB, free: 6.477 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.0005628/0.5367, allocations: 380 kB / 0.7291 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.537, allocations: 118.6 kB / 0.7293 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.5371, allocations: 60.77 kB / 0.7293 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01103/0.5482, allocations: 4.191 MB / 0.7334 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.5482, allocations: 38.56 kB / 0.7334 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.5482, allocations: 0 / 0.7334 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005686/0.5488, allocations: 167.8 kB / 0.7336 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5489, allocations: 59.41 kB / 0.7337 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.35e-05/0.5489, allocations: 93.86 kB / 0.7337 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.549, allocations: 29.7 kB / 0.7338 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.549, allocations: 92.03 kB / 0.7339 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.5491, allocations: 43.52 kB / 0.7339 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.5492, allocations: 25.72 kB / 0.7339 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5493, allocations: 322.8 kB / 0.7342 GB, free: 444 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.5493, allocations: 27.98 kB / 0.7343 GB, free: 416 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.595e-05/0.5494, allocations: 27.98 kB / 0.7343 GB, free: 388 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.5495, allocations: 72.73 kB / 0.7344 GB, free: 312 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5496, allocations: 0 / 0.7344 GB, free: 312 kB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002242/0.5498, allocations: 111.3 kB / 0.7345 GB, free: 196 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5498, allocations: 4 kB / 0.7345 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5498, allocations: 0 / 0.7345 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5499, allocations: 0 / 0.7345 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.55, allocations: 23.98 kB / 0.7345 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.55, allocations: 0 / 0.7345 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.5501, allocations: 15.83 kB / 0.7345 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.5501, allocations: 15.94 kB / 0.7345 GB, free: 136 kB / 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 0.000129/0.5503, allocations: 113.8 kB / 0.7346 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.5503, allocations: 4 kB / 0.7346 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000553/0.5509, allocations: 367.3 kB / 0.735 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.5509, allocations: 11.98 kB / 0.735 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5509, allocations: 3.938 kB / 0.735 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.5509, allocations: 7.922 kB / 0.735 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.5513, allocations: 285.2 kB / 0.7353 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.5513, allocations: 0 / 0.7353 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.5514, allocations: 23.92 kB / 0.7353 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5515, allocations: 0 / 0.7353 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.5515, allocations: 4 kB / 0.7353 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5515, allocations: 4 kB / 0.7353 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5515, allocations: 0 / 0.7353 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.552, allocations: 345.1 kB / 0.7356 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.5521, allocations: 96.92 kB / 0.7357 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.5521, allocations: 8 kB / 0.7357 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.5523, allocations: 7.891 kB / 0.7357 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.5523, allocations: 15.92 kB / 0.7358 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5523, allocations: 11.94 kB / 0.7358 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.5524, allocations: 75.28 kB / 0.7358 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5524, allocations: 4 kB / 0.7358 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001247/0.5536, allocations: 299.9 kB / 0.7361 GB, free: 14.38 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.00162/0.5553, allocations: 394.9 kB / 0.7365 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.5555, allocations: 131.9 kB / 0.7366 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5556, allocations: 0 / 0.7366 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.5557, allocations: 111.9 kB / 0.7367 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.556, allocations: 19.98 kB / 0.7368 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.5566, allocations: 406.8 kB / 0.7372 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.557, allocations: 0.7205 MB / 0.7379 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.557, allocations: 15.44 kB / 0.7379 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.557, allocations: 0 / 0.7379 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of Templates: time 0.01118/0.5682, allocations: 6.752 MB / 0.7445 GB, free: 5.785 MB / 0.5762 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)