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.001608/0.001608, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002123/0.002123, allocations: 205.8 kB / 23.01 MB, free: 4.621 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.8 MB, free: 7.789 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.1091/0.1091, allocations: 24.04 MB / 337.2 MB, free: 11.35 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.002107/0.002107, allocations: 63.91 kB / 473.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3694, allocations: 59.58 MB / 0.5209 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003504/0.373, allocations: 2.761 MB / 0.5236 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3748, allocations: 1.03 MB / 0.5246 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.3751, allocations: 24.72 kB / 0.5246 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3753, allocations: 87.72 kB / 0.5247 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.3755, allocations: 84.3 kB / 0.5248 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007296/0.3762, allocations: 336.6 kB / 0.5251 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.3768, allocations: 0.5553 MB / 0.5257 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002779/0.3771, allocations: 163.2 kB / 0.5258 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.3773, allocations: 192.8 kB / 0.526 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3774, allocations: 184.4 kB / 0.5262 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.426e-05/0.3775, allocations: 46.03 kB / 0.5262 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.3776, allocations: 46 kB / 0.5263 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.3777, allocations: 104.3 kB / 0.5264 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3778, allocations: 181 kB / 0.5265 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.3783, allocations: 0.5564 MB / 0.5271 GB, free: 6.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3783, allocations: 0 / 0.5271 GB, free: 6.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3783, allocations: 5.5 kB / 0.5271 GB, free: 6.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3783, allocations: 0 / 0.5271 GB, free: 6.137 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.001106/0.3795, allocations: 0.7572 MB / 0.5278 GB, free: 5.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3795, allocations: 14.45 kB / 0.5278 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.767e-05/0.3796, allocations: 71.83 kB / 0.5279 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.972e-05/0.3797, allocations: 62.53 kB / 0.528 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.3802, allocations: 364.9 kB / 0.5283 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3803, allocations: 27.75 kB / 0.5283 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.3803, allocations: 37.66 kB / 0.5284 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006526/0.381, allocations: 0.529 MB / 0.5289 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.381, allocations: 3.938 kB / 0.5289 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.381, allocations: 16.44 kB / 0.5289 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.381, allocations: 13.09 kB / 0.5289 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.3816, allocations: 279.1 kB / 0.5292 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.3833, allocations: 1.394 MB / 0.5305 GB, free: 3.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.3841, allocations: 344.8 kB / 0.5309 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.3843, allocations: 126.3 kB / 0.531 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.3843, allocations: 3.703 kB / 0.531 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.3844, allocations: 38.66 kB / 0.531 GB, free: 3.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.3844, allocations: 0 / 0.531 GB, free: 3.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.000872/0.3852, allocations: 411.4 kB / 0.5314 GB, free: 3.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.3853, allocations: 158.4 kB / 0.5316 GB, free: 3.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.3857, allocations: 415.8 kB / 0.532 GB, free: 2.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3857, allocations: 35.58 kB / 0.532 GB, free: 2.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3859, allocations: 264.3 kB / 0.5323 GB, free: 2.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.3859, allocations: 104 kB / 0.5324 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.386, allocations: 74.48 kB / 0.5324 GB, free: 2.496 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.3861, allocations: 356.5 kB / 0.5328 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.3864, allocations: 114.6 kB / 0.5329 GB, free: 2.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.3867, allocations: 309.7 kB / 0.5332 GB, free: 1.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3881, allocations: 0.5254 MB / 0.5337 GB, free: 1.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3881, allocations: 0.6562 kB / 0.5337 GB, free: 1.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007384/0.3888, allocations: 395.1 kB / 0.5341 GB, free: 1.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3889, allocations: 8.094 kB / 0.5341 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3889, allocations: 0.5625 kB / 0.5341 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.3889, allocations: 3.719 kB / 0.5341 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3892, allocations: 68.81 kB / 0.5341 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3892, allocations: 1.469 kB / 0.5341 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.3894, allocations: 44.16 kB / 0.5342 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.3895, allocations: 13.66 kB / 0.5342 GB, free: 1.395 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.0003354/0.3898, allocations: 211.1 kB / 0.5344 GB, free: 1.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002172/0.39, allocations: 287.1 kB / 0.5347 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009921/0.391, allocations: 466.3 kB / 0.5351 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.391, allocations: 1.094 kB / 0.5351 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004818/0.3915, allocations: 343.2 kB / 0.5355 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.3915, allocations: 4.656 kB / 0.5355 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.3915, allocations: 2.875 kB / 0.5355 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.3915, allocations: 8.422 kB / 0.5355 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.3917, allocations: 57.42 kB / 0.5355 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3918, allocations: 7.75 kB / 0.5355 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.392, allocations: 34.25 kB / 0.5356 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.392, allocations: 12.75 kB / 0.5356 GB, free: 0.5547 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: 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.0001189/0.3921, allocations: 208.2 kB / 0.5358 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.3922, allocations: 51.27 kB / 0.5358 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3923, allocations: 51.09 kB / 0.5359 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3923, allocations: 2.312 kB / 0.5359 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3923, allocations: 1.812 kB / 0.5359 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3923, allocations: 1.359 kB / 0.5359 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.3928, allocations: 381.9 kB / 0.5362 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3928, allocations: 4 kB / 0.5362 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/0.3931, allocations: 59.7 kB / 0.5363 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3931, allocations: 1.062 kB / 0.5363 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3931, allocations: 10.47 kB / 0.5363 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3931, allocations: 1.562 kB / 0.5363 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3931, allocations: 0 / 0.5363 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.3941, allocations: 0.5476 MB / 0.5368 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.3943, allocations: 73.45 kB / 0.5369 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.3944, allocations: 10.78 kB / 0.5369 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.3946, allocations: 17.89 kB / 0.5369 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3946, allocations: 19.03 kB / 0.537 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3947, allocations: 5.5 kB / 0.537 GB, free: 15.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.395, allocations: 283 kB / 0.5372 GB, free: 15.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.395, allocations: 0 / 0.5372 GB, free: 15.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.3955, allocations: 146.4 kB / 0.5374 GB, free: 15.46 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.00139/0.3969, allocations: 1.097 MB / 0.5384 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008675/0.3978, allocations: 402.4 kB / 0.5388 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3978, allocations: 0 / 0.5388 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.3981, allocations: 123.8 kB / 0.539 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007207/0.3988, allocations: 126.3 kB / 0.5391 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.4049, allocations: 3.771 MB / 0.5428 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4052, allocations: 232.2 kB / 0.543 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002926/0.4055, allocations: 54.45 kB / 0.543 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.4057, allocations: 158.7 kB / 0.5432 GB, free: 11.9 MB / 398.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4057, allocations: 0 / 0.5432 GB, free: 11.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.4506, allocations: 9.896 MB / 0.5528 GB, free: 7.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.87, allocations: 5.203 kB / 0.5528 GB, free: 7.703 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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.ElecSys_generator_models.BoilerFollows_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 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.84948646184057] Failed to read output from testmodel.py, exit status != 0: 11.991889918688685 12.022341405 11.638647076 Calling exit ...