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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001631/0.001631, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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.1089/0.1089, allocations: 24.13 MB / 336.6 MB, free: 11.4 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 67.91 kB / 473.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.363, allocations: 59.6 MB / 0.5204 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003806/0.3669, allocations: 3.047 MB / 0.5234 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3686, allocations: 1.072 MB / 0.5244 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002576/0.3688, allocations: 23.47 kB / 0.5245 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3691, allocations: 88.23 kB / 0.5245 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3692, allocations: 82.48 kB / 0.5246 GB, free: 7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.3699, allocations: 338.2 kB / 0.5249 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.3704, allocations: 0.5545 MB / 0.5255 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.3707, allocations: 171.1 kB / 0.5256 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3709, allocations: 200.7 kB / 0.5258 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.3711, allocations: 205.4 kB / 0.526 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.3711, allocations: 45.34 kB / 0.5261 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-05/0.3712, allocations: 45.97 kB / 0.5261 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.3713, allocations: 110.2 kB / 0.5262 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.3714, allocations: 231 kB / 0.5264 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.372, allocations: 0.5471 MB / 0.527 GB, free: 5.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.372, allocations: 4.938 kB / 0.527 GB, free: 5.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.372, allocations: 0 / 0.527 GB, free: 5.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.372, allocations: 0.75 kB / 0.527 GB, free: 5.652 MB / 382.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.001125/0.3731, allocations: 0.7613 MB / 0.5277 GB, free: 5.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3731, allocations: 10.23 kB / 0.5277 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.298e-05/0.3732, allocations: 70.89 kB / 0.5278 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.3733, allocations: 66.78 kB / 0.5279 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.3739, allocations: 368 kB / 0.5282 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.3739, allocations: 27.69 kB / 0.5282 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.374, allocations: 36.5 kB / 0.5283 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.3746, allocations: 441.7 kB / 0.5287 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3747, allocations: 5.031 kB / 0.5287 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.3747, allocations: 15.42 kB / 0.5287 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.3747, allocations: 8.938 kB / 0.5287 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00057/0.3753, allocations: 283.3 kB / 0.529 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3769, allocations: 1.489 MB / 0.5305 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006914/0.3776, allocations: 339.1 kB / 0.5308 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.3778, allocations: 121 kB / 0.5309 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.3779, allocations: 4.422 kB / 0.5309 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.3779, allocations: 38.41 kB / 0.5309 GB, free: 3.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.3779, allocations: 0 / 0.5309 GB, free: 3.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008468/0.3788, allocations: 414.7 kB / 0.5313 GB, free: 2.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3788, allocations: 163.7 kB / 0.5315 GB, free: 2.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.3792, allocations: 405.2 kB / 0.5319 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3792, allocations: 32.14 kB / 0.5319 GB, free: 2.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3794, allocations: 268.7 kB / 0.5322 GB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.3794, allocations: 105.3 kB / 0.5323 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.3795, allocations: 65.98 kB / 0.5323 GB, free: 2.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.3796, allocations: 361.1 kB / 0.5327 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3799, allocations: 112.6 kB / 0.5328 GB, free: 1.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.3802, allocations: 208.6 kB / 0.533 GB, free: 1.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3817, allocations: 0.5193 MB / 0.5335 GB, free: 1.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3817, allocations: 4.656 kB / 0.5335 GB, free: 1.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007839/0.3825, allocations: 396.2 kB / 0.5339 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3825, allocations: 7.562 kB / 0.5339 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3825, allocations: 0 / 0.5339 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3825, allocations: 4.844 kB / 0.5339 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.3828, allocations: 69.83 kB / 0.5339 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3828, allocations: 3.656 kB / 0.5339 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3831, allocations: 48.38 kB / 0.534 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3831, allocations: 16.91 kB / 0.534 GB, free: 1.113 MB / 382.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.0003308/0.3834, allocations: 210.8 kB / 0.5342 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002062/0.3836, allocations: 182.9 kB / 0.5344 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001013/0.3846, allocations: 472.7 kB / 0.5348 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.3846, allocations: 0 / 0.5348 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004563/0.3851, allocations: 335 kB / 0.5352 GB, free: 444 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.3851, allocations: 6.469 kB / 0.5352 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3851, allocations: 2.312 kB / 0.5352 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.3851, allocations: 3.531 kB / 0.5352 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3853, allocations: 66 kB / 0.5352 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3853, allocations: 3.609 kB / 0.5352 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3855, allocations: 38.41 kB / 0.5353 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.3856, allocations: 12.97 kB / 0.5353 GB, free: 404 kB / 382.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.0001187/0.3857, allocations: 204.5 kB / 0.5355 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.3858, allocations: 49.52 kB / 0.5355 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.3859, allocations: 55.97 kB / 0.5356 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3859, allocations: 3.062 kB / 0.5356 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3859, allocations: 0 / 0.5356 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3859, allocations: 4.531 kB / 0.5356 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.3864, allocations: 435.2 kB / 0.536 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3864, allocations: 0 / 0.536 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.3867, allocations: 53.42 kB / 0.536 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3867, allocations: 1.188 kB / 0.5361 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.3867, allocations: 6.312 kB / 0.5361 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3867, allocations: 1.125 kB / 0.5361 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3867, allocations: 3.984 kB / 0.5361 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009948/0.3877, allocations: 0.556 MB / 0.5366 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.3879, allocations: 77.14 kB / 0.5367 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.3879, allocations: 11.5 kB / 0.5367 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3882, allocations: 17.3 kB / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.3882, allocations: 15.7 kB / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3882, allocations: 12.19 kB / 0.5367 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.3886, allocations: 282.6 kB / 0.537 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3886, allocations: 0 / 0.537 GB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005181/0.3891, allocations: 142.6 kB / 0.5371 GB, free: 15.28 MB / 398.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.001287/0.3904, allocations: 1.092 MB / 0.5382 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.3912, allocations: 403.2 kB / 0.5386 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3912, allocations: 0 / 0.5386 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.3915, allocations: 127 kB / 0.5387 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.3922, allocations: 124.2 kB / 0.5388 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005822/0.398, allocations: 3.764 MB / 0.5425 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.3986, allocations: 0.8324 MB / 0.5433 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.3989, allocations: 53.73 kB / 0.5434 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/0.3992, allocations: 158.9 kB / 0.5435 GB, free: 11.11 MB / 398.1 MB Notification: Performance of SimCode: time 1.403e-06/0.3992, allocations: 0 / 0.5435 GB, free: 11.11 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.4434, allocations: 9.238 MB / 0.5525 GB, free: 7.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.23, allocations: 12.75 kB / 0.5526 GB, free: 7.391 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.99492689408362] Failed to read output from testmodel.py, exit status != 0: 12.345422259997576 12.373031278 11.995883804 Calling exit ...