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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007887/0.0007887, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008176/0.0008176, allocations: 165.2 kB / 23.23 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8879/0.8879, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06236/0.06236, allocations: 18.12 MB / 278.1 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.27e-05, allocations: 3.438 kB / 415 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002985/0.003008, allocations: 2.764 MB / 417.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.00422, allocations: 1.043 MB / 418.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.004417, allocations: 27.62 kB / 418.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.004648, allocations: 83.83 kB / 419 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.00481, allocations: 95.22 kB / 419.1 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.005374, allocations: 326.5 kB / 419.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.005836, allocations: 0.5594 MB / 419.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.006068, allocations: 156.1 kB / 420.1 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.006201, allocations: 183.6 kB / 420.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.006345, allocations: 137.6 kB / 420.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.006394, allocations: 49.88 kB / 420.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.869e-05/0.006433, allocations: 45.91 kB / 420.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.006485, allocations: 109.8 kB / 420.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.459e-05/0.00657, allocations: 135.9 kB / 420.7 MB, free: 9.137 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.007017, allocations: 0.5493 MB / 421.3 MB, free: 8.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.00702, allocations: 4.562 kB / 421.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007021, allocations: 0 / 421.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.007029, allocations: 1.031 kB / 421.3 MB, free: 8.875 MB / 330.7 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.0008936/0.007923, allocations: 0.7515 MB / 422 MB, free: 8.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.007981, allocations: 10.45 kB / 422 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/0.008054, allocations: 75.02 kB / 422.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.008123, allocations: 62.62 kB / 422.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.008545, allocations: 364.2 kB / 422.5 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.008571, allocations: 29.52 kB / 422.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.008611, allocations: 39.59 kB / 422.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.009102, allocations: 0.5292 MB / 423.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.009114, allocations: 6.672 kB / 423.1 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.009139, allocations: 20.53 kB / 423.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.00915, allocations: 8.844 kB / 423.2 MB, free: 7.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.009537, allocations: 278.5 kB / 423.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.01073, allocations: 1.398 MB / 424.8 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.01124, allocations: 330.1 kB / 425.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.0114, allocations: 131.8 kB / 425.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01143, allocations: 3.391 kB / 425.3 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.01145, allocations: 39.72 kB / 425.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.01145, allocations: 0 / 425.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005863/0.01203, allocations: 418 kB / 425.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.01207, allocations: 159.4 kB / 425.9 MB, free: 5.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.01236, allocations: 405.4 kB / 426.3 MB, free: 5.609 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.01238, allocations: 31.45 kB / 426.3 MB, free: 5.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.0125, allocations: 271 kB / 426.6 MB, free: 5.355 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.01255, allocations: 101.9 kB / 426.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.01262, allocations: 74.19 kB / 426.8 MB, free: 5.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.0127, allocations: 357.5 kB / 427.1 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.01286, allocations: 113.9 kB / 427.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.01309, allocations: 313.4 kB / 427.5 MB, free: 4.578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.01406, allocations: 0.5217 MB / 428 MB, free: 4.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01406, allocations: 1.375 kB / 428 MB, free: 4.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004422/0.0145, allocations: 377.9 kB / 428.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01452, allocations: 10.47 kB / 428.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01453, allocations: 2.016 kB / 428.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01454, allocations: 7.938 kB / 428.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.01471, allocations: 70.61 kB / 428.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01472, allocations: 5.141 kB / 428.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01483, allocations: 45.16 kB / 428.6 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.01485, allocations: 16.72 kB / 428.6 MB, free: 4.125 MB / 330.7 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.0002335/0.01509, allocations: 207.2 kB / 428.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001768/0.01526, allocations: 288.5 kB / 429.1 MB, free: 3.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006639/0.01593, allocations: 473.6 kB / 429.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.01593, allocations: 1.375 kB / 429.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003264/0.01625, allocations: 330.2 kB / 429.8 MB, free: 3.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.01626, allocations: 6.656 kB / 429.8 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.01626, allocations: 9.312 kB / 429.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.01627, allocations: 5.344 kB / 429.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.0164, allocations: 63.89 kB / 429.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01641, allocations: 4.625 kB / 429.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.01651, allocations: 29.62 kB / 430 MB, free: 3.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.01653, allocations: 13 kB / 430 MB, free: 3.285 MB / 330.7 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.68e-05/0.0166, allocations: 205.7 kB / 430.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.01664, allocations: 56.8 kB / 430.2 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.0167, allocations: 52.19 kB / 430.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01671, allocations: 2.469 kB / 430.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.01671, allocations: 0.7031 kB / 430.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01672, allocations: 2.656 kB / 430.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.01702, allocations: 380.6 kB / 430.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01703, allocations: 5.281 kB / 430.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.01719, allocations: 56.73 kB / 430.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01719, allocations: 5.219 kB / 430.7 MB, free: 2.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01721, allocations: 7.375 kB / 430.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01721, allocations: 5.438 kB / 430.7 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01721, allocations: 0 / 430.7 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/0.01777, allocations: 0.538 MB / 431.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.01786, allocations: 72.86 kB / 431.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.01789, allocations: 14.34 kB / 431.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.018, allocations: 26.88 kB / 431.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.01804, allocations: 14.8 kB / 431.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.01805, allocations: 9.062 kB / 431.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.01824, allocations: 282.5 kB / 431.7 MB, free: 2.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01824, allocations: 5.438 kB / 431.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003248/0.01856, allocations: 142.2 kB / 431.8 MB, free: 2.195 MB / 330.7 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.0007226/0.01928, allocations: 1.097 MB / 432.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005466/0.01983, allocations: 397.2 kB / 433.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01983, allocations: 1.828 kB / 433.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.02, allocations: 126.9 kB / 433.4 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.02045, allocations: 128.9 kB / 433.6 MB, free: 1.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.0239, allocations: 3.759 MB / 437.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.02408, allocations: 233.2 kB / 437.5 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.02422, allocations: 43.92 kB / 437.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.0244, allocations: 165.3 kB / 437.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.0244, allocations: 7.875 kB / 437.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.04496, allocations: 10.02 MB / 447.8 MB, free: 7.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.863, allocations: 7 kB / 447.8 MB, free: 7.559 MB / 346.7 MB " [Timeout remaining time 653] (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 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ElecSys_generator_models_BoilerFollows.fmu > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.784283047541976] Failed to read output from testmodel.py, exit status != 0: 6.946833580732346 6.956055257 6.94678536 Calling exit ...