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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09666/0.09666, allocations: 22.69 MB / 327.7 MB, free: 7.312 MB / 254.1 MB [Timeout remaining time 90] 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.001929/0.001929, allocations: 67.52 kB / 461 MB, free: 40.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08923, allocations: 58.03 MB / 0.5069 GB, free: 6.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003293/0.09252, allocations: 3.024 MB / 0.5098 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.09412, allocations: 1.044 MB / 0.5108 GB, free: 2.723 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000345/0.09447, allocations: 15.94 kB / 0.5109 GB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.09471, allocations: 83.06 kB / 0.5109 GB, free: 2.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.09492, allocations: 91.08 kB / 0.511 GB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.0955, allocations: 336.3 kB / 0.5113 GB, free: 2.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.09588, allocations: 0.5545 MB / 0.5119 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.09611, allocations: 171 kB / 0.512 GB, free: 1.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.09624, allocations: 195 kB / 0.5122 GB, free: 1.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.09639, allocations: 198.8 kB / 0.5124 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.09644, allocations: 44 kB / 0.5125 GB, free: 1.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.846e-05/0.09649, allocations: 55.94 kB / 0.5125 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.09655, allocations: 107.5 kB / 0.5126 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.09667, allocations: 234.5 kB / 0.5128 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.09702, allocations: 0.5443 MB / 0.5134 GB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.09702, allocations: 4 kB / 0.5134 GB, free: 112 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09702, allocations: 0 / 0.5134 GB, free: 112 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.09703, allocations: 0 / 0.5134 GB, free: 112 kB / 366.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.001188/0.09822, allocations: 0.8295 MB / 0.5142 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.09826, allocations: 12.03 kB / 0.5142 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.09838, allocations: 64.52 kB / 0.5143 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006479/0.09902, allocations: 442.1 kB / 0.5147 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.09906, allocations: 29.38 kB / 0.5147 GB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.09912, allocations: 36.38 kB / 0.5147 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.09988, allocations: 427.8 kB / 0.5152 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.0999, allocations: 0 / 0.5152 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.09993, allocations: 16 kB / 0.5152 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.09994, allocations: 8 kB / 0.5152 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.1006, allocations: 286.4 kB / 0.5155 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.1027, allocations: 1.531 MB / 0.5169 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.1035, allocations: 327.4 kB / 0.5173 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.1037, allocations: 133.2 kB / 0.5174 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1038, allocations: 240 / 0.5174 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1038, allocations: 38.8 kB / 0.5174 GB, free: 11.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.082e-06/0.1038, allocations: 0 / 0.5174 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009631/0.1048, allocations: 408 kB / 0.5178 GB, free: 11.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.528e-05/0.1049, allocations: 110.8 kB / 0.5179 GB, free: 11.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.1053, allocations: 410 kB / 0.5183 GB, free: 10.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.1054, allocations: 29.7 kB / 0.5183 GB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.1056, allocations: 269 kB / 0.5186 GB, free: 10.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1057, allocations: 107.1 kB / 0.5187 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1058, allocations: 58.03 kB / 0.5188 GB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.106, allocations: 358.8 kB / 0.5191 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.1063, allocations: 122.1 kB / 0.5192 GB, free: 9.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.1066, allocations: 197.7 kB / 0.5194 GB, free: 9.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.1081, allocations: 0.5254 MB / 0.5199 GB, free: 9.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1081, allocations: 0 / 0.5199 GB, free: 9.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007407/0.1089, allocations: 394.7 kB / 0.5203 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1089, allocations: 4 kB / 0.5203 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1089, allocations: 4 kB / 0.5203 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1089, allocations: 4 kB / 0.5203 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.1092, allocations: 71.84 kB / 0.5204 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.1093, allocations: 11.92 kB / 0.5204 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1095, allocations: 31.83 kB / 0.5204 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1095, allocations: 16 kB / 0.5204 GB, free: 8.551 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.0003662/0.1099, allocations: 220.7 kB / 0.5206 GB, free: 8.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002434/0.1101, allocations: 164.5 kB / 0.5208 GB, free: 8.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/0.1113, allocations: 467.3 kB / 0.5212 GB, free: 7.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.754e-06/0.1113, allocations: 0 / 0.5212 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005751/0.1119, allocations: 341.2 kB / 0.5216 GB, free: 7.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1119, allocations: 11.98 kB / 0.5216 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1119, allocations: 3.938 kB / 0.5216 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.1119, allocations: 4 kB / 0.5216 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.1121, allocations: 59.92 kB / 0.5216 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1121, allocations: 4 kB / 0.5216 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.1123, allocations: 27.83 kB / 0.5217 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1124, allocations: 16 kB / 0.5217 GB, free: 7.195 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.0001813/0.1125, allocations: 198.7 kB / 0.5219 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.1126, allocations: 55.61 kB / 0.5219 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.1127, allocations: 56.69 kB / 0.522 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1128, allocations: 4 kB / 0.522 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1128, allocations: 0 / 0.522 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1128, allocations: 0 / 0.522 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1134, allocations: 469.1 kB / 0.5224 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1134, allocations: 0 / 0.5224 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.1137, allocations: 51.91 kB / 0.5225 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1137, allocations: 4 kB / 0.5225 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.1137, allocations: 8 kB / 0.5225 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1137, allocations: 0 / 0.5225 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1137, allocations: 0 / 0.5225 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009387/0.1147, allocations: 0.5578 MB / 0.523 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.1148, allocations: 144.8 kB / 0.5232 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.1149, allocations: 8 kB / 0.5232 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.1151, allocations: 11.98 kB / 0.5232 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.1151, allocations: 19.97 kB / 0.5232 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1151, allocations: 4 kB / 0.5232 GB, free: 5.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.1155, allocations: 287.1 kB / 0.5235 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1155, allocations: 0 / 0.5235 GB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000492/0.1159, allocations: 139.6 kB / 0.5236 GB, free: 5.113 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.0001181/0.1161, allocations: 111.1 kB / 0.5237 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008264/0.1169, allocations: 397 kB / 0.5241 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.1169, allocations: 4.25 kB / 0.5241 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.1172, allocations: 131.8 kB / 0.5242 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.1178, allocations: 131.2 kB / 0.5244 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.1193, allocations: 0.8553 MB / 0.5252 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.1198, allocations: 0.8347 MB / 0.526 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1199, allocations: 31.44 kB / 0.526 GB, free: 2.562 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1199, allocations: 3.938 kB / 0.526 GB, free: 2.559 MB / 382.1 MB Notification: Performance of Templates: time 0.008504/0.1284, allocations: 5.311 MB / 0.5312 GB, free: 13.26 MB / 398.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]