Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve") translateModel(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 223.5 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008353/0.0008358, allocations: 104.7 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5316/0.5316, allocations: 48.77 MB / 368.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004668, allocations: 12 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1697, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.763/6.933, allocations: 3.017 GB / 3.506 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/6.933, allocations: 84.95 kB / 3.506 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.041/9.975, allocations: 0.9294 GB / 4.435 GB, free: 39.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.825e-06/9.975, allocations: 0 / 4.435 GB, free: 39.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001145/9.975, allocations: 32.44 kB / 4.435 GB, free: 39.64 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01189/9.987, allocations: 3.168 MB / 4.438 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/9.987, allocations: 7 kB / 4.438 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/9.988, allocations: 258.4 kB / 4.438 GB, free: 37.92 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/9.99, allocations: 0.8594 MB / 4.439 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.702e-05/9.99, allocations: 81.02 kB / 4.439 GB, free: 37.55 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/9.99, allocations: 122.5 kB / 4.439 GB, free: 37.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/9.994, allocations: 1.541 MB / 4.441 GB, free: 37.08 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/9.994, allocations: 4.125 kB / 4.441 GB, free: 37.08 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/9.994, allocations: 59.16 kB / 4.441 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/9.994, allocations: 26.75 kB / 4.441 GB, free: 37.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/9.996, allocations: 1.113 MB / 4.442 GB, free: 37.05 MB / 0.5417 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.006837/10, allocations: 6.958 MB / 4.449 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/10.01, allocations: 1.122 MB / 4.45 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/10.01, allocations: 335.6 kB / 4.45 GB, free: 32.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1068/10.11, allocations: 63.75 MB / 4.513 GB, free: 24.14 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/10.11, allocations: 44.8 kB / 4.513 GB, free: 24.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 4.218e-06/10.11, allocations: 0 / 4.513 GB, free: 24.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=66): time 0.01405/10.13, allocations: 3.839 MB / 4.516 GB, free: 22.37 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/10.13, allocations: 63.53 kB / 4.516 GB, free: 22.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/10.13, allocations: 0.9975 MB / 4.517 GB, free: 21.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/10.13, allocations: 33.7 kB / 4.517 GB, free: 21.39 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/10.13, allocations: 0.547 MB / 4.518 GB, free: 20.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/10.13, allocations: 230.3 kB / 4.518 GB, free: 20.69 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/10.13, allocations: 16 kB / 4.518 GB, free: 20.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001388/10.13, allocations: 345 kB / 4.519 GB, free: 20.34 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/10.13, allocations: 347.8 kB / 4.519 GB, free: 20.05 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/10.13, allocations: 0.6172 MB / 4.519 GB, free: 19.34 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/10.14, allocations: 2.574 MB / 4.522 GB, free: 17.13 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/10.14, allocations: 8 kB / 4.522 GB, free: 17.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002924/10.15, allocations: 1.333 MB / 4.523 GB, free: 15.92 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000223/10.15, allocations: 414.7 kB / 4.524 GB, free: 15.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/10.15, allocations: 8 kB / 4.524 GB, free: 15.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008437/10.16, allocations: 1.146 MB / 4.525 GB, free: 14.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/10.16, allocations: 179.7 kB / 4.525 GB, free: 14.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/10.16, allocations: 2.723 MB / 4.528 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/10.16, allocations: 102.8 kB / 4.528 GB, free: 11.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/10.16, allocations: 51.75 kB / 4.528 GB, free: 11.53 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/10.16, allocations: 4 kB / 4.528 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/10.16, allocations: 1.026 MB / 4.529 GB, free: 10.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.203e-05/10.16, allocations: 8 kB / 4.529 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009003/10.16, allocations: 239.5 kB / 4.529 GB, free: 10.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/10.16, allocations: 226.3 kB / 4.529 GB, free: 10.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/10.17, allocations: 4.664 MB / 4.534 GB, free: 5.246 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/10.17, allocations: 103.1 kB / 4.534 GB, free: 5.164 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/10.17, allocations: 44 kB / 4.534 GB, free: 5.121 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real steamTurbines.mixLP.h:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))))))))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))))))))) start = steamTurbines.mixLP.hstart unit = "J/kg" fixed = true nominal = 500000.0 stateSelect=StateSelect.prefer ) "Fluid specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 10 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.valveLP.fluidState.phase,steamTurbines.valveIP.fluidState.phase,steamTurbines.valveHP.fluidState.phase,steamTurbines.mixLP.fluidState.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 8,1 5,1 8,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009325/10.17, allocations: 414.9 kB / 4.534 GB, free: 4.734 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/10.17, allocations: 118.6 kB / 4.534 GB, free: 4.617 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005145/10.18, allocations: 3.212 MB / 4.538 GB, free: 1.766 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/10.18, allocations: 27.02 kB / 4.538 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/10.18, allocations: 1.312 kB / 4.538 GB, free: 1.75 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/10.18, allocations: 10.61 kB / 4.538 GB, free: 1.746 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/10.18, allocations: 1.582 MB / 4.539 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/10.18, allocations: 7.688 kB / 4.539 GB, free: 456 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/10.18, allocations: 79.19 kB / 4.539 GB, free: 388 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3036/10.48, allocations: 1.803 MB / 4.541 GB, free: 70.87 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/10.48, allocations: 21.45 kB / 4.541 GB, free: 70.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002945/10.49, allocations: 3.393 MB / 4.544 GB, free: 68.79 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/10.49, allocations: 3.75 kB / 4.544 GB, free: 68.79 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/10.49, allocations: 3.358 MB / 4.548 GB, free: 68.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/10.49, allocations: 276.4 kB / 4.548 GB, free: 68.38 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/10.49, allocations: 15.23 kB / 4.548 GB, free: 68.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/10.49, allocations: 87.84 kB / 4.548 GB, free: 68.38 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/10.49, allocations: 47.91 kB / 4.548 GB, free: 68.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/10.49, allocations: 23.09 kB / 4.548 GB, free: 68.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001252/10.49, allocations: 0.7699 MB / 4.549 GB, free: 68.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/10.49, allocations: 0 / 4.549 GB, free: 68.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007657/10.5, allocations: 1.866 MB / 4.551 GB, free: 68.27 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 14 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 11,1 5,1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01146/10.51, allocations: 2.554 MB / 4.553 GB, free: 68.08 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003807/10.52, allocations: 1.905 MB / 4.555 GB, free: 67.74 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/10.52, allocations: 0 / 4.555 GB, free: 67.74 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/10.52, allocations: 0.7231 MB / 4.556 GB, free: 67.72 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002893/10.52, allocations: 0.5697 MB / 4.556 GB, free: 67.71 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/10.52, allocations: 3.338 MB / 4.56 GB, free: 66.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/10.53, allocations: 1.208 MB / 4.561 GB, free: 65.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001142/10.53, allocations: 0.5939 MB / 4.561 GB, free: 65.53 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/10.53, allocations: 81 kB / 4.561 GB, free: 65.52 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/10.53, allocations: 2.094 kB / 4.561 GB, free: 65.52 MB / 0.573 GB Notification: Performance of Templates: time 0.5314/11.06, allocations: 68.51 MB / 4.628 GB, free: 62.92 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.makefile (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.sim & ./ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe 2>&1)