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.002355/0.002355, allocations: 180.6 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001344/0.001344, allocations: 92.05 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6228/0.6228, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003765, allocations: 8 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1818, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.394/2.576, allocations: 0.7647 GB / 1.252 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/2.576, allocations: 90.95 kB / 1.252 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.523/7.1, allocations: 1.179 GB / 2.431 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.436e-06/7.1, allocations: 0 / 2.431 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002744/7.1, allocations: 73.78 kB / 2.432 GB, free: 54.25 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.01239/7.112, allocations: 3.238 MB / 2.435 GB, free: 52.63 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/7.112, allocations: 9.875 kB / 2.435 GB, free: 52.63 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002095/7.114, allocations: 328.4 kB / 2.435 GB, free: 52.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/7.118, allocations: 0.6039 MB / 2.436 GB, free: 52.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/7.125, allocations: 2.273 MB / 2.438 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/7.125, allocations: 166.2 kB / 2.438 GB, free: 51.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007516/7.126, allocations: 226.5 kB / 2.438 GB, free: 51.81 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006337/7.132, allocations: 3.075 MB / 2.441 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/7.133, allocations: 0 / 2.441 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005231/7.133, allocations: 107.8 kB / 2.441 GB, free: 51.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.901e-05/7.133, allocations: 83.12 kB / 2.441 GB, free: 51.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/7.137, allocations: 2.422 MB / 2.444 GB, free: 50.25 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02538/7.163, allocations: 13.16 MB / 2.457 GB, free: 38.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/7.164, allocations: 1.016 MB / 2.458 GB, free: 37.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/7.165, allocations: 306.8 kB / 2.458 GB, free: 37.65 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/7.165, allocations: 64.16 kB / 2.458 GB, free: 37.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=106): time 3.637e-06/7.165, allocations: 0 / 2.458 GB, free: 37.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119): time 0.01549/7.181, allocations: 5.985 MB / 2.464 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/7.181, allocations: 167.2 kB / 2.464 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006035/7.187, allocations: 3.572 MB / 2.467 GB, free: 27.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004895/7.187, allocations: 61.7 kB / 2.468 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/7.188, allocations: 1.4 MB / 2.469 GB, free: 26.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/7.189, allocations: 425.6 kB / 2.469 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/7.189, allocations: 32 kB / 2.469 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001387/7.189, allocations: 361.9 kB / 2.47 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/7.19, allocations: 0.7965 MB / 2.47 GB, free: 24.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/7.191, allocations: 1.117 MB / 2.472 GB, free: 23.4 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.01226/7.204, allocations: 3.865 MB / 2.475 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/7.204, allocations: 0 / 2.475 GB, free: 19.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004854/7.209, allocations: 2.741 MB / 2.478 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008578/7.209, allocations: 3.558 MB / 2.481 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/7.209, allocations: 8 kB / 2.481 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004182/7.214, allocations: 1.147 MB / 2.483 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/7.215, allocations: 307.6 kB / 2.483 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/7.218, allocations: 3.724 MB / 2.487 GB, free: 7.578 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/7.221, allocations: 259.6 kB / 2.487 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000273/7.222, allocations: 83.98 kB / 2.487 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/7.222, allocations: 4.109 kB / 2.487 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003759/7.226, allocations: 2.402 MB / 2.489 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/7.226, allocations: 8 kB / 2.489 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00319/7.229, allocations: 0.9706 MB / 2.49 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/7.23, allocations: 331.6 kB / 2.49 GB, free: 3.531 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/7.234, allocations: 4.776 MB / 2.495 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/7.237, allocations: 255.8 kB / 2.495 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/7.238, allocations: 83.98 kB / 2.495 GB, free: 14.28 MB / 0.5573 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 () * Number of clocked 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.00325/7.241, allocations: 0.9965 MB / 2.496 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/7.242, allocations: 296.5 kB / 2.497 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/7.247, allocations: 2.145 MB / 2.499 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/7.247, allocations: 12 kB / 2.499 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/7.247, allocations: 4 kB / 2.499 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/7.247, allocations: 3.984 kB / 2.499 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/7.261, allocations: 5.23 MB / 2.504 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/7.261, allocations: 0 / 2.504 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/7.263, allocations: 319.9 kB / 2.504 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/7.264, allocations: 317 kB / 2.505 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/7.264, allocations: 55.91 kB / 2.505 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.429/7.693, allocations: 5.856 MB / 2.51 GB, free: 75.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/7.694, allocations: 8.438 kB / 2.51 GB, free: 75.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/7.699, allocations: 2.722 MB / 2.513 GB, free: 75.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/7.702, allocations: 0.7937 MB / 2.514 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/7.702, allocations: 40.39 kB / 2.514 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/7.705, allocations: 218.5 kB / 2.514 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/7.705, allocations: 77.69 kB / 2.514 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002482/7.705, allocations: 114.5 kB / 2.514 GB, free: 75.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005138/7.71, allocations: 2.76 MB / 2.517 GB, free: 74.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/7.71, allocations: 0 / 2.517 GB, free: 74.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004911/7.715, allocations: 1.501 MB / 2.518 GB, free: 74.94 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[1],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.Tm,plant.gasFlowActuator.y,plant.powerSensor1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.01213/7.727, allocations: 5.339 MB / 2.524 GB, free: 73.96 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006307/7.734, allocations: 3.338 MB / 2.527 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.326e-05/7.734, allocations: 8.812 kB / 2.527 GB, free: 73.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/7.736, allocations: 1.088 MB / 2.528 GB, free: 73.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00603/7.742, allocations: 1.188 MB / 2.529 GB, free: 73.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/7.757, allocations: 16.12 MB / 2.545 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001728/7.759, allocations: 2.048 MB / 2.547 GB, free: 61.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003209/7.762, allocations: 0.6454 MB / 2.547 GB, free: 61.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/7.764, allocations: 1.215 MB / 2.549 GB, free: 61.79 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/7.764, allocations: 0 / 2.549 GB, free: 61.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1806/7.944, allocations: 113.5 MB / 2.659 GB, free: 37.15 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/7.945, allocations: 249.4 kB / 2.66 GB, free: 36.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.395/13.34, allocations: 0 / 2.66 GB, free: 36.82 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)