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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001121/0.001121, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.159/1.159, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1703/0.1703, allocations: 22.35 MB / 312.3 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 380.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2047, allocations: 54.94 MB / 435.1 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002807/0.2075, allocations: 3.044 MB / 438.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2086, allocations: 1.01 MB / 439.2 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2088, allocations: 15.62 kB / 439.2 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.209, allocations: 66.69 kB / 439.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2091, allocations: 65.8 kB / 439.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2096, allocations: 292.8 kB / 439.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.2099, allocations: 0.5086 MB / 440.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.2101, allocations: 229.3 kB / 440.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2102, allocations: 165.6 kB / 440.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.2104, allocations: 193.3 kB / 440.7 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.2104, allocations: 22.66 kB / 440.7 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.016e-05/0.2105, allocations: 21.03 kB / 440.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.2105, allocations: 85.92 kB / 440.8 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.2106, allocations: 204.9 kB / 441 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.2109, allocations: 498.9 kB / 441.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2109, allocations: 3.938 kB / 441.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.2109, allocations: 4 kB / 441.5 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2109, allocations: 3.938 kB / 441.5 MB, free: 35.43 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.0008104/0.2117, allocations: 0.8163 MB / 442.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.2117, allocations: 11.56 kB / 442.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.2118, allocations: 72.33 kB / 442.4 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.2119, allocations: 62.09 kB / 442.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.2122, allocations: 420.3 kB / 442.9 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.2122, allocations: 24.5 kB / 442.9 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2123, allocations: 35.47 kB / 443 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.2128, allocations: 427.3 kB / 443.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2128, allocations: 0 / 443.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.2128, allocations: 17.66 kB / 443.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.2128, allocations: 8.219 kB / 443.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.2133, allocations: 285.8 kB / 443.7 MB, free: 34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2146, allocations: 1.537 MB / 445.2 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.2152, allocations: 356.1 kB / 445.6 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.2154, allocations: 130 kB / 445.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.2154, allocations: 7.078 kB / 445.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.2154, allocations: 33.52 kB / 445.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.242e-06/0.2154, allocations: 0 / 445.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.0006822/0.2161, allocations: 409.7 kB / 446.1 MB, free: 32.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.2162, allocations: 109.3 kB / 446.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.2164, allocations: 409.4 kB / 446.6 MB, free: 32.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2165, allocations: 32.39 kB / 446.7 MB, free: 32.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2166, allocations: 261.8 kB / 446.9 MB, free: 31.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.2166, allocations: 97.31 kB / 447 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.2167, allocations: 66.77 kB / 447.1 MB, free: 31.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.2168, allocations: 359.4 kB / 447.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.217, allocations: 115.8 kB / 447.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.2172, allocations: 197 kB / 447.8 MB, free: 31.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2184, allocations: 0.5224 MB / 448.3 MB, free: 31.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2184, allocations: 6.719 kB / 448.3 MB, free: 31.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005279/0.2189, allocations: 383.7 kB / 448.7 MB, free: 30.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2189, allocations: 5.25 kB / 448.7 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2189, allocations: 3.844 kB / 448.7 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.219, allocations: 2.625 kB / 448.7 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.2192, allocations: 70.2 kB / 448.7 MB, free: 30.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.2192, allocations: 9.188 kB / 448.7 MB, free: 30.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.2194, allocations: 46.62 kB / 448.8 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.2194, allocations: 18.44 kB / 448.8 MB, free: 30.82 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.0002721/0.2197, allocations: 207.9 kB / 449 MB, free: 30.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001503/0.2199, allocations: 160.1 kB / 449.2 MB, free: 30.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008828/0.2208, allocations: 471.7 kB / 449.6 MB, free: 30.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.2208, allocations: 0 / 449.6 MB, free: 30.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003835/0.2212, allocations: 338.8 kB / 450 MB, free: 30.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.2212, allocations: 5.906 kB / 450 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2212, allocations: 10.98 kB / 450 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-06/0.2212, allocations: 2.656 kB / 450 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.2214, allocations: 63.06 kB / 450 MB, free: 30.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.2214, allocations: 2.562 kB / 450 MB, free: 30.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.2216, allocations: 29 kB / 450.1 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2216, allocations: 15.66 kB / 450.1 MB, free: 30.12 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 7.757e-05/0.2217, allocations: 205.3 kB / 450.3 MB, free: 29.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.2218, allocations: 44.31 kB / 450.3 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.883e-05/0.2218, allocations: 56.77 kB / 450.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2218, allocations: 1.938 kB / 450.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2219, allocations: 0 / 450.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2219, allocations: 5.156 kB / 450.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.2222, allocations: 461.7 kB / 450.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2222, allocations: 4 kB / 450.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.2225, allocations: 54.64 kB / 450.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2225, allocations: 2.688 kB / 450.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.2225, allocations: 6.906 kB / 450.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2225, allocations: 0 / 450.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2225, allocations: 0 / 450.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006856/0.2232, allocations: 0.5487 MB / 451.5 MB, free: 29.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.2233, allocations: 149.4 kB / 451.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.2234, allocations: 10.56 kB / 451.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2236, allocations: 15.34 kB / 451.6 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.2236, allocations: 15.45 kB / 451.6 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2236, allocations: 9.234 kB / 451.7 MB, free: 29.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.2238, allocations: 290.3 kB / 451.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2238, allocations: 0 / 451.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.2242, allocations: 142.6 kB / 452.1 MB, free: 28.89 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.0007721/0.225, allocations: 1.093 MB / 453.2 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000598/0.2256, allocations: 416.3 kB / 453.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2256, allocations: 4.062 kB / 453.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2258, allocations: 139.1 kB / 453.7 MB, free: 27.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.2264, allocations: 111.7 kB / 453.8 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.2301, allocations: 4.001 MB / 457.8 MB, free: 25.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.2303, allocations: 0.834 MB / 458.7 MB, free: 24.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.2305, allocations: 45.05 kB / 458.7 MB, free: 24.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2307, allocations: 159.9 kB / 458.9 MB, free: 24.47 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2307, allocations: 0 / 458.9 MB, free: 24.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.2477, allocations: 8.498 MB / 467.4 MB, free: 23.78 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001081/0.2478, allocations: 199.9 kB / 467.6 MB, free: 23.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/1.953, allocations: 1.375 kB / 467.6 MB, free: 23.52 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)