Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.ElecSys_generator_models.BoilerFollows,fileNamePrefix="AES_AES_Coursework_ElecSys_generator_models_BoilerFollows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ElecSys_generator_models.BoilerFollows,fileNamePrefix="AES_AES_Coursework_ElecSys_generator_models_BoilerFollows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.198/0.198, allocations: 22.34 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 380.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 54.94 MB / 435.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.00401/0.2546, allocations: 3.013 MB / 438.9 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2561, allocations: 1.037 MB / 439.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/0.2564, allocations: 18.59 kB / 439.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.2567, allocations: 85.66 kB / 440 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.2569, allocations: 94.06 kB / 440.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006318/0.2575, allocations: 314.9 kB / 440.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.258, allocations: 0.5456 MB / 441 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.2583, allocations: 235.5 kB / 441.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2585, allocations: 191.8 kB / 441.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.2587, allocations: 206.1 kB / 441.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.2588, allocations: 49.19 kB / 441.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.2588, allocations: 45.47 kB / 441.7 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.2589, allocations: 101.3 kB / 441.8 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.2591, allocations: 239 kB / 442 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.2594, allocations: 0.5231 MB / 442.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2594, allocations: 0 / 442.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2594, allocations: 0 / 442.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.2595, allocations: 0 / 442.5 MB, free: 35.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001016/0.2605, allocations: 0.8097 MB / 443.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2605, allocations: 18.88 kB / 443.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.367e-05/0.2606, allocations: 68.59 kB / 443.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.2607, allocations: 62.94 kB / 443.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.2611, allocations: 410.4 kB / 443.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2611, allocations: 27.81 kB / 443.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.2612, allocations: 34.53 kB / 444 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.2618, allocations: 429.8 kB / 444.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2618, allocations: 0 / 444.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.2619, allocations: 18.94 kB / 444.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.2619, allocations: 8.219 kB / 444.4 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.2624, allocations: 282.8 kB / 444.7 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.264, allocations: 1.537 MB / 446.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.2648, allocations: 354.5 kB / 446.6 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.265, allocations: 138.6 kB / 446.7 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.2651, allocations: 7.188 kB / 446.7 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2651, allocations: 37.33 kB / 446.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.2651, allocations: 0 / 446.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.000783/0.2659, allocations: 402.6 kB / 447.1 MB, free: 32.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.266, allocations: 109.8 kB / 447.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.2663, allocations: 409.3 kB / 447.6 MB, free: 32.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2663, allocations: 32.52 kB / 447.7 MB, free: 31.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2665, allocations: 264.6 kB / 447.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.2665, allocations: 100.1 kB / 448 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.2666, allocations: 64.23 kB / 448.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.398e-05/0.2667, allocations: 359.1 kB / 448.4 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.2669, allocations: 117.9 kB / 448.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.2672, allocations: 192.8 kB / 448.7 MB, free: 31.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.2685, allocations: 0.5337 MB / 449.3 MB, free: 30.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2685, allocations: 0 / 449.3 MB, free: 30.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005701/0.2691, allocations: 389.3 kB / 449.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2691, allocations: 4.844 kB / 449.7 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2691, allocations: 7.844 kB / 449.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2691, allocations: 6.875 kB / 449.7 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.2694, allocations: 67.69 kB / 449.7 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2694, allocations: 6.344 kB / 449.7 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.2697, allocations: 40.55 kB / 449.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.2697, allocations: 12.78 kB / 449.8 MB, free: 30.66 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000433/0.2702, allocations: 216.5 kB / 450 MB, free: 30.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002327/0.2704, allocations: 159.4 kB / 450.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009468/0.2714, allocations: 469.2 kB / 450.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2714, allocations: 0 / 450.6 MB, free: 30.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004056/0.2718, allocations: 336.9 kB / 451 MB, free: 29.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.2718, allocations: 5.25 kB / 451 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2718, allocations: 2.625 kB / 451 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.958e-06/0.2718, allocations: 2.625 kB / 451 MB, free: 29.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2721, allocations: 63.28 kB / 451 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2721, allocations: 9.562 kB / 451 MB, free: 29.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2723, allocations: 27.41 kB / 451.1 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.2723, allocations: 11.88 kB / 451.1 MB, free: 29.96 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,Gs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.2724, allocations: 213.5 kB / 451.3 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.2725, allocations: 45.22 kB / 451.3 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.2726, allocations: 54.08 kB / 451.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2726, allocations: 2.625 kB / 451.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2726, allocations: 0 / 451.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.2726, allocations: 2.625 kB / 451.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.273, allocations: 462.7 kB / 451.8 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.273, allocations: 0 / 451.8 MB, free: 29.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.2733, allocations: 63.86 kB / 451.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2733, allocations: 2.625 kB / 451.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.2733, allocations: 4 kB / 451.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.2733, allocations: 3.594 kB / 451.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2733, allocations: 0 / 451.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.2741, allocations: 0.5413 MB / 452.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2742, allocations: 150.7 kB / 452.6 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.2742, allocations: 4 kB / 452.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2745, allocations: 12.16 kB / 452.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.2745, allocations: 18.39 kB / 452.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.2745, allocations: 10.12 kB / 452.6 MB, free: 28.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.2747, allocations: 287.3 kB / 452.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2747, allocations: 4 kB / 452.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004382/0.2752, allocations: 143.2 kB / 453.1 MB, free: 28.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.y,T.y,PIp.I.y,PIe.I.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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000852/0.276, allocations: 1.099 MB / 454.2 MB, free: 27.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.2768, allocations: 427.5 kB / 454.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2768, allocations: 0 / 454.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.277, allocations: 141.2 kB / 454.7 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.2776, allocations: 123.2 kB / 454.8 MB, free: 27.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.282, allocations: 3.843 MB / 458.7 MB, free: 25.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2822, allocations: 0.8322 MB / 459.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002084/0.2824, allocations: 49.14 kB / 459.6 MB, free: 24.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2826, allocations: 159.7 kB / 459.7 MB, free: 24.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2826, allocations: 1.25 kB / 459.7 MB, free: 24.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3088, allocations: 8.832 MB / 468.6 MB, free: 23.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.816/10.12, allocations: 11.19 kB / 468.6 MB, free: 23.63 MB / 350.1 MB (rm -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ElecSys_generator_models_BoilerFollows_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ElecSys_generator_models_BoilerFollows.fmu > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)