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.001545/0.001545, allocations: 105.7 kB / 16.45 MB, free: 6.504 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.001627/0.001627, allocations: 191.7 kB / 19.4 MB, free: 3.68 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.512/1.512, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1001/0.1001, allocations: 22.71 MB / 325.4 MB, free: 3.559 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: 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 0.002429/0.002429, allocations: 75.86 kB / 457.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1358, allocations: 58.02 MB / 0.5036 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.005913/0.1417, allocations: 3.024 MB / 0.5065 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1448, allocations: 1.04 MB / 0.5076 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.1457, allocations: 23.81 kB / 0.5076 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004388/0.1461, allocations: 83.06 kB / 0.5077 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.1466, allocations: 91.14 kB / 0.5077 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.1477, allocations: 319.3 kB / 0.508 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009674/0.1487, allocations: 0.5621 MB / 0.5086 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004613/0.1492, allocations: 171 kB / 0.5088 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.1495, allocations: 199 kB / 0.5089 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.1498, allocations: 202.8 kB / 0.5091 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.904e-05/0.1499, allocations: 44 kB / 0.5092 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.46e-05/0.15, allocations: 48 kB / 0.5092 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.1501, allocations: 111.5 kB / 0.5093 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.1504, allocations: 234.5 kB / 0.5096 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.1513, allocations: 0.5482 MB / 0.5101 GB, free: 476 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1513, allocations: 0 / 0.5101 GB, free: 476 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1513, allocations: 0 / 0.5101 GB, free: 476 kB / 382.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1513, allocations: 0 / 0.5101 GB, free: 476 kB / 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.2439/0.3952, allocations: 0.8232 MB / 0.5109 GB, free: 16.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3953, allocations: 11.03 kB / 0.5109 GB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3954, allocations: 67.73 kB / 0.511 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.3961, allocations: 442.5 kB / 0.5114 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.3961, allocations: 25.66 kB / 0.5114 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.3962, allocations: 38.86 kB / 0.5115 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006935/0.3969, allocations: 419.8 kB / 0.5119 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3969, allocations: 1.094 kB / 0.5119 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.3969, allocations: 20.84 kB / 0.5119 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3969, allocations: 12.41 kB / 0.5119 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.3975, allocations: 284.3 kB / 0.5122 GB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.3991, allocations: 1.528 MB / 0.5137 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.3997, allocations: 332.8 kB / 0.514 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.3999, allocations: 127.1 kB / 0.5141 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.4, allocations: 2.672 kB / 0.5141 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4, allocations: 43.48 kB / 0.5141 GB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.4, allocations: 0 / 0.5141 GB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.000798/0.4008, allocations: 412.3 kB / 0.5145 GB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.4008, allocations: 110.7 kB / 0.5146 GB, free: 14.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.4012, allocations: 407.8 kB / 0.515 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4012, allocations: 30.33 kB / 0.5151 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4013, allocations: 264.2 kB / 0.5153 GB, free: 14.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.4014, allocations: 111.4 kB / 0.5154 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.4015, allocations: 66.44 kB / 0.5155 GB, free: 14.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.4015, allocations: 356.8 kB / 0.5158 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4017, allocations: 116.9 kB / 0.5159 GB, free: 13.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.402, allocations: 196.3 kB / 0.5161 GB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.4034, allocations: 0.5192 MB / 0.5166 GB, free: 13.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4034, allocations: 4.031 kB / 0.5166 GB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006478/0.404, allocations: 388.2 kB / 0.517 GB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.404, allocations: 6.203 kB / 0.517 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.404, allocations: 2.25 kB / 0.517 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4041, allocations: 7.5 kB / 0.517 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.4044, allocations: 76.72 kB / 0.5171 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.4044, allocations: 3.75 kB / 0.5171 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.4046, allocations: 36.89 kB / 0.5171 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.4046, allocations: 13.58 kB / 0.5171 GB, free: 13.28 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.0003116/0.4049, allocations: 211.9 kB / 0.5173 GB, free: 13.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002067/0.4051, allocations: 172.5 kB / 0.5175 GB, free: 13.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001055/0.4062, allocations: 471.2 kB / 0.518 GB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.4062, allocations: 3.391 kB / 0.518 GB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005051/0.4067, allocations: 333.7 kB / 0.5183 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.4067, allocations: 10.44 kB / 0.5183 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4067, allocations: 1.5 kB / 0.5183 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-06/0.4067, allocations: 9.109 kB / 0.5183 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.407, allocations: 56.44 kB / 0.5183 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.407, allocations: 4.422 kB / 0.5184 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.4071, allocations: 31.72 kB / 0.5184 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.4072, allocations: 8 kB / 0.5184 GB, free: 12.61 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.0001147/0.4073, allocations: 208.8 kB / 0.5186 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.4074, allocations: 56.64 kB / 0.5186 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.4075, allocations: 55.73 kB / 0.5187 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.4075, allocations: 3.281 kB / 0.5187 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4075, allocations: 0 / 0.5187 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4075, allocations: 2.766 kB / 0.5187 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.408, allocations: 458.9 kB / 0.5191 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.408, allocations: 2.688 kB / 0.5191 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.4083, allocations: 60.53 kB / 0.5192 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4083, allocations: 2.125 kB / 0.5192 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.4084, allocations: 6.562 kB / 0.5192 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4084, allocations: 1.812 kB / 0.5192 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4084, allocations: 4 kB / 0.5192 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.4092, allocations: 0.5406 MB / 0.5197 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.4094, allocations: 149.6 kB / 0.5199 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.4094, allocations: 6.688 kB / 0.5199 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.4096, allocations: 21.59 kB / 0.5199 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.4097, allocations: 17.22 kB / 0.5199 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4097, allocations: 5.688 kB / 0.5199 GB, free: 11.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.4101, allocations: 283.1 kB / 0.5202 GB, free: 11.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4101, allocations: 0.6562 kB / 0.5202 GB, free: 11.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005508/0.4106, allocations: 147.2 kB / 0.5203 GB, free: 11.39 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.0001114/0.4107, allocations: 110.6 kB / 0.5204 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008381/0.4116, allocations: 394.1 kB / 0.5208 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4116, allocations: 1.031 kB / 0.5208 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.4118, allocations: 132.3 kB / 0.521 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.4125, allocations: 124.4 kB / 0.5211 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.414, allocations: 0.8281 MB / 0.5219 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.4144, allocations: 0.8298 MB / 0.5227 GB, free: 9.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002019/0.4146, allocations: 51.66 kB / 0.5227 GB, free: 9.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.4147, allocations: 33.34 kB / 0.5228 GB, free: 9.906 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4147, allocations: 0 / 0.5228 GB, free: 9.906 MB / 382.1 MB Notification: Performance of Templates: time 0.0106/0.4253, allocations: 4.506 MB / 0.5272 GB, free: 9.613 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.170714321080595] Failed to read output from testmodel.py, exit status != 0: 0.434430873952806 0.44493725300000003 0.29089680100000004 Calling exit ...