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.001579/0.001579, allocations: 115 kB / 17.15 MB, free: 5.945 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.001927/0.001927, allocations: 217.1 kB / 20.11 MB, free: 2.988 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1041/0.1041, allocations: 24.03 MB / 333.6 MB, free: 1.582 MB / 254.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.002839/0.002839, allocations: 78.03 kB / 468.4 MB, free: 31.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1224, allocations: 59.54 MB / 0.5156 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004607/0.127, allocations: 3.028 MB / 0.5185 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1291, allocations: 1.056 MB / 0.5196 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.1294, allocations: 27.81 kB / 0.5196 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.1297, allocations: 91.05 kB / 0.5197 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1299, allocations: 83.14 kB / 0.5197 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.1306, allocations: 330.2 kB / 0.5201 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006387/0.1312, allocations: 0.5545 MB / 0.5206 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.1316, allocations: 171 kB / 0.5208 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1318, allocations: 199.1 kB / 0.521 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.132, allocations: 210.7 kB / 0.5212 GB, free: 6.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.918e-05/0.1321, allocations: 48 kB / 0.5212 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.903e-05/0.1322, allocations: 44 kB / 0.5212 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1323, allocations: 103.6 kB / 0.5213 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.1325, allocations: 238.5 kB / 0.5216 GB, free: 6.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.1331, allocations: 0.5443 MB / 0.5221 GB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1331, allocations: 0 / 0.5221 GB, free: 5.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1331, allocations: 0 / 0.5221 GB, free: 5.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1331, allocations: 0 / 0.5221 GB, free: 5.605 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.001373/0.1345, allocations: 0.8332 MB / 0.5229 GB, free: 4.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1345, allocations: 8.625 kB / 0.5229 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.751e-05/0.1346, allocations: 74.66 kB / 0.523 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.1347, allocations: 68.56 kB / 0.5231 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.1353, allocations: 434.1 kB / 0.5235 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1354, allocations: 25.38 kB / 0.5235 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.1354, allocations: 36.38 kB / 0.5235 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.1362, allocations: 445.2 kB / 0.524 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1362, allocations: 7.938 kB / 0.524 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.1362, allocations: 16 kB / 0.524 GB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.1363, allocations: 8 kB / 0.524 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006314/0.1369, allocations: 278.4 kB / 0.5243 GB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002022/0.1389, allocations: 1.535 MB / 0.5258 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/0.1397, allocations: 345.2 kB / 0.5261 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.14, allocations: 129.3 kB / 0.5262 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.14, allocations: 240 / 0.5262 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.14, allocations: 46.77 kB / 0.5262 GB, free: 1.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.283e-06/0.14, allocations: 0 / 0.5262 GB, free: 1.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009523/0.141, allocations: 408 kB / 0.5266 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1411, allocations: 162.2 kB / 0.5268 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.1416, allocations: 406 kB / 0.5272 GB, free: 124 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.1416, allocations: 33.7 kB / 0.5272 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.1418, allocations: 268.3 kB / 0.5275 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.1419, allocations: 107.7 kB / 0.5276 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.142, allocations: 66.02 kB / 0.5276 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1422, allocations: 358.8 kB / 0.528 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.1425, allocations: 114.1 kB / 0.5281 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.1428, allocations: 207.5 kB / 0.5283 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.1444, allocations: 0.5254 MB / 0.5288 GB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1444, allocations: 0 / 0.5288 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007584/0.1451, allocations: 394.6 kB / 0.5292 GB, free: 13.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1451, allocations: 4 kB / 0.5292 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1451, allocations: 4 kB / 0.5292 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1452, allocations: 4 kB / 0.5292 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.1455, allocations: 67.89 kB / 0.5292 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1455, allocations: 4 kB / 0.5293 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1458, allocations: 47.94 kB / 0.5293 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1458, allocations: 12 kB / 0.5293 GB, free: 13.85 MB / 398.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.0004014/0.1462, allocations: 204.8 kB / 0.5295 GB, free: 13.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00026/0.1464, allocations: 190.7 kB / 0.5297 GB, free: 13.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001153/0.1476, allocations: 463.1 kB / 0.5301 GB, free: 12.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.917e-06/0.1476, allocations: 3.984 kB / 0.5301 GB, free: 12.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005712/0.1482, allocations: 341.3 kB / 0.5305 GB, free: 12.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1482, allocations: 8 kB / 0.5305 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.1482, allocations: 0 / 0.5305 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.1482, allocations: 4 kB / 0.5305 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.1485, allocations: 59.91 kB / 0.5305 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1485, allocations: 11.88 kB / 0.5305 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.1487, allocations: 36.05 kB / 0.5306 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1487, allocations: 15.94 kB / 0.5306 GB, free: 12.47 MB / 398.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.0001899/0.1489, allocations: 204.1 kB / 0.5308 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-05/0.149, allocations: 51.67 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.1491, allocations: 52.69 kB / 0.5309 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1491, allocations: 0 / 0.5309 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1491, allocations: 0 / 0.5309 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1491, allocations: 8 kB / 0.5309 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/0.1497, allocations: 457.2 kB / 0.5313 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1497, allocations: 8 kB / 0.5313 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/0.15, allocations: 55.91 kB / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.15, allocations: 0 / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.1501, allocations: 8 kB / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1501, allocations: 0 / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1501, allocations: 0 / 0.5314 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.151, allocations: 0.55 MB / 0.5319 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.1512, allocations: 148.8 kB / 0.5321 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.1513, allocations: 8 kB / 0.5321 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1515, allocations: 15.98 kB / 0.5321 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1515, allocations: 19.97 kB / 0.5321 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1516, allocations: 4 kB / 0.5321 GB, free: 10.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003762/0.1519, allocations: 287.1 kB / 0.5324 GB, free: 10.53 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1519, allocations: 0 / 0.5324 GB, free: 10.53 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.1524, allocations: 147.6 kB / 0.5325 GB, free: 10.39 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.001311/0.1537, allocations: 1.099 MB / 0.5336 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008553/0.1546, allocations: 401.3 kB / 0.534 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1546, allocations: 4 kB / 0.534 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.1549, allocations: 124.3 kB / 0.5341 GB, free: 8.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.1555, allocations: 118.2 kB / 0.5342 GB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/0.1607, allocations: 3.756 MB / 0.5379 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.1612, allocations: 0.8347 MB / 0.5387 GB, free: 3.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1614, allocations: 47.25 kB / 0.5388 GB, free: 3.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.1617, allocations: 159.4 kB / 0.5389 GB, free: 3.688 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1617, allocations: 0 / 0.5389 GB, free: 3.688 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03433/0.196, allocations: 8.967 MB / 0.5477 GB, free: 10.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.682/8.878, allocations: 7.438 kB / 0.5477 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 651] (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: 11.863303205929697] Failed to read output from testmodel.py, exit status != 0: 8.965080730151385 8.992125626 8.853763463 Calling exit ...