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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001724, allocations: 105.9 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002404/0.002404, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.0995/0.0995, allocations: 22.34 MB / 319.6 MB, free: 6.797 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00196/0.00196, allocations: 67.89 kB / 445.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1173, allocations: 54.94 MB / 0.4885 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004657/0.122, allocations: 3.02 MB / 0.4914 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.124, allocations: 1.032 MB / 0.4924 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.1243, allocations: 19.94 kB / 0.4925 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1246, allocations: 87 kB / 0.4925 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1249, allocations: 83.14 kB / 0.4926 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007371/0.1256, allocations: 314.6 kB / 0.4929 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006198/0.1262, allocations: 0.5583 MB / 0.4935 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.1266, allocations: 235 kB / 0.4937 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.1269, allocations: 195 kB / 0.4939 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1271, allocations: 210.8 kB / 0.4941 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.1272, allocations: 44 kB / 0.4941 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.1273, allocations: 48 kB / 0.4942 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.1274, allocations: 99.56 kB / 0.4943 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.1276, allocations: 238.5 kB / 0.4945 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.1282, allocations: 0.5444 MB / 0.495 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1282, allocations: 0 / 0.495 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1282, allocations: 0 / 0.495 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1282, allocations: 3.938 kB / 0.495 GB, free: 10.93 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.001241/0.1295, allocations: 0.8293 MB / 0.4958 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1295, allocations: 8.031 kB / 0.4958 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.679e-05/0.1296, allocations: 70.72 kB / 0.4959 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1297, allocations: 72.52 kB / 0.496 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.1304, allocations: 442 kB / 0.4964 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.1304, allocations: 25.38 kB / 0.4964 GB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.1305, allocations: 36.38 kB / 0.4965 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.1312, allocations: 423.6 kB / 0.4969 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1312, allocations: 0 / 0.4969 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.1313, allocations: 16 kB / 0.4969 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1313, allocations: 16 kB / 0.4969 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006022/0.1319, allocations: 282.4 kB / 0.4972 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.134, allocations: 1.527 MB / 0.4986 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000797/0.1348, allocations: 343.3 kB / 0.499 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.1351, allocations: 142 kB / 0.4991 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.1351, allocations: 4.797 kB / 0.4991 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1352, allocations: 38.73 kB / 0.4991 GB, free: 6.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.1352, allocations: 0 / 0.4991 GB, free: 6.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009379/0.1361, allocations: 409.9 kB / 0.4995 GB, free: 6.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.1362, allocations: 106.8 kB / 0.4996 GB, free: 5.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.1367, allocations: 413.9 kB / 0.5 GB, free: 5.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1367, allocations: 29.7 kB / 0.5001 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.137, allocations: 268.4 kB / 0.5003 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.013e-05/0.1371, allocations: 107 kB / 0.5004 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1372, allocations: 62.03 kB / 0.5005 GB, free: 5.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1374, allocations: 358.8 kB / 0.5008 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.1377, allocations: 118.1 kB / 0.5009 GB, free: 4.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.138, allocations: 189.8 kB / 0.5011 GB, free: 4.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.1395, allocations: 0.5332 MB / 0.5016 GB, free: 3.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1395, allocations: 0 / 0.5016 GB, free: 3.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007254/0.1402, allocations: 386.9 kB / 0.502 GB, free: 3.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1403, allocations: 8 kB / 0.502 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1403, allocations: 4 kB / 0.502 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1403, allocations: 7.984 kB / 0.502 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.1406, allocations: 71.84 kB / 0.5021 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1406, allocations: 7.984 kB / 0.5021 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.1408, allocations: 39.77 kB / 0.5021 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.1409, allocations: 15.94 kB / 0.5022 GB, free: 3.266 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.0003738/0.1413, allocations: 211.6 kB / 0.5024 GB, free: 3.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002468/0.1415, allocations: 169.1 kB / 0.5025 GB, free: 2.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001113/0.1426, allocations: 463.3 kB / 0.503 GB, free: 2.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1426, allocations: 0 / 0.503 GB, free: 2.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005453/0.1432, allocations: 337.2 kB / 0.5033 GB, free: 2.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1432, allocations: 12.03 kB / 0.5033 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-06/0.1432, allocations: 0 / 0.5033 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.1432, allocations: 4 kB / 0.5033 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1435, allocations: 63.91 kB / 0.5034 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1435, allocations: 4 kB / 0.5034 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1437, allocations: 27.83 kB / 0.5034 GB, free: 1.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.1437, allocations: 16 kB / 0.5034 GB, free: 1.926 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.0001791/0.1439, allocations: 204.1 kB / 0.5036 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.144, allocations: 55.61 kB / 0.5037 GB, free: 1.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.1441, allocations: 56.69 kB / 0.5037 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1441, allocations: 4 kB / 0.5037 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.1441, allocations: 0 / 0.5037 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1441, allocations: 0 / 0.5037 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.1447, allocations: 465.1 kB / 0.5042 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1447, allocations: 0 / 0.5042 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.145, allocations: 47.97 kB / 0.5042 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1451, allocations: 0 / 0.5042 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1451, allocations: 12 kB / 0.5042 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1451, allocations: 0 / 0.5042 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1451, allocations: 3.938 kB / 0.5042 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.1461, allocations: 0.5468 MB / 0.5047 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.1463, allocations: 148.8 kB / 0.5049 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.1463, allocations: 8 kB / 0.5049 GB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1465, allocations: 15.98 kB / 0.5049 GB, free: 292 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.1466, allocations: 15.97 kB / 0.5049 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1466, allocations: 8.125 kB / 0.5049 GB, free: 268 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2119/0.3586, allocations: 278.3 kB / 0.5052 GB, free: 20.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3586, allocations: 0 / 0.5052 GB, free: 20.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006794/0.3593, allocations: 147.3 kB / 0.5053 GB, free: 20.74 MB / 382.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.001043/0.3603, allocations: 1.097 MB / 0.5064 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007368/0.3611, allocations: 431.7 kB / 0.5068 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3611, allocations: 0.5 kB / 0.5068 GB, free: 20.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.3613, allocations: 136.8 kB / 0.507 GB, free: 20.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.362, allocations: 130.6 kB / 0.5071 GB, free: 20.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004027/0.366, allocations: 3.763 MB / 0.5108 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.3663, allocations: 0.8376 MB / 0.5116 GB, free: 17.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002111/0.3665, allocations: 53.55 kB / 0.5116 GB, free: 17.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3667, allocations: 155.4 kB / 0.5118 GB, free: 17.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3667, allocations: 0 / 0.5118 GB, free: 17.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03612/0.4028, allocations: 8.976 MB / 0.5205 GB, free: 16.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.887, allocations: 6.812 kB / 0.5205 GB, free: 16.64 MB / 382.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.691214791033417] Failed to read output from testmodel.py, exit status != 0: 8.95690976199694 8.969058769 8.838365935 Calling exit ...