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: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_valve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_valve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008594/0.0008594, allocations: 87.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4591/0.4591, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.891e-05/1.895e-05, allocations: 4.219 kB / 425.4 MB, free: 8.125 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 60.27 MB / 485.7 MB, free: 11.71 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.311/8.44, allocations: 3.016 GB / 3.49 GB, free: 71.18 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/8.44, allocations: 84.77 kB / 3.49 GB, free: 71.11 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.104/12.54, allocations: 0.9677 GB / 4.458 GB, free: 35.25 MB / 0.5421 GB Notification: Performance of FrontEnd: time 1.934e-06/12.54, allocations: 0 / 4.458 GB, free: 35.25 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 8.562e-05/12.54, allocations: 40.58 kB / 4.458 GB, free: 35.24 MB / 0.5421 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.0115/12.56, allocations: 3.023 MB / 4.461 GB, free: 33.75 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/12.56, allocations: 13.66 kB / 4.461 GB, free: 33.75 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/12.56, allocations: 254.7 kB / 4.461 GB, free: 33.68 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/12.56, allocations: 0.8245 MB / 4.462 GB, free: 33.36 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.128e-05/12.56, allocations: 34.97 kB / 4.462 GB, free: 33.36 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/12.56, allocations: 72.39 kB / 4.462 GB, free: 33.36 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001487/12.56, allocations: 0.8298 MB / 4.463 GB, free: 33.35 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/12.56, allocations: 1.154 MB / 4.464 GB, free: 32.92 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/12.56, allocations: 7.125 kB / 4.464 GB, free: 32.92 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/12.56, allocations: 6.875 kB / 4.464 GB, free: 32.92 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/12.56, allocations: 26.03 kB / 4.464 GB, free: 32.92 MB / 0.5421 GB Warning: The model contains alias variables with conflicting start and/or 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.1646/12.73, allocations: 70.62 MB / 4.533 GB, free: 20.61 MB / 0.5733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/12.73, allocations: 0.8299 MB / 4.534 GB, free: 20.57 MB / 0.5733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/12.73, allocations: 259.6 kB / 4.534 GB, free: 20.56 MB / 0.5733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1252/12.86, allocations: 63.99 MB / 4.597 GB, free: 5.543 MB / 0.6046 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/12.86, allocations: 37.5 kB / 4.597 GB, free: 5.5 MB / 0.6046 GB Notification: Performance of pre-optimization done (n=59): time 4.038e-06/12.86, allocations: 3.422 kB / 4.597 GB, free: 5.5 MB / 0.6046 GB Notification: Performance of matching and sorting (n=62): time 0.008873/12.86, allocations: 2.332 MB / 4.599 GB, free: 3.922 MB / 0.6046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/12.86, allocations: 55.97 kB / 4.599 GB, free: 3.855 MB / 0.6046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/12.87, allocations: 0.6193 MB / 4.6 GB, free: 3.445 MB / 0.6046 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/12.87, allocations: 26.27 kB / 4.6 GB, free: 3.414 MB / 0.6046 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003432/12.87, allocations: 0.571 MB / 4.6 GB, free: 3.055 MB / 0.6046 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/12.87, allocations: 214.5 kB / 4.601 GB, free: 2.891 MB / 0.6046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/12.87, allocations: 4 kB / 4.601 GB, free: 2.887 MB / 0.6046 GB Notification: Performance of setup shared object (initialization): time 0.0001526/12.87, allocations: 343.3 kB / 4.601 GB, free: 2.57 MB / 0.6046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/12.87, allocations: 280.5 kB / 4.601 GB, free: 2.43 MB / 0.6046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/12.87, allocations: 0.5442 MB / 4.602 GB, free: 1.879 MB / 0.6046 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/12.87, allocations: 369.8 kB / 4.602 GB, free: 1.684 MB / 0.6046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/12.87, allocations: 7.938 kB / 4.602 GB, free: 1.676 MB / 0.6046 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002782/12.87, allocations: 1.122 MB / 4.603 GB, free: 0.9688 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 0.4711/13.34, allocations: 4.175 MB / 4.607 GB, free: 95.79 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.194e-05/13.34, allocations: 14.2 kB / 4.607 GB, free: 95.79 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/13.35, allocations: 0.4984 MB / 4.608 GB, free: 95.76 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/13.35, allocations: 173.7 kB / 4.608 GB, free: 95.76 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/13.35, allocations: 2.716 MB / 4.611 GB, free: 93.69 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/13.35, allocations: 87.02 kB / 4.611 GB, free: 93.69 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/13.35, allocations: 51.33 kB / 4.611 GB, free: 93.69 MB / 0.6046 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/13.35, allocations: 6.594 kB / 4.611 GB, free: 93.69 MB / 0.6046 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00241/13.35, allocations: 0.8274 MB / 4.611 GB, free: 93.65 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/13.35, allocations: 11.5 kB / 4.611 GB, free: 93.65 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008866/13.35, allocations: 224.4 kB / 4.612 GB, free: 93.62 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/13.36, allocations: 228.8 kB / 4.612 GB, free: 93.62 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/13.36, allocations: 4.649 MB / 4.616 GB, free: 89.56 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/13.36, allocations: 84.52 kB / 4.617 GB, free: 89.56 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/13.36, allocations: 48.39 kB / 4.617 GB, free: 89.56 MB / 0.6046 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "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" 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 () * 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.0005412/13.36, allocations: 185 kB / 4.617 GB, free: 89.45 MB / 0.6046 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004812/13.37, allocations: 1.071 MB / 4.618 GB, free: 89.38 MB / 0.6046 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/13.37, allocations: 92.34 kB / 4.618 GB, free: 89.38 MB / 0.6046 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/13.37, allocations: 2.888 MB / 4.621 GB, free: 89.13 MB / 0.6046 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/13.37, allocations: 27.86 kB / 4.621 GB, free: 89.13 MB / 0.6046 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/13.37, allocations: 3.953 kB / 4.621 GB, free: 89.12 MB / 0.6046 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/13.37, allocations: 5.891 kB / 4.621 GB, free: 89.12 MB / 0.6046 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/13.37, allocations: 1.329 MB / 4.622 GB, free: 88.96 MB / 0.6046 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/13.37, allocations: 0 / 4.622 GB, free: 88.96 MB / 0.6046 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/13.37, allocations: 71.22 kB / 4.622 GB, free: 88.96 MB / 0.6046 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/13.38, allocations: 1.481 MB / 4.624 GB, free: 88.91 MB / 0.6046 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/13.38, allocations: 10.11 kB / 4.624 GB, free: 88.91 MB / 0.6046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/13.38, allocations: 3.458 MB / 4.627 GB, free: 86.8 MB / 0.6046 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/13.38, allocations: 0 / 4.627 GB, free: 86.8 MB / 0.6046 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004683/13.38, allocations: 3.113 MB / 4.63 GB, free: 86.39 MB / 0.6046 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/13.38, allocations: 207 kB / 4.63 GB, free: 86.23 MB / 0.6046 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/13.38, allocations: 2.594 kB / 4.63 GB, free: 86.23 MB / 0.6046 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/13.39, allocations: 75.38 kB / 4.63 GB, free: 86.23 MB / 0.6046 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/13.39, allocations: 45.7 kB / 4.63 GB, free: 86.23 MB / 0.6046 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/13.39, allocations: 23.88 kB / 4.63 GB, free: 86.23 MB / 0.6046 GB Notification: Performance of sorting global known variables: time 0.0005864/13.39, allocations: 461 kB / 4.631 GB, free: 86.14 MB / 0.6046 GB Notification: Performance of sort global known variables: time 1.7e-07/13.39, allocations: 6.781 kB / 4.631 GB, free: 86.14 MB / 0.6046 GB Notification: Performance of remove unused functions: time 0.008877/13.39, allocations: 1.747 MB / 4.632 GB, free: 86.14 MB / 0.6046 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 32 * 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.01808/13.41, allocations: 5.602 MB / 4.638 GB, free: 85.16 MB / 0.6046 GB Notification: Performance of simCode: created initialization part: time 0.003298/13.42, allocations: 1.654 MB / 4.64 GB, free: 84.84 MB / 0.6046 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/13.42, allocations: 3.156 kB / 4.64 GB, free: 84.84 MB / 0.6046 GB Notification: Performance of simCode: created simulation system equations: time 0.0009612/13.42, allocations: 0.6297 MB / 4.64 GB, free: 84.83 MB / 0.6046 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/13.42, allocations: 340.9 kB / 4.641 GB, free: 84.82 MB / 0.6046 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008022/13.43, allocations: 2.57 MB / 4.643 GB, free: 84.32 MB / 0.6046 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/13.43, allocations: 1.214 MB / 4.644 GB, free: 83.6 MB / 0.6046 GB Notification: Performance of simCode: alias equations: time 0.001394/13.43, allocations: 0.648 MB / 4.645 GB, free: 83.59 MB / 0.6046 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/13.43, allocations: 0.5211 MB / 4.645 GB, free: 83.58 MB / 0.6046 GB Notification: Performance of SimCode: time 1.052e-06/13.43, allocations: 0 / 4.645 GB, free: 83.58 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/13.57, allocations: 65.78 MB / 4.71 GB, free: 81.07 MB / 0.6046 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/13.57, allocations: 152.1 kB / 4.71 GB, free: 80.88 MB / 0.6046 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.86/18.43, allocations: 0 / 4.71 GB, free: 80.88 MB / 0.6046 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_valve_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_valve.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve.pipe 2>&1)