Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.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_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",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.001384/0.001384, allocations: 176.2 kB / 8.348 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.513/1.513, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.0008516/0.0008513, allocations: 84.84 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.4707/0.4707, allocations: 48.78 MB / 358.8 MB, free: 53.2 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.995e-05, allocations: 4.219 kB / 425.4 MB, free: 8.137 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 60.26 MB / 485.6 MB, free: 11.73 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.129/8.266, allocations: 2.974 GB / 3.448 GB, free: 93.93 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/8.267, allocations: 79.39 kB / 3.448 GB, free: 93.86 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.299/12.57, allocations: 1.054 GB / 4.502 GB, free: 29.71 MB / 0.5421 GB Notification: Performance of FrontEnd: time 2.014e-06/12.57, allocations: 0 / 4.502 GB, free: 29.71 MB / 0.5421 GB Notification: Performance of Transformations before backend: time 6.271e-05/12.57, allocations: 23.28 kB / 4.503 GB, free: 29.7 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.01117/12.58, allocations: 2.688 MB / 4.505 GB, free: 28.09 MB / 0.5421 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/12.58, allocations: 11.09 kB / 4.505 GB, free: 28.09 MB / 0.5421 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/12.58, allocations: 194 kB / 4.505 GB, free: 28.02 MB / 0.5421 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/12.58, allocations: 0.6422 MB / 4.506 GB, free: 27.59 MB / 0.5421 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/12.58, allocations: 30.19 kB / 4.506 GB, free: 27.59 MB / 0.5421 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/12.58, allocations: 54.53 kB / 4.506 GB, free: 27.59 MB / 0.5421 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001037/12.58, allocations: 0.5273 MB / 4.507 GB, free: 27.36 MB / 0.5421 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/12.58, allocations: 0.95 MB / 4.507 GB, free: 26.75 MB / 0.5421 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/12.58, allocations: 6.844 kB / 4.508 GB, free: 26.74 MB / 0.5421 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/12.58, allocations: 2.812 kB / 4.508 GB, free: 26.74 MB / 0.5421 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/12.58, allocations: 26.06 kB / 4.508 GB, free: 26.74 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.6673/13.25, allocations: 133.3 MB / 4.638 GB, free: 19.41 MB / 0.5733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/13.25, allocations: 190.4 kB / 4.638 GB, free: 19.39 MB / 0.5733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/13.25, allocations: 84.98 kB / 4.638 GB, free: 19.38 MB / 0.5733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1252/13.38, allocations: 63.97 MB / 4.7 GB, free: 26.52 MB / 0.6202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/13.38, allocations: 41.39 kB / 4.7 GB, free: 26.48 MB / 0.6202 GB Notification: Performance of pre-optimization done (n=21): time 3.927e-06/13.38, allocations: 7.281 kB / 4.701 GB, free: 26.47 MB / 0.6202 GB Notification: Performance of matching and sorting (n=24): time 0.004187/13.38, allocations: 1.121 MB / 4.702 GB, free: 26.11 MB / 0.6202 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/13.38, allocations: 54.78 kB / 4.702 GB, free: 26.05 MB / 0.6202 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/13.38, allocations: 495.9 kB / 4.702 GB, free: 25.93 MB / 0.6202 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/13.38, allocations: 25.7 kB / 4.702 GB, free: 25.9 MB / 0.6202 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/13.38, allocations: 0.5224 MB / 4.703 GB, free: 25.67 MB / 0.6202 GB Notification: Performance of collectInitialBindings (initialization): time 8.911e-05/13.38, allocations: 89.23 kB / 4.703 GB, free: 25.62 MB / 0.6202 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/13.38, allocations: 0 / 4.703 GB, free: 25.62 MB / 0.6202 GB Notification: Performance of setup shared object (initialization): time 0.0001787/13.38, allocations: 367.9 kB / 4.703 GB, free: 25.31 MB / 0.6202 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/13.38, allocations: 146.8 kB / 4.703 GB, free: 25.3 MB / 0.6202 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/13.38, allocations: 328.5 kB / 4.704 GB, free: 25.04 MB / 0.6202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/13.38, allocations: 210.9 kB / 4.704 GB, free: 25.02 MB / 0.6202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/13.38, allocations: 3.344 kB / 4.704 GB, free: 25.02 MB / 0.6202 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001435/13.38, allocations: 0.5709 MB / 4.704 GB, free: 24.94 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 0.001297/13.39, allocations: 2.868 MB / 4.707 GB, free: 21.93 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/13.39, allocations: 11.48 kB / 4.707 GB, free: 21.93 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/13.39, allocations: 97.72 kB / 4.707 GB, free: 21.91 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/13.39, allocations: 125.2 kB / 4.707 GB, free: 21.91 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000629/13.39, allocations: 0.6314 MB / 4.708 GB, free: 21.39 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008102/13.39, allocations: 69.88 kB / 4.708 GB, free: 21.38 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/13.39, allocations: 32.45 kB / 4.708 GB, free: 21.38 MB / 0.6202 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/13.39, allocations: 7.281 kB / 4.708 GB, free: 21.38 MB / 0.6202 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009904/13.39, allocations: 470.2 kB / 4.709 GB, free: 21.35 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/13.39, allocations: 6.906 kB / 4.709 GB, free: 21.35 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/13.39, allocations: 95.88 kB / 4.709 GB, free: 21.34 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/13.39, allocations: 122.6 kB / 4.709 GB, free: 21.34 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005138/13.39, allocations: 0.633 MB / 4.709 GB, free: 20.82 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/13.39, allocations: 53 kB / 4.709 GB, free: 20.81 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/13.39, allocations: 27.03 kB / 4.709 GB, free: 20.81 MB / 0.6202 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: 33 * Number of states: 0 () * Number of discrete variables: 7 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003185/13.39, allocations: 181.8 kB / 4.71 GB, free: 20.69 MB / 0.6202 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007295/13.39, allocations: 325.8 kB / 4.71 GB, free: 20.62 MB / 0.6202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/13.39, allocations: 56.78 kB / 4.71 GB, free: 20.59 MB / 0.6202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/13.39, allocations: 0.9272 MB / 4.711 GB, free: 20.48 MB / 0.6202 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/13.39, allocations: 11.88 kB / 4.711 GB, free: 20.48 MB / 0.6202 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/13.39, allocations: 5.562 kB / 4.711 GB, free: 20.48 MB / 0.6202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/13.39, allocations: 0 / 4.711 GB, free: 20.48 MB / 0.6202 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/13.4, allocations: 1.642 MB / 4.712 GB, free: 20.13 MB / 0.6202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/13.4, allocations: 0 / 4.712 GB, free: 20.13 MB / 0.6202 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/13.4, allocations: 38.23 kB / 4.713 GB, free: 20.13 MB / 0.6202 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/13.4, allocations: 115.7 kB / 4.713 GB, free: 20.11 MB / 0.6202 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/13.4, allocations: 6.359 kB / 4.713 GB, free: 20.11 MB / 0.6202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/13.4, allocations: 0.6859 MB / 4.713 GB, free: 19.59 MB / 0.6202 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/13.4, allocations: 0 / 4.713 GB, free: 19.59 MB / 0.6202 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/13.4, allocations: 0.9969 MB / 4.714 GB, free: 19.26 MB / 0.6202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/13.4, allocations: 151.8 kB / 4.714 GB, free: 19.13 MB / 0.6202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/13.4, allocations: 7.453 kB / 4.714 GB, free: 19.13 MB / 0.6202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/13.4, allocations: 27.06 kB / 4.714 GB, free: 19.12 MB / 0.6202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/13.4, allocations: 18.41 kB / 4.714 GB, free: 19.12 MB / 0.6202 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/13.4, allocations: 14.09 kB / 4.714 GB, free: 19.12 MB / 0.6202 GB Notification: Performance of sorting global known variables: time 0.0004117/13.4, allocations: 369.7 kB / 4.715 GB, free: 19.04 MB / 0.6202 GB Notification: Performance of sort global known variables: time 1.8e-07/13.4, allocations: 4 kB / 4.715 GB, free: 19.04 MB / 0.6202 GB Notification: Performance of remove unused functions: time 0.008238/13.41, allocations: 1.591 MB / 4.716 GB, free: 19.04 MB / 0.6202 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01499/13.42, allocations: 4.592 MB / 4.721 GB, free: 17.52 MB / 0.6202 GB Notification: Performance of simCode: created initialization part: time 0.001603/13.42, allocations: 0.6417 MB / 4.722 GB, free: 17.51 MB / 0.6202 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/13.42, allocations: 256 / 4.722 GB, free: 17.51 MB / 0.6202 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/13.42, allocations: 232.3 kB / 4.722 GB, free: 17.51 MB / 0.6202 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/13.43, allocations: 184.3 kB / 4.722 GB, free: 17.5 MB / 0.6202 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007898/13.43, allocations: 1.728 MB / 4.724 GB, free: 16.96 MB / 0.6202 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/13.43, allocations: 1.003 MB / 4.725 GB, free: 16.25 MB / 0.6202 GB Notification: Performance of simCode: alias equations: time 0.001114/13.44, allocations: 0.5413 MB / 4.725 GB, free: 16.22 MB / 0.6202 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/13.44, allocations: 349.8 kB / 4.725 GB, free: 16.21 MB / 0.6202 GB Notification: Performance of SimCode: time 2.585e-06/13.44, allocations: 0 / 4.725 GB, free: 16.21 MB / 0.6202 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09989/13.54, allocations: 52.26 MB / 4.776 GB, free: 8.629 MB / 0.6202 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/13.54, allocations: 157.8 kB / 4.777 GB, free: 8.43 MB / 0.6202 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.983/17.52, allocations: 4 kB / 4.777 GB, free: 8.426 MB / 0.6202 GB (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base.pipe 2>&1)