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.0009178/0.0009178, 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.0009019/0.0009019, allocations: 173.2 kB / 23.23 MB, free: 1.332 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.9129/0.9129, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.06307/0.06307, allocations: 18.13 MB / 278.1 MB, free: 11.52 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 2.245e-06/2.245e-06, allocations: 0.9375 kB / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/2.024e-05, allocations: 2.281 kB / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002574/0.002594, allocations: 2.767 MB / 417.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003797, allocations: 1.04 MB / 418.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.003989, allocations: 23.22 kB / 418.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.004174, allocations: 83.05 kB / 419 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.004316, allocations: 93.34 kB / 419.1 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.004852, allocations: 327.2 kB / 419.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.005273, allocations: 0.5615 MB / 419.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.005504, allocations: 158.1 kB / 420.1 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.005646, allocations: 183.2 kB / 420.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.005797, allocations: 141.7 kB / 420.4 MB, free: 9.309 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.062e-05/0.005858, allocations: 48.97 kB / 420.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.772e-05/0.005906, allocations: 47 kB / 420.5 MB, free: 9.305 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.005969, allocations: 105.1 kB / 420.6 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.006078, allocations: 137 kB / 420.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.006616, allocations: 0.5485 MB / 421.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006619, allocations: 0 / 421.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.00662, allocations: 1.312 kB / 421.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.006629, allocations: 0 / 421.3 MB, free: 8.895 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.0009373/0.007566, allocations: 0.7508 MB / 422 MB, free: 8.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.007625, allocations: 11.44 kB / 422.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.007691, allocations: 74.2 kB / 422.1 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.007768, allocations: 67.22 kB / 422.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.008262, allocations: 369.4 kB / 422.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.008289, allocations: 28.06 kB / 422.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.008337, allocations: 40.91 kB / 422.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.008888, allocations: 0.5286 MB / 423.1 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.008901, allocations: 5.281 kB / 423.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.008927, allocations: 19.59 kB / 423.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.008937, allocations: 9.281 kB / 423.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003854/0.009323, allocations: 277.9 kB / 423.5 MB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.01052, allocations: 1.397 MB / 424.8 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.01105, allocations: 329.5 kB / 425.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.01122, allocations: 129.9 kB / 425.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.01125, allocations: 3.578 kB / 425.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.01127, allocations: 42.64 kB / 425.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/0.01127, allocations: 0 / 425.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006205/0.01189, allocations: 405.4 kB / 425.7 MB, free: 6.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.01193, allocations: 163.5 kB / 425.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.01228, allocations: 406.6 kB / 426.3 MB, free: 5.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.01231, allocations: 32.14 kB / 426.3 MB, free: 5.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01243, allocations: 272.1 kB / 426.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.54e-05/0.01249, allocations: 99.22 kB / 426.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.01256, allocations: 70.59 kB / 426.8 MB, free: 5.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.01263, allocations: 357.1 kB / 427.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.01279, allocations: 113.3 kB / 427.2 MB, free: 4.875 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.01302, allocations: 315.2 kB / 427.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/0.01391, allocations: 0.5176 MB / 428 MB, free: 4.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01391, allocations: 5.344 kB / 428 MB, free: 4.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004265/0.01434, allocations: 378.6 kB / 428.4 MB, free: 4.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.01435, allocations: 14.25 kB / 428.4 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01436, allocations: 3.312 kB / 428.4 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01438, allocations: 3.469 kB / 428.4 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01455, allocations: 75.83 kB / 428.5 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.01456, allocations: 4.234 kB / 428.5 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.01467, allocations: 42.61 kB / 428.6 MB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.01469, allocations: 15.25 kB / 428.6 MB, free: 4.148 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.0002371/0.01492, allocations: 206.7 kB / 428.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001541/0.01508, allocations: 287.1 kB / 429.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006362/0.01571, allocations: 476.2 kB / 429.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.01572, allocations: 0 / 429.5 MB, free: 3.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003271/0.01604, allocations: 334.2 kB / 429.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.01605, allocations: 12.05 kB / 429.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.01605, allocations: 10.34 kB / 429.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.01606, allocations: 4.125 kB / 429.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01619, allocations: 58.38 kB / 429.9 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.0162, allocations: 7.344 kB / 429.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.0163, allocations: 34.86 kB / 430 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01631, allocations: 8.75 kB / 430 MB, free: 3.305 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.716e-05/0.01639, allocations: 206 kB / 430.2 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.01643, allocations: 54.48 kB / 430.2 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.0165, allocations: 54.84 kB / 430.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.0165, allocations: 3.688 kB / 430.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.01651, allocations: 0.6094 kB / 430.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01651, allocations: 5.406 kB / 430.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.01682, allocations: 381.7 kB / 430.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01683, allocations: 1.344 kB / 430.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.01699, allocations: 56.91 kB / 430.7 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01699, allocations: 5.344 kB / 430.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.017, allocations: 5.938 kB / 430.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01701, allocations: 1.438 kB / 430.7 MB, free: 2.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01701, allocations: 4 kB / 430.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.01757, allocations: 0.5385 MB / 431.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.696e-05/0.01767, allocations: 76.72 kB / 431.4 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.0177, allocations: 11.31 kB / 431.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.0178, allocations: 18.36 kB / 431.4 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.01785, allocations: 17.89 kB / 431.4 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.01786, allocations: 9.922 kB / 431.4 MB, free: 2.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002106/0.01807, allocations: 282.6 kB / 431.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01807, allocations: 0 / 431.7 MB, free: 2.262 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.01838, allocations: 143 kB / 431.8 MB, free: 2.219 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.0007339/0.01911, allocations: 1.102 MB / 432.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.01972, allocations: 396.2 kB / 433.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01972, allocations: 0.875 kB / 433.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.01991, allocations: 131.4 kB / 433.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.0204, allocations: 125.5 kB / 433.6 MB, free: 1.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.02416, allocations: 3.759 MB / 437.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.02439, allocations: 232.5 kB / 437.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.02456, allocations: 49.83 kB / 437.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.02474, allocations: 159.4 kB / 437.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.02475, allocations: 1.156 kB / 437.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.04467, allocations: 10.02 MB / 447.8 MB, free: 7.547 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.303, allocations: 13.44 kB / 447.8 MB, free: 7.543 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 & 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: 9.437908553518355] Failed to read output from testmodel.py, exit status != 0: 7.389305326156318 7.400616681 7.391556147 Calling exit ...