Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.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.TestSTG_cc,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestSTG_cc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestSTG_cc",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.000989/0.0009888, allocations: 176.4 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.499/1.499, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.0009105/0.0009104, allocations: 84.22 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.4988/0.4988, allocations: 48.78 MB / 358.8 MB, free: 53.15 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.953e-05, allocations: 4 kB / 425.4 MB, free: 8.129 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 60.26 MB / 485.7 MB, free: 11.72 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.18/9.309, allocations: 3.117 GB / 3.591 GB, free: 80.45 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/9.31, allocations: 80.69 kB / 3.591 GB, free: 80.43 MB / 0.5108 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:3950:70-3951:22:writable] Error: Variable q_nom not found in scope ThermoPower.PowerPlants.HRSG.Components. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/PowerPlants.mo:3960:21-3960:69:writable] Error: Cyclically dependent constants or parameters found in scope : {q_nom}, {head_nom} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd - DAE generated: time 5.684/14.99, allocations: 1.376 GB / 4.967 GB, free: 35.55 MB / 0.5733 GB Notification: Performance of FrontEnd: time 3.737e-06/14.99, allocations: 0.9062 kB / 4.967 GB, free: 35.55 MB / 0.5733 GB Notification: Performance of Transformations before backend: time 0.0001773/14.99, allocations: 44.56 kB / 4.967 GB, free: 35.54 MB / 0.5733 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.01746/15.01, allocations: 3.887 MB / 4.971 GB, free: 33.68 MB / 0.5733 GB Notification: Performance of prepare preOptimizeDAE: time 7.299e-05/15.01, allocations: 9.844 kB / 4.971 GB, free: 33.68 MB / 0.5733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/15.02, allocations: 362.6 kB / 4.972 GB, free: 33.57 MB / 0.5733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004453/15.02, allocations: 1.379 MB / 4.973 GB, free: 33.19 MB / 0.5733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/15.02, allocations: 100 kB / 4.973 GB, free: 33.15 MB / 0.5733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/15.02, allocations: 101.5 kB / 4.973 GB, free: 33.15 MB / 0.5733 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002663/15.02, allocations: 1.244 MB / 4.974 GB, free: 33.14 MB / 0.5733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/15.03, allocations: 1.689 MB / 4.976 GB, free: 32.61 MB / 0.5733 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.295e-05/15.03, allocations: 11.88 kB / 4.976 GB, free: 32.61 MB / 0.5733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/15.03, allocations: 5.312 kB / 4.976 GB, free: 32.61 MB / 0.5733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/15.03, allocations: 40.25 kB / 4.976 GB, free: 32.61 MB / 0.5733 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.2369/15.26, allocations: 120.1 MB / 5.093 GB, free: 23.72 MB / 0.6358 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/15.26, allocations: 0.7145 MB / 5.094 GB, free: 23.69 MB / 0.6358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/15.27, allocations: 345.1 kB / 5.094 GB, free: 23.68 MB / 0.6358 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6526/15.92, allocations: 65.78 MB / 5.159 GB, free: 107.3 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/15.92, allocations: 42.77 kB / 5.159 GB, free: 107.3 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=72): time 3.597e-06/15.92, allocations: 0 / 5.159 GB, free: 107.3 MB / 0.6515 GB Notification: Performance of matching and sorting (n=81): time 0.01094/15.93, allocations: 3.105 MB / 5.162 GB, free: 106.8 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/15.93, allocations: 62.06 kB / 5.162 GB, free: 106.7 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/15.93, allocations: 0.8749 MB / 5.163 GB, free: 106.6 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/15.93, allocations: 26.58 kB / 5.163 GB, free: 106.5 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005574/15.93, allocations: 0.8352 MB / 5.163 GB, free: 106.2 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/15.93, allocations: 275.4 kB / 5.164 GB, free: 106.1 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/15.93, allocations: 0.6562 kB / 5.164 GB, free: 106.1 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001047/15.93, allocations: 357 kB / 5.164 GB, free: 105.8 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/15.93, allocations: 414.1 kB / 5.164 GB, free: 105.8 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008907/15.93, allocations: 0.7324 MB / 5.165 GB, free: 105.3 MB / 0.6515 GB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.008506/15.94, allocations: 1.735 MB / 5.167 GB, free: 105.3 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/15.94, allocations: 4.703 kB / 5.167 GB, free: 105.3 MB / 0.6515 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004171/15.95, allocations: 1.585 MB / 5.168 GB, free: 105.1 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 0.001367/15.95, allocations: 5.057 MB / 5.173 GB, free: 99.84 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/15.95, allocations: 16.86 kB / 5.173 GB, free: 99.84 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003076/15.95, allocations: 0.6121 MB / 5.174 GB, free: 99.8 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/15.95, allocations: 238.7 kB / 5.174 GB, free: 99.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003948/15.96, allocations: 4.29 MB / 5.178 GB, free: 96.45 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/15.96, allocations: 113.9 kB / 5.178 GB, free: 96.45 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/15.96, allocations: 72.97 kB / 5.179 GB, free: 96.45 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/15.96, allocations: 2.531 kB / 5.179 GB, free: 96.45 MB / 0.6515 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/15.96, allocations: 1.285 MB / 5.18 GB, free: 96.36 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/15.96, allocations: 13.88 kB / 5.18 GB, free: 96.36 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/15.96, allocations: 380.2 kB / 5.18 GB, free: 96.31 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009817/15.96, allocations: 279.5 kB / 5.18 GB, free: 96.31 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004933/15.97, allocations: 6.808 MB / 5.187 GB, free: 90.42 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/15.97, allocations: 102.5 kB / 5.187 GB, free: 90.41 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/15.97, allocations: 62.28 kB / 5.187 GB, free: 90.41 MB / 0.6515 GB Warning: Assuming fixed start value for the following 3 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real sTG_3LRh.controlledCondeser.condenserIdeal_tap.Vl:VARIABLE(start = sTG_3LRh.controlledCondeser.condenserIdeal_tap.Vlstart unit = "m3" stateSelect=StateSelect.prefer ) "Liquid volume" type: Real sTG_3LRh.controlledCondeser.pID.I:VARIABLE(start = sTG_3LRh.controlledCondeser.pID.CSstart / sTG_3LRh.controlledCondeser.pID.Kp ) "Integral action / Kp" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.sTG_3LRh.steamTurbines.mixLP.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (sTG_3LRh.totalFeedPump.feedWaterPump.int_Np,sTG_3LRh.steamTurbines.ST_LP.steamState_in.phase,sTG_3LRh.steamTurbines.ST_IP.steamState_in.phase,sTG_3LRh.steamTurbines.ST_HP.steamState_in.phase,sTG_3LRh.totalFeedPump.feedWaterPump.inletFluidState.phase,sTG_3LRh.steamTurbines.valveLP.fluidState.phase,sTG_3LRh.steamTurbines.valveIP.fluidState.phase,sTG_3LRh.steamTurbines.valveHP.fluidState.phase,sTG_3LRh.steamTurbines.mixLP.fluidState.phase,sTG_3LRh.steamTurbines.ST_LP.steamState_iso.phase,sTG_3LRh.steamTurbines.ST_IP.steamState_iso.phase,sTG_3LRh.steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {2 14,1 7,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007016/15.97, allocations: 178.5 kB / 5.187 GB, free: 90.3 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003905/15.97, allocations: 1.184 MB / 5.189 GB, free: 90.13 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/15.98, allocations: 122.4 kB / 5.189 GB, free: 90.07 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/15.98, allocations: 3.192 MB / 5.192 GB, free: 89.75 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/15.98, allocations: 31.95 kB / 5.192 GB, free: 89.75 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/15.98, allocations: 3.688 kB / 5.192 GB, free: 89.75 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/15.98, allocations: 5.484 kB / 5.192 GB, free: 89.75 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/15.99, allocations: 5.075 MB / 5.197 GB, free: 89.25 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/15.99, allocations: 3 kB / 5.197 GB, free: 89.25 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/15.99, allocations: 100.8 kB / 5.197 GB, free: 89.25 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/15.99, allocations: 1.528 MB / 5.198 GB, free: 89.18 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/15.99, allocations: 18.33 kB / 5.198 GB, free: 89.17 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004364/16, allocations: 5.436 MB / 5.204 GB, free: 85.29 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/16, allocations: 5.25 kB / 5.204 GB, free: 85.29 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007572/16.01, allocations: 3.791 MB / 5.207 GB, free: 84.82 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/16.01, allocations: 357.9 kB / 5.208 GB, free: 84.64 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005234/16.01, allocations: 4.5 kB / 5.208 GB, free: 84.64 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/16.01, allocations: 79.94 kB / 5.208 GB, free: 84.64 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/16.01, allocations: 57.81 kB / 5.208 GB, free: 84.64 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/16.01, allocations: 38.47 kB / 5.208 GB, free: 84.64 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.001661/16.01, allocations: 0.6323 MB / 5.209 GB, free: 84.54 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.41e-07/16.01, allocations: 0 / 5.209 GB, free: 84.54 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01302/16.02, allocations: 1.989 MB / 5.21 GB, free: 84.5 MB / 0.6515 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (constantSpeed.phi,sTG_3LRh.steamTurbines.mixLP.h,sTG_3LRh.controlledCondeser.pID.I,sTG_3LRh.controlledCondeser.condenserIdeal_tap.Vl) * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 5 {1 4,1 10,1 10,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02328/16.05, allocations: 7.087 MB / 5.217 GB, free: 83.04 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.005815/16.05, allocations: 2.421 MB / 5.22 GB, free: 82.52 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/16.05, allocations: 1.062 kB / 5.22 GB, free: 82.52 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/16.06, allocations: 0.8901 MB / 5.221 GB, free: 82.4 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/16.06, allocations: 400.1 kB / 5.221 GB, free: 82.39 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/16.07, allocations: 3.398 MB / 5.224 GB, free: 81.57 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/16.07, allocations: 1.407 MB / 5.226 GB, free: 80.84 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.002557/16.08, allocations: 0.997 MB / 5.227 GB, free: 80.83 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/16.08, allocations: 0.7304 MB / 5.227 GB, free: 80.82 MB / 0.6515 GB Notification: Performance of SimCode: time 1.913e-06/16.08, allocations: 1.406 kB / 5.227 GB, free: 80.82 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/16.24, allocations: 80.98 MB / 5.306 GB, free: 75.75 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/16.24, allocations: 147.7 kB / 5.307 GB, free: 75.56 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.514/21.75, allocations: 3.938 kB / 5.307 GB, free: 75.55 MB / 0.6515 GB (rm -f ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe ; mkfifo ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe ; head -c 1048576 < ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe >> ../files/ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestSTG_cc_fmu --startTime=0 --stopTime=20000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestSTG_cc.fmu > ThermoPower_ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc.pipe 2>&1)