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.001754/0.001754, allocations: 177.1 kB / 8.35 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.762/1.762, 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.000989/0.0009889, allocations: 88.98 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.4925/0.4925, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.94e-05, allocations: 4 kB / 425.4 MB, free: 8.156 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 60.27 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.992/2.132, allocations: 0.764 GB / 1.238 GB, free: 42.97 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/2.132, allocations: 82.52 kB / 1.238 GB, free: 42.93 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.076/6.208, allocations: 1.165 GB / 2.403 GB, free: 46.11 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.764e-06/6.209, allocations: 0 / 2.403 GB, free: 46.11 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.0003466/6.209, allocations: 74.8 kB / 2.403 GB, free: 46.1 MB / 0.5265 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.008649/6.218, allocations: 2.78 MB / 2.406 GB, free: 44.74 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/6.218, allocations: 7.344 kB / 2.406 GB, free: 44.74 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/6.221, allocations: 0.5989 MB / 2.406 GB, free: 44.56 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/6.227, allocations: 2.265 MB / 2.408 GB, free: 43.98 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/6.227, allocations: 68.47 kB / 2.409 GB, free: 43.98 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000963/6.228, allocations: 137.8 kB / 2.409 GB, free: 43.98 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005122/6.234, allocations: 2.248 MB / 2.411 GB, free: 43.96 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006879/6.24, allocations: 2.68 MB / 2.413 GB, free: 43.69 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-05/6.241, allocations: 3.938 kB / 2.413 GB, free: 43.68 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008829/6.242, allocations: 11.34 kB / 2.414 GB, free: 43.68 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/6.242, allocations: 87.3 kB / 2.414 GB, free: 43.68 MB / 0.5265 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.02139/6.263, allocations: 12.55 MB / 2.426 GB, free: 36.17 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/6.264, allocations: 0.9644 MB / 2.427 GB, free: 35.71 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/6.266, allocations: 0.7396 MB / 2.428 GB, free: 35.39 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006319/6.266, allocations: 305.6 kB / 2.428 GB, free: 35.19 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/6.266, allocations: 67.16 kB / 2.428 GB, free: 35.13 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=106): time 5.079e-06/6.266, allocations: 0 / 2.428 GB, free: 35.13 MB / 0.5265 GB Notification: Performance of matching and sorting (n=119): time 0.01316/6.28, allocations: 4.771 MB / 2.433 GB, free: 32.77 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/6.28, allocations: 178.1 kB / 2.433 GB, free: 32.57 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005208/6.285, allocations: 2.732 MB / 2.435 GB, free: 31.61 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0004214/6.285, allocations: 33.27 kB / 2.435 GB, free: 31.57 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/6.286, allocations: 1.403 MB / 2.437 GB, free: 30.49 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/6.287, allocations: 410.8 kB / 2.437 GB, free: 30.18 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/6.287, allocations: 0 / 2.437 GB, free: 30.18 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001157/6.287, allocations: 363.4 kB / 2.438 GB, free: 29.85 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/6.288, allocations: 0.7577 MB / 2.438 GB, free: 29.5 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/6.289, allocations: 1.058 MB / 2.439 GB, free: 28.8 MB / 0.5265 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.01113/6.301, allocations: 3.54 MB / 2.443 GB, free: 26.38 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/6.301, allocations: 4.594 kB / 2.443 GB, free: 26.37 MB / 0.5265 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005003/6.306, allocations: 2.516 MB / 2.445 GB, free: 24.09 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006545/6.306, allocations: 3.45 MB / 2.449 GB, free: 20.36 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/6.306, allocations: 8 kB / 2.449 GB, free: 20.36 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00341/6.31, allocations: 0.9935 MB / 2.45 GB, free: 19.59 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/6.311, allocations: 310.2 kB / 2.45 GB, free: 19.34 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/6.315, allocations: 3.829 MB / 2.454 GB, free: 15.61 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/6.317, allocations: 221.6 kB / 2.454 GB, free: 15.46 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/6.317, allocations: 79.95 kB / 2.454 GB, free: 15.39 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/6.317, allocations: 7.938 kB / 2.454 GB, free: 15.38 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003825/6.321, allocations: 2.186 MB / 2.456 GB, free: 13.41 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/6.321, allocations: 12.06 kB / 2.456 GB, free: 13.4 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002821/6.324, allocations: 0.8561 MB / 2.457 GB, free: 12.73 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/6.326, allocations: 333 kB / 2.457 GB, free: 12.45 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/6.329, allocations: 4.876 MB / 2.462 GB, free: 7.621 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/6.331, allocations: 208.1 kB / 2.462 GB, free: 7.473 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/6.332, allocations: 91.69 kB / 2.462 GB, free: 7.391 MB / 0.5265 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.plant.CombustionChamber1.M:DUMMY_DER(fixed = false ) "Gas total mass" type: Real 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.0007273/6.332, allocations: 146 kB / 2.462 GB, free: 7.242 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003374/6.336, allocations: 1.731 MB / 2.464 GB, free: 5.637 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009109/6.337, allocations: 249 kB / 2.464 GB, free: 5.391 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/6.34, allocations: 1.988 MB / 2.466 GB, free: 3.613 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/6.34, allocations: 12 kB / 2.466 GB, free: 3.602 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/6.34, allocations: 8 kB / 2.466 GB, free: 3.594 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/6.34, allocations: 3.984 kB / 2.466 GB, free: 3.59 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009543/6.35, allocations: 4.806 MB / 2.471 GB, free: 14.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/6.35, allocations: 0 / 2.471 GB, free: 14.75 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/6.352, allocations: 323.6 kB / 2.471 GB, free: 14.44 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009106/6.353, allocations: 250.8 kB / 2.471 GB, free: 14.18 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/6.353, allocations: 35.97 kB / 2.472 GB, free: 14.15 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004662/6.358, allocations: 5.888 MB / 2.477 GB, free: 7.977 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/6.358, allocations: 160 / 2.477 GB, free: 7.977 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/6.363, allocations: 2.584 MB / 2.48 GB, free: 5.367 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/6.365, allocations: 0.7088 MB / 2.48 GB, free: 4.637 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007475/6.366, allocations: 12.06 kB / 2.481 GB, free: 4.625 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/6.369, allocations: 187.6 kB / 2.481 GB, free: 4.441 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/6.369, allocations: 85.19 kB / 2.481 GB, free: 4.359 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004166/6.369, allocations: 111.9 kB / 2.481 GB, free: 4.25 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.004208/6.373, allocations: 2.065 MB / 2.483 GB, free: 2.172 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/6.373, allocations: 0 / 2.483 GB, free: 2.172 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.006059/6.379, allocations: 1.35 MB / 2.484 GB, free: 0.8242 MB / 0.5421 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.3418/6.721, allocations: 5.337 MB / 2.489 GB, free: 65.64 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006825/6.728, allocations: 3.269 MB / 2.493 GB, free: 65.58 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/6.728, allocations: 10.06 kB / 2.493 GB, free: 65.58 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/6.73, allocations: 1.033 MB / 2.494 GB, free: 65.48 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/6.734, allocations: 0.6295 MB / 2.494 GB, free: 65.45 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/6.746, allocations: 5.746 MB / 2.5 GB, free: 64.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/6.748, allocations: 2.061 MB / 2.502 GB, free: 63.66 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.004138/6.752, allocations: 1.313 MB / 2.503 GB, free: 63.63 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/6.753, allocations: 1.155 MB / 2.504 GB, free: 63.62 MB / 0.5421 GB Notification: Performance of SimCode: time 1.032e-06/6.753, allocations: 3.656 kB / 2.504 GB, free: 63.62 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1389/6.892, allocations: 86.28 MB / 2.589 GB, free: 60.41 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/6.893, allocations: 172.4 kB / 2.589 GB, free: 60.21 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.869/11.76, allocations: 0 / 2.589 GB, free: 60.21 MB / 0.5421 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)