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.001387/0.001387, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.57/1.57, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0008719/0.000872, allocations: 82.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3107/0.3107, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.118e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 60.26 MB / 492.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.521/8.652, allocations: 3.018 GB / 3.499 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/8.652, allocations: 77.95 kB / 3.499 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.91/14.56, allocations: 1.464 GB / 4.963 GB, free: 33.13 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.074e-06/14.56, allocations: 0 / 4.963 GB, free: 33.13 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001348/14.56, allocations: 48.38 kB / 4.963 GB, free: 33.12 MB / 0.573 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.01638/14.58, allocations: 4.008 MB / 4.967 GB, free: 31.13 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/14.58, allocations: 11.91 kB / 4.967 GB, free: 31.13 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005572/14.58, allocations: 221.2 kB / 4.967 GB, free: 31.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/14.58, allocations: 341.6 kB / 4.967 GB, free: 30.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/14.58, allocations: 1.132 MB / 4.968 GB, free: 30.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/14.58, allocations: 125.3 kB / 4.968 GB, free: 30.58 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/14.58, allocations: 165.8 kB / 4.969 GB, free: 30.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/14.59, allocations: 2.028 MB / 4.971 GB, free: 30.08 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/14.59, allocations: 7.375 kB / 4.971 GB, free: 30.08 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/14.59, allocations: 66.84 kB / 4.971 GB, free: 30.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/14.59, allocations: 41.72 kB / 4.971 GB, free: 30.08 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/14.59, allocations: 1.422 MB / 4.972 GB, free: 30.03 MB / 0.573 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.009774/14.6, allocations: 9.429 MB / 4.981 GB, free: 24.35 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/14.6, allocations: 1.149 MB / 4.982 GB, free: 24.11 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/14.6, allocations: 370.9 kB / 4.983 GB, free: 24.1 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1203/14.72, allocations: 64.01 MB / 5.045 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/14.72, allocations: 46.09 kB / 5.045 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00144/14.73, allocations: 189.1 kB / 5.045 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=79): time 4.027e-06/14.73, allocations: 0 / 5.045 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82): time 0.007795/14.73, allocations: 2.85 MB / 5.048 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/14.73, allocations: 62.41 kB / 5.048 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/14.74, allocations: 1.302 MB / 5.05 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.696e-05/14.74, allocations: 43.98 kB / 5.05 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/14.74, allocations: 0.7648 MB / 5.05 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/14.74, allocations: 291.3 kB / 5.051 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/14.74, allocations: 26.66 kB / 5.051 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001485/14.74, allocations: 351.9 kB / 5.051 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/14.74, allocations: 377.1 kB / 5.051 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/14.74, allocations: 0.7738 MB / 5.052 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/14.74, allocations: 435.7 kB / 5.053 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/14.74, allocations: 7.922 kB / 5.053 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002495/14.74, allocations: 1.464 MB / 5.054 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.002081/14.74, allocations: 6.005 MB / 5.06 GB, free: 6.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/14.74, allocations: 16 kB / 5.06 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005667/14.75, allocations: 0.759 MB / 5.061 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/14.75, allocations: 286.1 kB / 5.061 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/14.75, allocations: 2.54 MB / 5.063 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/14.75, allocations: 153.5 kB / 5.063 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/14.75, allocations: 68.39 kB / 5.064 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/14.75, allocations: 4 kB / 5.064 GB, free: 3.504 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002422/14.76, allocations: 1.248 MB / 5.065 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/14.76, allocations: 16 kB / 5.065 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009414/14.76, allocations: 246 kB / 5.065 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/14.76, allocations: 323.9 kB / 5.065 GB, free: 2.262 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5423/15.3, allocations: 4.653 MB / 5.07 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/15.3, allocations: 150.5 kB / 5.07 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/15.3, allocations: 66.02 kB / 5.07 GB, free: 61.14 MB / 0.6042 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, 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" 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 () * 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.0006605/15.3, allocations: 263 kB / 5.07 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003594/15.3, allocations: 171.3 kB / 5.07 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/15.31, allocations: 3.394 MB / 5.074 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/15.31, allocations: 34.2 kB / 5.074 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/15.31, allocations: 3.281 kB / 5.074 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/15.31, allocations: 5.531 kB / 5.074 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008696/15.32, allocations: 5.54 MB / 5.079 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/15.32, allocations: 3.375 kB / 5.079 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/15.32, allocations: 137.2 kB / 5.079 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006345/15.33, allocations: 1.748 MB / 5.081 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/15.33, allocations: 27.73 kB / 5.081 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/15.33, allocations: 3.215 MB / 5.084 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/15.33, allocations: 10.67 kB / 5.084 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/15.34, allocations: 3.727 MB / 5.088 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/15.34, allocations: 349.5 kB / 5.088 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/15.34, allocations: 19.44 kB / 5.088 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/15.34, allocations: 137.3 kB / 5.088 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/15.34, allocations: 60.91 kB / 5.088 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/15.34, allocations: 36.64 kB / 5.088 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002028/15.34, allocations: 1.081 MB / 5.09 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/15.34, allocations: 1.094 kB / 5.09 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01175/15.35, allocations: 2.174 MB / 5.092 GB, free: 56.74 MB / 0.6042 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 () * 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.01901/15.37, allocations: 7.064 MB / 5.099 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004655/15.38, allocations: 2.147 MB / 5.101 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/15.38, allocations: 2.938 kB / 5.101 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/15.38, allocations: 0.7229 MB / 5.101 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004903/15.38, allocations: 0.8431 MB / 5.102 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/15.39, allocations: 3.393 MB / 5.105 GB, free: 53.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/15.4, allocations: 1.41 MB / 5.107 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002682/15.4, allocations: 0.8718 MB / 5.108 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009821/15.4, allocations: 0.7697 MB / 5.108 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.754e-06/15.4, allocations: 0 / 5.108 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/15.61, allocations: 116 MB / 5.222 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/15.61, allocations: 202.2 kB / 5.222 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/22.66, allocations: 4 kB / 5.222 GB, free: 42.49 MB / 0.6042 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)