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.001292/0.001292, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.707/1.707, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.00106/0.00106, allocations: 92.14 kB / 270.8 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4284/0.4284, allocations: 48.78 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 438.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1329, allocations: 60.25 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.558/5.691, allocations: 3.017 GB / 3.504 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/5.692, allocations: 79.97 kB / 3.504 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.051/8.743, allocations: 0.9789 GB / 4.483 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.366e-06/8.743, allocations: 0 / 4.483 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.094e-05/8.743, allocations: 40.75 kB / 4.483 GB, free: 32.06 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.01055/8.753, allocations: 3.175 MB / 4.486 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/8.754, allocations: 11.91 kB / 4.486 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/8.754, allocations: 161.7 kB / 4.486 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/8.755, allocations: 263.9 kB / 4.487 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/8.756, allocations: 0.8348 MB / 4.487 GB, free: 29.52 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/8.756, allocations: 83.33 kB / 4.488 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/8.756, allocations: 110.6 kB / 4.488 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/8.759, allocations: 1.539 MB / 4.489 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/8.759, allocations: 3.844 kB / 4.489 GB, free: 28.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/8.759, allocations: 55.41 kB / 4.489 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/8.759, allocations: 28.91 kB / 4.489 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/8.761, allocations: 1.108 MB / 4.49 GB, free: 28.21 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.005761/8.767, allocations: 6.969 MB / 4.497 GB, free: 22.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/8.77, allocations: 1.137 MB / 4.498 GB, free: 22.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4218/9.192, allocations: 63.74 MB / 4.56 GB, free: 39.24 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/9.192, allocations: 39.56 kB / 4.56 GB, free: 39.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=63): time 3.277e-06/9.192, allocations: 2.859 kB / 4.56 GB, free: 39.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=66): time 0.01257/9.204, allocations: 3.72 MB / 4.564 GB, free: 38.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/9.205, allocations: 59.25 kB / 4.564 GB, free: 38.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/9.206, allocations: 0.873 MB / 4.565 GB, free: 38.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/9.206, allocations: 37.95 kB / 4.565 GB, free: 38.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/9.206, allocations: 0.5472 MB / 4.566 GB, free: 38.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/9.206, allocations: 231.1 kB / 4.566 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/9.206, allocations: 17.28 kB / 4.566 GB, free: 37.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/9.206, allocations: 345.1 kB / 4.566 GB, free: 37.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/9.207, allocations: 345.5 kB / 4.566 GB, free: 37.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/9.208, allocations: 0.6185 MB / 4.567 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006654/9.208, allocations: 386.8 kB / 4.567 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/9.208, allocations: 2.625 kB / 4.567 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00268/9.211, allocations: 1.319 MB / 4.569 GB, free: 37.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007051/9.212, allocations: 4.191 MB / 4.573 GB, free: 32.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/9.212, allocations: 12.03 kB / 4.573 GB, free: 32.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007551/9.219, allocations: 1.013 MB / 4.574 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/9.22, allocations: 174.6 kB / 4.574 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/9.222, allocations: 2.725 MB / 4.577 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/9.224, allocations: 100.5 kB / 4.577 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.645e-05/9.224, allocations: 55.95 kB / 4.577 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/9.224, allocations: 5.5 kB / 4.577 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0023/9.226, allocations: 1.047 MB / 4.578 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/9.226, allocations: 11.55 kB / 4.578 GB, free: 30.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/9.227, allocations: 233 kB / 4.578 GB, free: 30.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007482/9.228, allocations: 236.7 kB / 4.578 GB, free: 30.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/9.231, allocations: 4.681 MB / 4.583 GB, free: 26.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/9.232, allocations: 107.4 kB / 4.583 GB, free: 26.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/9.232, allocations: 49.2 kB / 4.583 GB, free: 26.32 MB / 0.5573 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.0008121/9.233, allocations: 408.9 kB / 4.583 GB, free: 26.12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/9.233, allocations: 117.3 kB / 4.584 GB, free: 26.06 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/9.238, allocations: 3.212 MB / 4.587 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/9.238, allocations: 30.89 kB / 4.587 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/9.238, allocations: 8.891 kB / 4.587 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/9.238, allocations: 3.844 kB / 4.587 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/9.24, allocations: 1.581 MB / 4.588 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/9.24, allocations: 0.8438 kB / 4.588 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/9.241, allocations: 86.52 kB / 4.588 GB, free: 25.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007249/9.248, allocations: 1.773 MB / 4.59 GB, free: 25.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/9.248, allocations: 18.22 kB / 4.59 GB, free: 25.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/9.251, allocations: 3.395 MB / 4.593 GB, free: 23.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/9.251, allocations: 2.844 kB / 4.593 GB, free: 23.38 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005998/9.257, allocations: 3.359 MB / 4.597 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007652/9.258, allocations: 281.3 kB / 4.597 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/9.258, allocations: 13.62 kB / 4.597 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007896/9.259, allocations: 90.08 kB / 4.597 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/9.259, allocations: 49.02 kB / 4.597 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.378e-05/9.259, allocations: 22.36 kB / 4.597 GB, free: 22.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001133/9.26, allocations: 0.7654 MB / 4.598 GB, free: 22.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/9.26, allocations: 2 kB / 4.598 GB, free: 22.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009999/9.27, allocations: 1.86 MB / 4.6 GB, free: 22.67 MB / 0.5573 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.01744/9.288, allocations: 5.631 MB / 4.605 GB, free: 21.63 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004907/9.293, allocations: 1.911 MB / 4.607 GB, free: 21.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/9.293, allocations: 3.062 kB / 4.607 GB, free: 21.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/9.294, allocations: 0.7201 MB / 4.608 GB, free: 21.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/9.297, allocations: 0.563 MB / 4.608 GB, free: 21.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/9.312, allocations: 11.97 MB / 4.62 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/9.314, allocations: 1.236 MB / 4.621 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001637/9.315, allocations: 0.5936 MB / 4.622 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008134/9.316, allocations: 0.5709 MB / 4.622 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of SimCode: time 1.843e-06/9.316, allocations: 0 / 4.622 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/9.441, allocations: 82.56 MB / 4.703 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/9.441, allocations: 229.4 kB / 4.703 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.127/14.57, allocations: 3.938 kB / 4.703 GB, free: 6.078 MB / 0.5573 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)