Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.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.Examples.BraytonCycle.OpenLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_BraytonCycle_OpenLoopSimulator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_BraytonCycle_OpenLoopSimulator",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.001843/0.001844, allocations: 174.6 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.794/1.794, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.0009612/0.0009612, allocations: 78.78 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3366/0.3366, allocations: 48.79 MB / 364.3 MB, free: 6.855 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.637e-05, allocations: 3.938 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 60.24 MB / 492.8 MB, free: 4.289 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.929/2.057, allocations: 0.7647 GB / 1.246 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/2.057, allocations: 81.12 kB / 1.246 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.25/6.307, allocations: 1.18 GB / 2.426 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.573e-06/6.307, allocations: 0 / 2.426 GB, free: 62.05 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002935/6.308, allocations: 66.08 kB / 2.426 GB, free: 62.05 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: 561 * Number of variables: 561 Notification: Performance of Generate backend data structure: time 0.008295/6.316, allocations: 2.789 MB / 2.429 GB, free: 60.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/6.316, allocations: 10.38 kB / 2.429 GB, free: 60.69 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008658/6.317, allocations: 309.7 kB / 2.429 GB, free: 60.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/6.32, allocations: 0.5915 MB / 2.43 GB, free: 60.46 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005693/6.326, allocations: 2.262 MB / 2.432 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/6.326, allocations: 166 kB / 2.432 GB, free: 59.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008521/6.327, allocations: 227.6 kB / 2.432 GB, free: 59.87 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00715/6.334, allocations: 3.015 MB / 2.435 GB, free: 59.58 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-05/6.334, allocations: 7.25 kB / 2.435 GB, free: 59.58 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004598/6.335, allocations: 108.8 kB / 2.435 GB, free: 59.58 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-05/6.335, allocations: 87.41 kB / 2.435 GB, free: 59.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003832/6.339, allocations: 2.354 MB / 2.438 GB, free: 59.53 MB / 0.5417 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.01987/6.358, allocations: 13.18 MB / 2.45 GB, free: 51.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/6.36, allocations: 0.9894 MB / 2.451 GB, free: 51.37 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/6.361, allocations: 0.7601 MB / 2.452 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/6.362, allocations: 305.3 kB / 2.452 GB, free: 50.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/6.362, allocations: 71.28 kB / 2.452 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=106): time 3.657e-06/6.362, allocations: 0 / 2.452 GB, free: 50.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119): time 0.01248/6.374, allocations: 5.104 MB / 2.457 GB, free: 47.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/6.374, allocations: 175.1 kB / 2.458 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/6.381, allocations: 3.538 MB / 2.461 GB, free: 44.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004575/6.381, allocations: 61.7 kB / 2.461 GB, free: 44.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/6.382, allocations: 1.387 MB / 2.463 GB, free: 43.03 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004464/6.383, allocations: 437.3 kB / 2.463 GB, free: 42.65 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/6.383, allocations: 28 kB / 2.463 GB, free: 42.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001067/6.383, allocations: 367 kB / 2.463 GB, free: 42.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/6.384, allocations: 0.7747 MB / 2.464 GB, free: 41.55 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/6.386, allocations: 1.1 MB / 2.465 GB, free: 40.41 MB / 0.5417 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.plant.generator.theta = plant.generator.omega_e_nom (6.283185307179586 * plant.grid.fnom = plant.generator.omega_e_nom) Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/6.398, allocations: 3.83 MB / 2.469 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/6.398, allocations: 10.45 kB / 2.469 GB, free: 37.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005422/6.404, allocations: 2.692 MB / 2.472 GB, free: 34.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008677/6.404, allocations: 3.564 MB / 2.475 GB, free: 30.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/6.404, allocations: 11.98 kB / 2.475 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004252/6.409, allocations: 1.139 MB / 2.476 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/6.41, allocations: 311.6 kB / 2.476 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/6.413, allocations: 3.697 MB / 2.48 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002716/6.416, allocations: 246.4 kB / 2.48 GB, free: 24.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/6.416, allocations: 83.92 kB / 2.48 GB, free: 24.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/6.417, allocations: 7.953 kB / 2.48 GB, free: 24.89 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004115/6.421, allocations: 2.36 MB / 2.483 GB, free: 22.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/6.421, allocations: 8.109 kB / 2.483 GB, free: 22.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/6.424, allocations: 0.9614 MB / 2.484 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/6.425, allocations: 341.4 kB / 2.484 GB, free: 21.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/6.428, allocations: 4.757 MB / 2.489 GB, free: 16.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/6.431, allocations: 238.4 kB / 2.489 GB, free: 16.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/6.431, allocations: 84.16 kB / 2.489 GB, free: 16.05 MB / 0.5417 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.plant.generator.theta = plant.generator.omega_e_nom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006292/6.432, allocations: 208.5 kB / 2.489 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008757/6.433, allocations: 300.3 kB / 2.489 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/6.436, allocations: 2.125 MB / 2.491 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/6.437, allocations: 12 kB / 2.491 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/6.437, allocations: 0 / 2.491 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/6.437, allocations: 3.984 kB / 2.491 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009315/6.446, allocations: 5.187 MB / 2.497 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/6.446, allocations: 0 / 2.497 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/6.448, allocations: 326.9 kB / 2.497 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/6.449, allocations: 301 kB / 2.497 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/6.449, allocations: 55.91 kB / 2.497 GB, free: 7.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/6.452, allocations: 5.857 MB / 2.503 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/6.452, allocations: 6.844 kB / 2.503 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/6.457, allocations: 2.708 MB / 2.506 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/6.459, allocations: 0.7903 MB / 2.506 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/6.46, allocations: 35.88 kB / 2.506 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/6.463, allocations: 212.9 kB / 2.507 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/6.463, allocations: 76.89 kB / 2.507 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/6.463, allocations: 119.8 kB / 2.507 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005326/6.469, allocations: 2.721 MB / 2.509 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.713e-06/6.469, allocations: 4 kB / 2.509 GB, free: 10.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006389/6.475, allocations: 1.515 MB / 2.511 GB, free: 9.152 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (plant.generator.phi,plant.generator.omega_m,plant.generator.omega_e_filt,plant.CombustionChamber1.fluegas.p,plant.CombustionChamber1.fluegas.Xi[2],plant.CombustionChamber1.fluegas.Xi[3],plant.CombustionChamber1.fluegas.Xi[4],plant.CombustionChamber1.fluegas.Xi[5],plant.CombustionChamber1.fluegas.T,plant.CombustionChamber1.fluegas.R,plant.CombustionChamber1.Tm,plant.gasFlowActuator.y,plant.powerSensor1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {3 8,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01054/6.485, allocations: 5.254 MB / 2.516 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006714/6.492, allocations: 3.38 MB / 2.519 GB, free: 0.7969 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/6.492, allocations: 8.156 kB / 2.519 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.3247/6.817, allocations: 1.066 MB / 2.52 GB, free: 80.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006832/6.824, allocations: 1.186 MB / 2.522 GB, free: 80.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/6.837, allocations: 6 MB / 2.527 GB, free: 79.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/6.838, allocations: 2.058 MB / 2.529 GB, free: 78.49 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005948/6.844, allocations: 1.601 MB / 2.531 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/6.846, allocations: 1.169 MB / 2.532 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of SimCode: time 9.22e-07/6.846, allocations: 0 / 2.532 GB, free: 78.46 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/7.004, allocations: 123.7 MB / 2.653 GB, free: 50.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/7.004, allocations: 222.3 kB / 2.653 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.793/12.8, allocations: 0 / 2.653 GB, free: 50.43 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe ; mkfifo ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe >> ../files/ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Examples_BraytonCycle_OpenLoopSimulator_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Examples_BraytonCycle_OpenLoopSimulator.fmu > ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe 2>&1)