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.001342/0.001342, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001572/0.001572, allocations: 205.7 kB / 23.01 MB, free: 4.625 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1103/0.1103, allocations: 24.04 MB / 337.2 MB, free: 11.33 MB / 270.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: 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: 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.003057/0.003057, allocations: 76.16 kB / 474.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4518, allocations: 59.57 MB / 0.5214 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.005053/0.4568, allocations: 2.757 MB / 0.5241 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.4595, allocations: 1.042 MB / 0.5251 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.4598, allocations: 23.69 kB / 0.5251 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.4601, allocations: 84.19 kB / 0.5252 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.4604, allocations: 88.69 kB / 0.5253 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.4613, allocations: 328.4 kB / 0.5256 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008751/0.4622, allocations: 0.5464 MB / 0.5261 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.4626, allocations: 161.6 kB / 0.5263 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.4629, allocations: 203.8 kB / 0.5265 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.4632, allocations: 188.5 kB / 0.5267 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.4633, allocations: 49.69 kB / 0.5267 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.657e-05/0.4633, allocations: 45.75 kB / 0.5267 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.4634, allocations: 101.9 kB / 0.5268 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.4636, allocations: 179.6 kB / 0.527 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.4644, allocations: 0.5478 MB / 0.5276 GB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4644, allocations: 0 / 0.5276 GB, free: 6.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4644, allocations: 0 / 0.5276 GB, free: 6.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4645, allocations: 0 / 0.5276 GB, free: 6.5 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.00121/0.4657, allocations: 0.7609 MB / 0.5283 GB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4657, allocations: 11.45 kB / 0.5283 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4658, allocations: 62.22 kB / 0.5284 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.4665, allocations: 374 kB / 0.5287 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.4665, allocations: 28.19 kB / 0.5287 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.916e-05/0.4666, allocations: 36.75 kB / 0.5288 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.4674, allocations: 0.532 MB / 0.5293 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.4674, allocations: 0 / 0.5293 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.4674, allocations: 16.72 kB / 0.5293 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4674, allocations: 9.812 kB / 0.5293 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/0.468, allocations: 281.4 kB / 0.5296 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.4698, allocations: 1.331 MB / 0.5309 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.4706, allocations: 325.9 kB / 0.5312 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.4709, allocations: 134.2 kB / 0.5313 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.4709, allocations: 3.797 kB / 0.5313 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4709, allocations: 41.75 kB / 0.5314 GB, free: 3.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.4709, allocations: 0 / 0.5314 GB, free: 3.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.000964/0.4719, allocations: 406.5 kB / 0.5318 GB, free: 3.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.4719, allocations: 167.6 kB / 0.5319 GB, free: 3.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.4724, allocations: 385 kB / 0.5323 GB, free: 3.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4724, allocations: 31.95 kB / 0.5323 GB, free: 3.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4726, allocations: 265.7 kB / 0.5326 GB, free: 3.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.4727, allocations: 103.7 kB / 0.5327 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.4728, allocations: 67.36 kB / 0.5327 GB, free: 2.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4729, allocations: 355 kB / 0.5331 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.4732, allocations: 113.8 kB / 0.5332 GB, free: 2.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.4736, allocations: 317.6 kB / 0.5335 GB, free: 2.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.4751, allocations: 0.5219 MB / 0.534 GB, free: 2.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4751, allocations: 0 / 0.534 GB, free: 2.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007092/0.4758, allocations: 383.4 kB / 0.5344 GB, free: 1.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.4758, allocations: 4.844 kB / 0.5344 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4758, allocations: 2.469 kB / 0.5344 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4758, allocations: 3.906 kB / 0.5344 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.4762, allocations: 79.16 kB / 0.5345 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4762, allocations: 4.203 kB / 0.5345 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.4764, allocations: 42.56 kB / 0.5345 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.4764, allocations: 13.28 kB / 0.5345 GB, free: 1.879 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.0003304/0.4768, allocations: 207.8 kB / 0.5347 GB, free: 1.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002345/0.477, allocations: 284.5 kB / 0.535 GB, free: 1.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001057/0.478, allocations: 478.2 kB / 0.5354 GB, free: 1.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.478, allocations: 1.625 kB / 0.5354 GB, free: 1.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005083/0.4786, allocations: 333.8 kB / 0.5358 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4786, allocations: 11.38 kB / 0.5358 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4786, allocations: 6.547 kB / 0.5358 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/0.4786, allocations: 7.219 kB / 0.5358 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.4788, allocations: 63.38 kB / 0.5358 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4788, allocations: 3.281 kB / 0.5358 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.479, allocations: 30.36 kB / 0.5359 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.479, allocations: 10.09 kB / 0.5359 GB, free: 1.039 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.0001371/0.4792, allocations: 203 kB / 0.5361 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.4793, allocations: 56.67 kB / 0.5361 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4794, allocations: 50.14 kB / 0.5362 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4794, allocations: 7.344 kB / 0.5362 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.4794, allocations: 1.125 kB / 0.5362 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.4794, allocations: 2.484 kB / 0.5362 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.4798, allocations: 330.8 kB / 0.5365 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4798, allocations: 0 / 0.5365 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.4801, allocations: 48.72 kB / 0.5365 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4801, allocations: 5.125 kB / 0.5366 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4802, allocations: 7 kB / 0.5366 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4802, allocations: 6.156 kB / 0.5366 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4802, allocations: 3.938 kB / 0.5366 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.481, allocations: 0.5465 MB / 0.5371 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.4812, allocations: 67.34 kB / 0.5372 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.117e-05/0.4812, allocations: 10.12 kB / 0.5372 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.4814, allocations: 18 kB / 0.5372 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.4815, allocations: 17.69 kB / 0.5372 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4815, allocations: 10.06 kB / 0.5372 GB, free: 172 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.4818, allocations: 266.3 kB / 0.5375 GB, free: 36 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4818, allocations: 0 / 0.5375 GB, free: 36 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.4824, allocations: 139.6 kB / 0.5376 GB, free: 15.99 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.0001412/0.4825, allocations: 109.7 kB / 0.5377 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.4834, allocations: 397.9 kB / 0.5381 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4834, allocations: 4 kB / 0.5381 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.4837, allocations: 122.9 kB / 0.5382 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.4844, allocations: 135.5 kB / 0.5383 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.4859, allocations: 0.8094 MB / 0.5391 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.4862, allocations: 232.4 kB / 0.5394 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.4865, allocations: 56.16 kB / 0.5394 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.017e-05/0.4865, allocations: 27.38 kB / 0.5394 GB, free: 15.07 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4865, allocations: 0 / 0.5394 GB, free: 15.07 MB / 398.1 MB Notification: Performance of Templates: time 0.01141/0.498, allocations: 4.948 MB / 0.5443 GB, free: 13.67 MB / 398.1 MB " [Timeout remaining time 659] 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.331076530739665] Failed to read output from testmodel.py, exit status != 0: 0.5089113153517246 0.523097764 0.055348103 Calling exit ...