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.0008149/0.000815, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004983/0.004983, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.35/1.35, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2/0.2, allocations: 22.35 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002994, allocations: 8 kB / 382.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2246, allocations: 55.98 MB / 438.7 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002102/0.2268, allocations: 2.647 MB / 441.3 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.2279, allocations: 1.002 MB / 442.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.2281, allocations: 15.28 kB / 442.3 MB, free: 36.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2283, allocations: 63.59 kB / 442.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.2284, allocations: 65.91 kB / 442.5 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.2289, allocations: 284.5 kB / 442.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.2292, allocations: 0.5164 MB / 443.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.2295, allocations: 218.3 kB / 443.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.657e-05/0.2296, allocations: 138.2 kB / 443.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2297, allocations: 159.6 kB / 443.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.2298, allocations: 10.28 kB / 443.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.2298, allocations: 10.66 kB / 443.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.2299, allocations: 67.98 kB / 443.9 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.23, allocations: 206.2 kB / 444.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.2302, allocations: 482.7 kB / 444.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2302, allocations: 0 / 444.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2302, allocations: 0 / 444.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2302, allocations: 0 / 444.5 MB, free: 35.76 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.0007597/0.231, allocations: 0.7357 MB / 445.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.231, allocations: 14.53 kB / 445.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.2311, allocations: 68.42 kB / 445.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.2312, allocations: 61.75 kB / 445.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.2315, allocations: 412.8 kB / 445.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2316, allocations: 36.53 kB / 445.8 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.2316, allocations: 38.53 kB / 445.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.2322, allocations: 434.1 kB / 446.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2322, allocations: 7.469 kB / 446.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2322, allocations: 14.75 kB / 446.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2323, allocations: 12.98 kB / 446.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.2328, allocations: 297.1 kB / 446.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.2342, allocations: 1.557 MB / 448.2 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.2348, allocations: 372.5 kB / 448.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.2351, allocations: 143 kB / 448.7 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.2351, allocations: 10.81 kB / 448.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2351, allocations: 34.39 kB / 448.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.2351, allocations: 0 / 448.7 MB, free: 33.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001107/0.2363, allocations: 433.1 kB / 449.2 MB, free: 32.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2363, allocations: 105.8 kB / 449.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.2368, allocations: 408.2 kB / 449.7 MB, free: 32.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.2369, allocations: 33.7 kB / 449.7 MB, free: 32.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2371, allocations: 264.5 kB / 450 MB, free: 32.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/0.2372, allocations: 102.2 kB / 450.1 MB, free: 32.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.2372, allocations: 35.03 kB / 450.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.2373, allocations: 357.2 kB / 450.4 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/0.2377, allocations: 118.3 kB / 450.5 MB, free: 31.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.2382, allocations: 198.9 kB / 450.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.2403, allocations: 0.5546 MB / 451.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2403, allocations: 2.938 kB / 451.3 MB, free: 31.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001016/0.2413, allocations: 401.1 kB / 451.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.131e-05/0.2414, allocations: 142.7 kB / 451.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2414, allocations: 2.781 kB / 451.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2414, allocations: 2.625 kB / 451.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.2419, allocations: 75.98 kB / 451.9 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.2419, allocations: 2.469 kB / 451.9 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2423, allocations: 46.38 kB / 452 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.2423, allocations: 17.56 kB / 452 MB, free: 31.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.2423, allocations: 4.344 kB / 452 MB, free: 31.04 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006123/0.243, allocations: 259.9 kB / 452.2 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.243, allocations: 10.31 kB / 452.2 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.243, allocations: 7.969 kB / 452.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.2434, allocations: 62.75 kB / 452.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2434, allocations: 6.594 kB / 452.3 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.2437, allocations: 34.22 kB / 452.4 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.2437, allocations: 8.875 kB / 452.4 MB, free: 30.89 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.0002798/0.244, allocations: 247.3 kB / 452.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.2441, allocations: 52.67 kB / 452.7 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2442, allocations: 50.48 kB / 452.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2443, allocations: 3.938 kB / 452.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2443, allocations: 3.422 kB / 452.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2443, allocations: 0 / 452.7 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.2449, allocations: 462.2 kB / 453.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2449, allocations: 0 / 453.2 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.2454, allocations: 61.73 kB / 453.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2454, allocations: 2.625 kB / 453.2 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.2454, allocations: 10.05 kB / 453.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2454, allocations: 4 kB / 453.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2454, allocations: 0 / 453.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.2467, allocations: 0.5708 MB / 453.8 MB, free: 29.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2469, allocations: 148.6 kB / 454 MB, free: 29.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.931e-05/0.247, allocations: 9.578 kB / 454 MB, free: 29.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.2473, allocations: 28.27 kB / 454 MB, free: 29.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.2474, allocations: 19.06 kB / 454 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2474, allocations: 3.938 kB / 454 MB, free: 29.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003473/0.2478, allocations: 284.4 kB / 454.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2478, allocations: 0 / 454.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007495/0.2486, allocations: 139.4 kB / 454.4 MB, free: 29.64 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.001446/0.25, allocations: 1.117 MB / 455.5 MB, free: 28.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.2512, allocations: 441.1 kB / 456 MB, free: 28.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2512, allocations: 0.875 kB / 456 MB, free: 28.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.2516, allocations: 140 kB / 456.1 MB, free: 28.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.2526, allocations: 124.6 kB / 456.2 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006865/0.2595, allocations: 4.071 MB / 460.3 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.2598, allocations: 0.8328 MB / 461.1 MB, free: 25.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003275/0.2601, allocations: 48.23 kB / 461.2 MB, free: 25.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.2604, allocations: 158.3 kB / 461.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2604, allocations: 1.344 kB / 461.3 MB, free: 25.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1881/0.4485, allocations: 8.372 MB / 469.7 MB, free: 24.62 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.4487, allocations: 197.5 kB / 469.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.422, allocations: 3.938 kB / 469.9 MB, free: 24.36 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)