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.0008506/0.0008508, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006416/0.006416, allocations: 170 kB / 16.26 MB, free: 6.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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9606/0.9606, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1848, allocations: 82.32 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5029/0.6877, allocations: 131.7 MB / 0.7166 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.6984, allocations: 8.386 MB / 0.7248 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.6985, allocations: 0 / 0.7248 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.6988, allocations: 20.59 kB / 0.7248 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.6988, allocations: 16.5 kB / 0.7248 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005812/0.7047, allocations: 1.163 MB / 0.726 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.7049, allocations: 67.45 kB / 0.726 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.399e-05/0.7049, allocations: 4.297 kB / 0.726 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.7051, allocations: 42.47 kB / 0.7261 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.7053, allocations: 39.03 kB / 0.7261 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.7053, allocations: 3.469 kB / 0.7261 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007348/0.7126, allocations: 2.656 MB / 0.7287 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.7127, allocations: 10.94 kB / 0.7287 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.7128, allocations: 67.42 kB / 0.7288 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.7154, allocations: 1.364 MB / 0.7301 GB, free: 4.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7154, allocations: 0 / 0.7301 GB, free: 4.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7154, allocations: 4 kB / 0.7301 GB, free: 4.871 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7154, allocations: 1 kB / 0.7301 GB, free: 4.871 MB / 0.545 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.001076/0.7165, allocations: 489.7 kB / 0.7306 GB, free: 4.453 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.7165, allocations: 9.812 kB / 0.7306 GB, free: 4.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003865/0.7169, allocations: 25.75 kB / 0.7306 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.7171, allocations: 174.4 kB / 0.7308 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.761e-05/0.7171, allocations: 37.34 kB / 0.7308 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.7172, allocations: 11.34 kB / 0.7308 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.7176, allocations: 120.8 kB / 0.731 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7176, allocations: 3.984 kB / 0.731 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.7176, allocations: 1.281 kB / 0.731 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.7176, allocations: 1.094 kB / 0.731 GB, free: 4.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.7179, allocations: 121.3 kB / 0.7311 GB, free: 4.109 MB / 0.545 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.000572/0.7185, allocations: 384.9 kB / 0.7314 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.7188, allocations: 121.1 kB / 0.7316 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.7189, allocations: 60.47 kB / 0.7316 GB, free: 3.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01197/0.7308, allocations: 4.25 MB / 0.7358 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.7309, allocations: 43.86 kB / 0.7358 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.375e-06/0.7309, allocations: 0 / 0.7358 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005397/0.7315, allocations: 160.5 kB / 0.736 GB, free: 0.793 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7315, allocations: 52.78 kB / 0.736 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.7316, allocations: 97.98 kB / 0.7361 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.7316, allocations: 35.06 kB / 0.7361 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.7317, allocations: 81.52 kB / 0.7362 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.7318, allocations: 44.94 kB / 0.7363 GB, free: 480 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.7318, allocations: 20.41 kB / 0.7363 GB, free: 456 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7319, allocations: 320.2 kB / 0.7366 GB, free: 128 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.732, allocations: 25.73 kB / 0.7366 GB, free: 116 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.426e-05/0.732, allocations: 29.73 kB / 0.7366 GB, free: 100 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.7321, allocations: 73.78 kB / 0.7367 GB, free: 56 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7321, allocations: 0 / 0.7367 GB, free: 56 kB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001874/0.7323, allocations: 110.9 kB / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.7324, allocations: 5.5 kB / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7324, allocations: 0 / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7324, allocations: 1.375 kB / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.7325, allocations: 20.3 kB / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7326, allocations: 5.25 kB / 0.7368 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.7326, allocations: 5.344 kB / 0.7368 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.7326, allocations: 6.719 kB / 0.7369 GB, free: 15.97 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 0.0001045/0.7328, allocations: 121.5 kB / 0.737 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.7328, allocations: 7.656 kB / 0.737 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005105/0.7333, allocations: 361.3 kB / 0.7373 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.7334, allocations: 6.078 kB / 0.7373 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7334, allocations: 4 kB / 0.7373 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7334, allocations: 5.062 kB / 0.7373 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.7337, allocations: 288.9 kB / 0.7376 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.7337, allocations: 1.344 kB / 0.7376 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.757e-05/0.7338, allocations: 20.59 kB / 0.7376 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.7338, allocations: 4.828 kB / 0.7376 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.7338, allocations: 1.125 kB / 0.7376 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7338, allocations: 1.156 kB / 0.7376 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.7339, allocations: 0 / 0.7376 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.7342, allocations: 344.1 kB / 0.738 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.7343, allocations: 107.8 kB / 0.7381 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.7344, allocations: 5.406 kB / 0.7381 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.7345, allocations: 7.094 kB / 0.7381 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.7345, allocations: 12.92 kB / 0.7381 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.7346, allocations: 7.984 kB / 0.7381 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.7346, allocations: 86.8 kB / 0.7382 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7346, allocations: 0 / 0.7382 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001663/0.7363, allocations: 302.4 kB / 0.7385 GB, free: 14.82 MB / 0.5606 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.001351/0.7376, allocations: 393.2 kB / 0.7388 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.7379, allocations: 134.8 kB / 0.739 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7379, allocations: 0 / 0.739 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.738, allocations: 110.2 kB / 0.7391 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.7384, allocations: 17.58 kB / 0.7391 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.7389, allocations: 389.2 kB / 0.7395 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.7392, allocations: 0.7156 MB / 0.7402 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.7393, allocations: 25.44 kB / 0.7402 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.7394, allocations: 17.58 kB / 0.7402 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.7394, allocations: 2.875 kB / 0.7402 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of Templates: time 0.01486/0.7542, allocations: 9.733 MB / 0.7497 GB, free: 5.621 MB / 0.5606 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)