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.001262/0.001262, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9352/0.9352, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.59 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.93 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4437/0.6068, allocations: 135.6 MB / 0.7168 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.6181, allocations: 7.919 MB / 0.7245 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.6182, allocations: 0 / 0.7245 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.6185, allocations: 24.45 kB / 0.7245 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.711e-05/0.6186, allocations: 25.02 kB / 0.7245 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005547/0.6241, allocations: 1.469 MB / 0.726 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.6243, allocations: 75.64 kB / 0.726 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.6244, allocations: 4.156 kB / 0.726 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.6246, allocations: 50.66 kB / 0.7261 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.6247, allocations: 30.94 kB / 0.7261 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.6247, allocations: 3.25 kB / 0.7261 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005507/0.6302, allocations: 2.651 MB / 0.7287 GB, free: 3.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.6303, allocations: 15.11 kB / 0.7287 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.6303, allocations: 36.84 kB / 0.7288 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.6332, allocations: 1.371 MB / 0.7301 GB, free: 2.996 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6332, allocations: 1.312 kB / 0.7301 GB, free: 2.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6332, allocations: 3.938 kB / 0.7301 GB, free: 2.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.6332, allocations: 0 / 0.7301 GB, free: 2.992 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.001118/0.6343, allocations: 0.4916 MB / 0.7306 GB, free: 2.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.6344, allocations: 9.156 kB / 0.7306 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.6348, allocations: 26.03 kB / 0.7306 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.6349, allocations: 174.6 kB / 0.7308 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/0.635, allocations: 31.11 kB / 0.7308 GB, free: 2.301 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.635, allocations: 12.09 kB / 0.7308 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.6354, allocations: 115.8 kB / 0.7309 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.6354, allocations: 0 / 0.7309 GB, free: 2.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6354, allocations: 9.5 kB / 0.731 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6354, allocations: 0.875 kB / 0.731 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.6358, allocations: 113.1 kB / 0.7311 GB, free: 2.156 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.0005136/0.6363, allocations: 384.5 kB / 0.7314 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.6365, allocations: 128 kB / 0.7316 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.6366, allocations: 57.23 kB / 0.7316 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.649, allocations: 4.206 MB / 0.7357 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.6491, allocations: 33.25 kB / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.756e-06/0.6491, allocations: 0 / 0.7357 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006668/0.6497, allocations: 161 kB / 0.7359 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.6498, allocations: 52.53 kB / 0.7359 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.6499, allocations: 102.8 kB / 0.736 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.6499, allocations: 27.42 kB / 0.7361 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.65, allocations: 88.05 kB / 0.7362 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.6501, allocations: 44.44 kB / 0.7362 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/0.6501, allocations: 27.25 kB / 0.7362 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6503, allocations: 319.8 kB / 0.7365 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.6503, allocations: 29.08 kB / 0.7366 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.6504, allocations: 27.7 kB / 0.7366 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.6505, allocations: 69.22 kB / 0.7366 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6505, allocations: 0 / 0.7366 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001998/0.6507, allocations: 109.9 kB / 0.7368 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6508, allocations: 13.5 kB / 0.7368 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6508, allocations: 0 / 0.7368 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.6508, allocations: 0.9375 kB / 0.7368 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.6509, allocations: 29.77 kB / 0.7368 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.6509, allocations: 0 / 0.7368 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.651, allocations: 6.438 kB / 0.7368 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.651, allocations: 9.875 kB / 0.7368 GB, free: 13.96 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.957e-05/0.6511, allocations: 112.5 kB / 0.7369 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.6512, allocations: 3.25 kB / 0.7369 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.6517, allocations: 376.3 kB / 0.7373 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6517, allocations: 6.734 kB / 0.7373 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6517, allocations: 1.188 kB / 0.7373 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6517, allocations: 0 / 0.7373 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.6521, allocations: 289.4 kB / 0.7376 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6521, allocations: 5.438 kB / 0.7376 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.6522, allocations: 19.95 kB / 0.7376 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6522, allocations: 1.344 kB / 0.7376 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.6522, allocations: 1.312 kB / 0.7376 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6522, allocations: 1.281 kB / 0.7376 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.6522, allocations: 0 / 0.7376 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.6527, allocations: 344.5 kB / 0.7379 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.6528, allocations: 96.31 kB / 0.738 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.6528, allocations: 10.75 kB / 0.738 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.653, allocations: 6.734 kB / 0.738 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.653, allocations: 13.02 kB / 0.738 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.653, allocations: 1.812 kB / 0.738 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.866e-05/0.6531, allocations: 86.11 kB / 0.7381 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6531, allocations: 2.875 kB / 0.7381 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001738/0.6548, allocations: 305.7 kB / 0.7384 GB, free: 12.83 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.001244/0.6561, allocations: 405 kB / 0.7388 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.6565, allocations: 132.9 kB / 0.7389 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6565, allocations: 7.938 kB / 0.7389 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.6566, allocations: 110.9 kB / 0.739 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.6569, allocations: 16.89 kB / 0.7391 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.6575, allocations: 306.1 kB / 0.7394 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.6579, allocations: 0.716 MB / 0.7401 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.658, allocations: 27.95 kB / 0.7401 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.658, allocations: 14.91 kB / 0.7401 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.658, allocations: 0 / 0.7401 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.01489/0.6729, allocations: 9.819 MB / 0.7497 GB, free: 2.926 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)