Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.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_bypass,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass",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.001148/0.001148, allocations: 180.5 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.331/1.331, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008499/0.0008499, allocations: 102.8 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3899/0.3899, allocations: 48.79 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 438.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 60.23 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.79/5.899, allocations: 3.018 GB / 3.505 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004022/5.899, allocations: 81.03 kB / 3.505 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.773/11.67, allocations: 1.468 GB / 4.973 GB, free: 38.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.685e-06/11.67, allocations: 0 / 4.973 GB, free: 38.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001526/11.67, allocations: 51.98 kB / 4.973 GB, free: 38.09 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.0173/11.69, allocations: 4.225 MB / 4.977 GB, free: 36.06 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/11.69, allocations: 7.375 kB / 4.977 GB, free: 36.06 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005609/11.69, allocations: 222.3 kB / 4.978 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/11.69, allocations: 346.6 kB / 4.978 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/11.69, allocations: 1.136 MB / 4.979 GB, free: 35.53 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/11.69, allocations: 124.7 kB / 4.979 GB, free: 35.53 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/11.69, allocations: 165.3 kB / 4.979 GB, free: 35.53 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/11.7, allocations: 2.058 MB / 4.981 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/11.7, allocations: 6.344 kB / 4.981 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/11.7, allocations: 69.97 kB / 4.981 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/11.7, allocations: 40.25 kB / 4.981 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003844/11.7, allocations: 1.538 MB / 4.983 GB, free: 35.04 MB / 0.5886 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.01311/11.72, allocations: 9.441 MB / 4.992 GB, free: 29.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/11.72, allocations: 1.237 MB / 4.993 GB, free: 29.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1175/11.84, allocations: 63.76 MB / 5.056 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.302e-05/11.84, allocations: 40 kB / 5.056 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002324/11.84, allocations: 182.1 kB / 5.056 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=79): time 1.211e-05/11.84, allocations: 0 / 5.056 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.01783/11.86, allocations: 4.153 MB / 5.06 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/11.86, allocations: 59.06 kB / 5.06 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/11.86, allocations: 1.323 MB / 5.061 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/11.86, allocations: 44.67 kB / 5.061 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/11.86, allocations: 0.7636 MB / 5.062 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004256/11.86, allocations: 289.1 kB / 5.062 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/11.86, allocations: 27.09 kB / 5.062 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001965/11.86, allocations: 351 kB / 5.063 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/11.86, allocations: 465.9 kB / 5.063 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/11.87, allocations: 0.8558 MB / 5.064 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/11.87, allocations: 0.5158 MB / 5.064 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/11.87, allocations: 3.531 kB / 5.064 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004415/11.87, allocations: 1.687 MB / 5.066 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.003223/11.87, allocations: 6.006 MB / 5.072 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-05/11.87, allocations: 14.25 kB / 5.072 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/11.88, allocations: 0.829 MB / 5.073 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/11.88, allocations: 273.5 kB / 5.073 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/11.89, allocations: 2.661 MB / 5.076 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/11.89, allocations: 160.5 kB / 5.076 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/11.89, allocations: 70.42 kB / 5.076 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/11.89, allocations: 6.906 kB / 5.076 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004564/11.89, allocations: 1.417 MB / 5.077 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-05/11.9, allocations: 19.25 kB / 5.077 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/11.9, allocations: 246.1 kB / 5.078 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/11.9, allocations: 322 kB / 5.078 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/11.9, allocations: 4.699 MB / 5.082 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/11.91, allocations: 146.3 kB / 5.083 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004507/11.91, allocations: 68.81 kB / 5.083 GB, free: 22.31 MB / 0.6355 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, 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, 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: 67 * Number of states: 0 () * Number of discrete variables: 13 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase,steamTurbines.byPassLP.fluidState.phase,steamTurbines.byPassIP.fluidState.phase,steamTurbines.byPassHP.fluidState.phase,steamTurbines.valveLP.fluidState.phase,steamTurbines.valveIP.fluidState.phase,steamTurbines.valveHP.fluidState.phase,steamTurbines.mixLP.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 133 * 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 7,1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002768/11.91, allocations: 0.4966 MB / 5.083 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009547/11.91, allocations: 167.9 kB / 5.083 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007667/11.92, allocations: 3.568 MB / 5.087 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/11.92, allocations: 30.81 kB / 5.087 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/11.92, allocations: 1.312 kB / 5.087 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/11.92, allocations: 3.656 kB / 5.087 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/11.93, allocations: 5.687 MB / 5.092 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/11.93, allocations: 2.656 kB / 5.092 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/11.93, allocations: 132.8 kB / 5.092 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007325/11.94, allocations: 1.644 MB / 5.094 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/11.94, allocations: 29.89 kB / 5.094 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004997/11.95, allocations: 3.325 MB / 5.097 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/11.95, allocations: 4.969 kB / 5.097 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008777/11.96, allocations: 3.909 MB / 5.101 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/11.96, allocations: 347.5 kB / 5.102 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009339/11.96, allocations: 24.89 kB / 5.102 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/11.96, allocations: 132.5 kB / 5.102 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/11.96, allocations: 64.89 kB / 5.102 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.1e-05/11.96, allocations: 30.47 kB / 5.102 GB, free: 17.49 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003327/11.96, allocations: 1.11 MB / 5.103 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/11.96, allocations: 0 / 5.103 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01804/11.98, allocations: 2.177 MB / 5.105 GB, free: 17.12 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * 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 4,1 10,1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.03166/12.01, allocations: 7.321 MB / 5.112 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008218/12.02, allocations: 2.358 MB / 5.114 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/12.02, allocations: 1.938 kB / 5.114 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/12.02, allocations: 0.8114 MB / 5.115 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/12.03, allocations: 0.8311 MB / 5.116 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03248/12.06, allocations: 16.3 MB / 5.132 GB, free: 384 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/12.07, allocations: 1.407 MB / 5.133 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003131/12.07, allocations: 0.8199 MB / 5.134 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/12.07, allocations: 0.7842 MB / 5.135 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of SimCode: time 2.134e-06/12.07, allocations: 1.969 kB / 5.135 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8103/12.88, allocations: 105.8 MB / 5.238 GB, free: 95.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/12.88, allocations: 226.1 kB / 5.238 GB, free: 94.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/20.19, allocations: 0 / 5.238 GB, free: 94.95 MB / 0.6511 GB (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_bypass.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_bypass.pipe 2>&1)