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.001353/0.001353, allocations: 109.4 kB / 17.15 MB, free: 6.02 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.001681/0.001681, allocations: 203.2 kB / 20.11 MB, free: 3.066 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1066/0.1066, allocations: 24.03 MB / 333.6 MB, free: 1.562 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.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.002036/0.002036, allocations: 74.62 kB / 468.9 MB, free: 31.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08679/0.08882, allocations: 59.56 MB / 0.5161 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004281/0.09311, allocations: 3.021 MB / 0.519 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.09494, allocations: 1.064 MB / 0.52 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.09517, allocations: 27.81 kB / 0.5201 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.0954, allocations: 83.06 kB / 0.5201 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.0956, allocations: 79.14 kB / 0.5202 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006866/0.09628, allocations: 334.5 kB / 0.5205 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006007/0.09688, allocations: 0.5505 MB / 0.5211 GB, free: 6.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.09719, allocations: 179 kB / 0.5212 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.09741, allocations: 195.2 kB / 0.5214 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.09763, allocations: 206.7 kB / 0.5216 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.09769, allocations: 44 kB / 0.5217 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.09775, allocations: 48 kB / 0.5217 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.43e-05/0.09785, allocations: 103.6 kB / 0.5218 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.09803, allocations: 234.5 kB / 0.522 GB, free: 5.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.09861, allocations: 0.5443 MB / 0.5226 GB, free: 5.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.09862, allocations: 0 / 0.5226 GB, free: 5.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09862, allocations: 0 / 0.5226 GB, free: 5.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.09863, allocations: 0 / 0.5226 GB, free: 5.062 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.001257/0.09989, allocations: 0.8371 MB / 0.5234 GB, free: 4.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.09992, allocations: 12.62 kB / 0.5234 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1, allocations: 60.56 kB / 0.5235 GB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.1006, allocations: 434.1 kB / 0.5239 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.1007, allocations: 29.38 kB / 0.5239 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.1007, allocations: 36.38 kB / 0.5239 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.1015, allocations: 437.5 kB / 0.5244 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1015, allocations: 3.938 kB / 0.5244 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.1015, allocations: 16 kB / 0.5244 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1015, allocations: 16 kB / 0.5244 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.1021, allocations: 278.4 kB / 0.5247 GB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/0.1041, allocations: 1.539 MB / 0.5262 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007737/0.1049, allocations: 335.3 kB / 0.5265 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.1052, allocations: 129.2 kB / 0.5266 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1052, allocations: 4.234 kB / 0.5266 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1052, allocations: 34.78 kB / 0.5266 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.1052, allocations: 0 / 0.5266 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009148/0.1062, allocations: 412 kB / 0.527 GB, free: 276 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1063, allocations: 162.2 kB / 0.5272 GB, free: 76 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.1069, allocations: 406.7 kB / 0.5276 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.107, allocations: 37.64 kB / 0.5276 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1072, allocations: 272.3 kB / 0.5279 GB, free: 15.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.725e-05/0.1073, allocations: 99.12 kB / 0.528 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.1074, allocations: 66.02 kB / 0.528 GB, free: 15.19 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1076, allocations: 358.8 kB / 0.5284 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.1078, allocations: 118.1 kB / 0.5285 GB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.1082, allocations: 203.5 kB / 0.5287 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.1097, allocations: 0.5253 MB / 0.5292 GB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1097, allocations: 4 kB / 0.5292 GB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007759/0.1105, allocations: 390.6 kB / 0.5296 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1105, allocations: 8 kB / 0.5296 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1105, allocations: 0 / 0.5296 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1105, allocations: 4 kB / 0.5296 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1108, allocations: 75.89 kB / 0.5296 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1109, allocations: 0 / 0.5296 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.1111, allocations: 47.72 kB / 0.5297 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.1111, allocations: 16.19 kB / 0.5297 GB, free: 13.39 MB / 398.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.0003571/0.1115, allocations: 208.8 kB / 0.5299 GB, free: 13.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002596/0.1117, allocations: 186.7 kB / 0.5301 GB, free: 12.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001158/0.1129, allocations: 459.1 kB / 0.5305 GB, free: 12.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.1129, allocations: 3.984 kB / 0.5305 GB, free: 12.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005589/0.1135, allocations: 345.3 kB / 0.5309 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/0.1135, allocations: 4 kB / 0.5309 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1135, allocations: 4 kB / 0.5309 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.1135, allocations: 7.984 kB / 0.5309 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1137, allocations: 60.02 kB / 0.5309 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1137, allocations: 3.938 kB / 0.5309 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.114, allocations: 31.83 kB / 0.531 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.907e-05/0.114, allocations: 20.2 kB / 0.531 GB, free: 12.02 MB / 398.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.0001699/0.1142, allocations: 196.2 kB / 0.5312 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.1142, allocations: 59.55 kB / 0.5312 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.1144, allocations: 56.69 kB / 0.5313 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1144, allocations: 4 kB / 0.5313 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1144, allocations: 0 / 0.5313 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1144, allocations: 0 / 0.5313 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.1149, allocations: 465.1 kB / 0.5317 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1149, allocations: 0 / 0.5317 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.1152, allocations: 55.91 kB / 0.5318 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1153, allocations: 4 kB / 0.5318 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1153, allocations: 4 kB / 0.5318 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1153, allocations: 4 kB / 0.5318 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1153, allocations: 0 / 0.5318 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.1163, allocations: 0.5539 MB / 0.5323 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.1164, allocations: 148.8 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.1165, allocations: 4 kB / 0.5325 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1167, allocations: 19.98 kB / 0.5325 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.1168, allocations: 15.97 kB / 0.5325 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1168, allocations: 8 kB / 0.5325 GB, free: 10.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003207/0.1171, allocations: 291.1 kB / 0.5328 GB, free: 10.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1171, allocations: 3.938 kB / 0.5328 GB, free: 10.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004946/0.1176, allocations: 143.6 kB / 0.5329 GB, free: 9.922 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.0001142/0.1177, allocations: 106.4 kB / 0.533 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008959/0.1186, allocations: 400 kB / 0.5334 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1186, allocations: 0 / 0.5334 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002765/0.1189, allocations: 127.8 kB / 0.5335 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.1195, allocations: 124.2 kB / 0.5337 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1209, allocations: 0.8024 MB / 0.5344 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.1214, allocations: 0.8347 MB / 0.5353 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001851/0.1216, allocations: 55.23 kB / 0.5353 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.1217, allocations: 31.44 kB / 0.5353 GB, free: 7.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1217, allocations: 0 / 0.5353 GB, free: 7.402 MB / 398.1 MB Notification: Performance of Templates: time 0.009318/0.131, allocations: 4.479 MB / 0.5397 GB, free: 2.977 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] [Calling sys.exit(0), Time elapsed: 4.6888058967888355] Failed to read output from testmodel.py, exit status != 0: 0.13846021704375744 0.15189686400000002 0.050458893000000005 Calling exit ...