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.0008423/0.0008423, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008728/0.001715, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.00067/0.00067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.00175, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9475/0.9475, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09146/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.06171/0.06171, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0127/0.07442, allocations: 6.786 MB / 269.1 MB, free: 6.234 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: translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 270.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.613e-05, allocations: 2.312 kB / 270.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003875/0.003901, allocations: 2.873 MB / 273.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.005204, allocations: 1.106 MB / 274.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.005379, allocations: 23.81 kB / 274.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.005511, allocations: 87 kB / 274.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.005645, allocations: 91.08 kB / 274.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.006022, allocations: 327.4 kB / 275 MB, free: 236 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1218/0.1278, allocations: 0.5331 MB / 275.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.1282, allocations: 165.9 kB / 275.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.1286, allocations: 345.4 kB / 276.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1287, allocations: 144.2 kB / 276.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.1288, allocations: 48.09 kB / 276.2 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.1289, allocations: 46.44 kB / 276.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1289, allocations: 78.47 kB / 276.4 MB, free: 1.898 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.096e-05/0.129, allocations: 109.9 kB / 276.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.1294, allocations: 327.8 kB / 276.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.1294, allocations: 0 / 276.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1294, allocations: 5.062 kB / 276.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.1294, allocations: 3.5 kB / 276.8 MB, free: 1.832 MB / 266.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.0008546/0.1303, allocations: 0.8105 MB / 277.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.1303, allocations: 10.66 kB / 277.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1304, allocations: 70.45 kB / 277.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1307, allocations: 328.4 kB / 278 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.1308, allocations: 27.88 kB / 278 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.1308, allocations: 39.14 kB / 278.1 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.1312, allocations: 448.4 kB / 278.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1312, allocations: 1.312 kB / 278.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.1313, allocations: 17.09 kB / 278.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1313, allocations: 13.94 kB / 278.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1314, allocations: 92.61 kB / 278.6 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1325, allocations: 1.108 MB / 279.7 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.1328, allocations: 156.4 kB / 279.9 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.1329, allocations: 47.72 kB / 279.9 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1329, allocations: 5.609 kB / 279.9 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1329, allocations: 40.59 kB / 280 MB, free: 152 kB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.1329, allocations: 3.844 kB / 280 MB, free: 152 kB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002893/0.1332, allocations: 169 kB / 280.2 MB, free: 112 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.893e-05/0.1332, allocations: 55.72 kB / 280.2 MB, free: 48 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.1335, allocations: 356.1 kB / 280.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1335, allocations: 33.8 kB / 280.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1336, allocations: 218.2 kB / 280.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.1337, allocations: 108.3 kB / 280.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.1338, allocations: 70.09 kB / 281 MB, free: 15.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1339, allocations: 362 kB / 281.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.1339, allocations: 35.69 kB / 281.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.1341, allocations: 225.6 kB / 281.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.1343, allocations: 199.2 kB / 281.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1343, allocations: 0 / 281.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002533/0.1346, allocations: 191.6 kB / 282 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1346, allocations: 6.484 kB / 282 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1346, allocations: 3.125 kB / 282 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1346, allocations: 4.719 kB / 282 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.1348, allocations: 78.95 kB / 282.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1348, allocations: 7.453 kB / 282.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1349, allocations: 34.75 kB / 282.1 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1349, allocations: 12.05 kB / 282.1 MB, free: 15 MB / 282.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.0001464/0.1351, allocations: 120.9 kB / 282.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001212/0.1352, allocations: 224.3 kB / 282.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001881/0.1354, allocations: 200.8 kB / 282.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.1354, allocations: 0 / 282.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002007/0.1356, allocations: 183.8 kB / 282.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.1356, allocations: 5.75 kB / 282.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.1356, allocations: 5.688 kB / 282.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.1356, allocations: 3.672 kB / 282.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1358, allocations: 64.77 kB / 282.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1358, allocations: 7.547 kB / 282.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1359, allocations: 37.91 kB / 282.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1359, allocations: 9.75 kB / 283 MB, free: 14.57 MB / 282.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 (Gs.local_reset,PIp.I.local_reset,PIe.I.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.0001179/0.136, allocations: 199.5 kB / 283.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.1361, allocations: 38.06 kB / 283.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.1361, allocations: 57.48 kB / 283.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1361, allocations: 3.953 kB / 283.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1362, allocations: 0 / 283.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1362, allocations: 6.547 kB / 283.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1364, allocations: 224.2 kB / 283.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1364, allocations: 1.766 kB / 283.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1366, allocations: 57.31 kB / 283.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.177e-05/0.1367, allocations: 45.11 kB / 283.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1367, allocations: 1.719 kB / 283.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1367, allocations: 16.67 kB / 283.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1367, allocations: 1.094 kB / 283.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1367, allocations: 4.156 kB / 283.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.137, allocations: 298.1 kB / 283.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.137, allocations: 5.953 kB / 283.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.151e-05/0.1371, allocations: 13.59 kB / 283.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.1372, allocations: 22.38 kB / 283.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1372, allocations: 2.531 kB / 283.9 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.1373, allocations: 149.6 kB / 284.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1373, allocations: 0 / 284.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.1377, allocations: 149.5 kB / 284.2 MB, free: 14.06 MB / 282.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.0001057/0.1378, allocations: 89.48 kB / 284.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1381, allocations: 237.3 kB / 284.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/0.1381, allocations: 10.25 kB / 284.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.1382, allocations: 86.52 kB / 284.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.1389, allocations: 0.8095 MB / 285.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.14, allocations: 0.747 MB / 286.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.1401, allocations: 112.2 kB / 286.3 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1403, allocations: 49.58 kB / 286.4 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.1405, allocations: 143.3 kB / 286.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1405, allocations: 0 / 286.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of Templates: time 0.00846/0.149, allocations: 5.149 MB / 291.6 MB, free: 11.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile [Timeout 660] (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 & ./AES_AES.Coursework.ElecSys_generator_models.BoilerFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8227592827752233]