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.001055/0.001055, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000936/0.0009361, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1756/0.1756, allocations: 22.34 MB / 312.4 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.89 kB / 380.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2034, allocations: 54.93 MB / 435.3 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003723/0.2072, allocations: 3.043 MB / 438.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2087, allocations: 1.016 MB / 439.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.209, allocations: 21.59 kB / 439.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2093, allocations: 55.16 kB / 439.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.2095, allocations: 68.55 kB / 439.5 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006573/0.2102, allocations: 287.2 kB / 439.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004515/0.2106, allocations: 0.5475 MB / 440.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.211, allocations: 236 kB / 440.6 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.2111, allocations: 191.4 kB / 440.8 MB, free: 35.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.2113, allocations: 208.2 kB / 441 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.2114, allocations: 44.03 kB / 441 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.2114, allocations: 47.31 kB / 441.1 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.2115, allocations: 109.5 kB / 441.2 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2117, allocations: 232.3 kB / 441.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.212, allocations: 0.5232 MB / 441.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2121, allocations: 2.781 kB / 441.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2121, allocations: 0 / 441.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2121, allocations: 0 / 441.9 MB, free: 35.34 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.001101/0.2132, allocations: 0.8079 MB / 442.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2132, allocations: 12.75 kB / 442.8 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.2133, allocations: 74.14 kB / 442.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.518e-05/0.2134, allocations: 62.72 kB / 442.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.2138, allocations: 410.6 kB / 443.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.2139, allocations: 27.94 kB / 443.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.2139, allocations: 42.34 kB / 443.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007509/0.2147, allocations: 418.9 kB / 443.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2147, allocations: 3.938 kB / 443.8 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.2148, allocations: 18.88 kB / 443.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.2148, allocations: 9.062 kB / 443.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.2154, allocations: 283.7 kB / 444.1 MB, free: 33.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.2172, allocations: 1.54 MB / 445.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007896/0.218, allocations: 352 kB / 446 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.2182, allocations: 144 kB / 446.1 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.2183, allocations: 3.328 kB / 446.1 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.2183, allocations: 38.52 kB / 446.1 MB, free: 32.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.313e-06/0.2183, allocations: 3.938 kB / 446.1 MB, free: 32.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009356/0.2193, allocations: 400.9 kB / 446.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2193, allocations: 108.5 kB / 446.6 MB, free: 32.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.2197, allocations: 411.5 kB / 447 MB, free: 32.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.2197, allocations: 33.7 kB / 447.1 MB, free: 32.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.2199, allocations: 270.5 kB / 447.3 MB, free: 31.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.22, allocations: 97.73 kB / 447.4 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.842e-05/0.2201, allocations: 63.42 kB / 447.5 MB, free: 31.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.274e-05/0.2201, allocations: 358.8 kB / 447.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.2204, allocations: 113.4 kB / 448 MB, free: 31.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.2207, allocations: 196.4 kB / 448.2 MB, free: 31.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.2223, allocations: 0.5329 MB / 448.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2224, allocations: 0 / 448.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000675/0.223, allocations: 383.3 kB / 449.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2231, allocations: 6.469 kB / 449.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2231, allocations: 2.625 kB / 449.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2231, allocations: 2.625 kB / 449.1 MB, free: 30.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.2234, allocations: 79.92 kB / 449.1 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2235, allocations: 2.625 kB / 449.1 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2237, allocations: 46.84 kB / 449.2 MB, free: 30.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.2237, allocations: 7.875 kB / 449.2 MB, free: 30.72 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.0003621/0.2241, allocations: 209.2 kB / 449.4 MB, free: 30.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001996/0.2243, allocations: 166.9 kB / 449.6 MB, free: 30.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001112/0.2254, allocations: 469.3 kB / 450 MB, free: 30.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.446e-06/0.2254, allocations: 6.312 kB / 450 MB, free: 30.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005185/0.226, allocations: 328.8 kB / 450.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.226, allocations: 8.719 kB / 450.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-06/0.226, allocations: 0 / 450.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.226, allocations: 2.875 kB / 450.4 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.2263, allocations: 68.98 kB / 450.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2263, allocations: 6.875 kB / 450.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.2266, allocations: 27.45 kB / 450.5 MB, free: 30.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.2266, allocations: 13.97 kB / 450.5 MB, free: 30.02 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.0001075/0.2267, allocations: 205.4 kB / 450.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.2268, allocations: 47.39 kB / 450.7 MB, free: 29.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.376e-05/0.2269, allocations: 54.05 kB / 450.8 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2269, allocations: 9.812 kB / 450.8 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2269, allocations: 4 kB / 450.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2269, allocations: 0 / 450.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.2274, allocations: 460 kB / 451.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.2274, allocations: 0 / 451.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.2278, allocations: 57.2 kB / 451.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2278, allocations: 0 / 451.3 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.2278, allocations: 6.625 kB / 451.3 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2278, allocations: 0 / 451.3 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2278, allocations: 3.031 kB / 451.3 MB, free: 29.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2288, allocations: 0.5524 MB / 451.9 MB, free: 29.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.229, allocations: 143.6 kB / 452 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.229, allocations: 6.5 kB / 452 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.2293, allocations: 15.67 kB / 452 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.2294, allocations: 18.73 kB / 452 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.2294, allocations: 9.031 kB / 452.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.2297, allocations: 282.4 kB / 452.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2297, allocations: 0 / 452.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005346/0.2302, allocations: 141.3 kB / 452.5 MB, free: 28.8 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.001037/0.2313, allocations: 1.092 MB / 453.6 MB, free: 27.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009146/0.2322, allocations: 435.2 kB / 454 MB, free: 27.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2322, allocations: 0 / 454 MB, free: 27.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.2325, allocations: 134.4 kB / 454.1 MB, free: 27.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.2332, allocations: 135.6 kB / 454.2 MB, free: 27.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.2384, allocations: 4.01 MB / 458.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2387, allocations: 0.8293 MB / 459.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.239, allocations: 47.19 kB / 459.1 MB, free: 24.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.2392, allocations: 162 kB / 459.3 MB, free: 24.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2392, allocations: 0 / 459.3 MB, free: 24.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.2654, allocations: 8.724 MB / 468 MB, free: 23.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.2656, allocations: 198.5 kB / 468.2 MB, free: 23.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.041, allocations: 0 / 468.2 MB, free: 23.39 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)