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.001737/0.001737, allocations: 108.6 kB / 18.68 MB, free: 3.168 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.007752/0.007752, allocations: 198 kB / 21.93 MB, free: 5.633 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.396/1.396, allocations: 225.6 MB / 250.6 MB, free: 13.39 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.1039/0.1039, allocations: 22.69 MB / 328.5 MB, free: 2.633 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.002013/0.002013, allocations: 67.89 kB / 462.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09934, allocations: 58.03 MB / 0.5081 GB, free: 4.996 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004365/0.1037, allocations: 3.036 MB / 0.5111 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1056, allocations: 1.04 MB / 0.5121 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1058, allocations: 19.88 kB / 0.5121 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1061, allocations: 91.05 kB / 0.5122 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1063, allocations: 95.12 kB / 0.5123 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.107, allocations: 322.7 kB / 0.5126 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1776/0.2846, allocations: 0.5502 MB / 0.5131 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.285, allocations: 165.8 kB / 0.5133 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.2852, allocations: 194.6 kB / 0.5135 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.2854, allocations: 209.9 kB / 0.5137 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.823e-05/0.2855, allocations: 46.69 kB / 0.5137 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.2855, allocations: 46.25 kB / 0.5138 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.2856, allocations: 104.7 kB / 0.5139 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.2858, allocations: 235.9 kB / 0.5141 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.2863, allocations: 0.5507 MB / 0.5146 GB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2863, allocations: 0 / 0.5146 GB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2863, allocations: 1.094 kB / 0.5146 GB, free: 12.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.2863, allocations: 0.625 kB / 0.5146 GB, free: 12.18 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.001056/0.2873, allocations: 0.8315 MB / 0.5154 GB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2874, allocations: 8.688 kB / 0.5155 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.2875, allocations: 68.02 kB / 0.5155 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.288, allocations: 432.2 kB / 0.5159 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.288, allocations: 32.45 kB / 0.516 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.2881, allocations: 37 kB / 0.516 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.2887, allocations: 423.5 kB / 0.5164 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2887, allocations: 4.875 kB / 0.5164 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2887, allocations: 18.28 kB / 0.5164 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2888, allocations: 8.906 kB / 0.5164 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.2893, allocations: 281.6 kB / 0.5167 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.2908, allocations: 1.537 MB / 0.5182 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.2915, allocations: 330.1 kB / 0.5185 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002475/0.2917, allocations: 129.2 kB / 0.5186 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.2918, allocations: 6.984 kB / 0.5186 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2918, allocations: 40.33 kB / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.502e-06/0.2918, allocations: 0 / 0.5187 GB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008558/0.2927, allocations: 408.1 kB / 0.5191 GB, free: 10.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2927, allocations: 109.2 kB / 0.5192 GB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.2931, allocations: 403.8 kB / 0.5196 GB, free: 9.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.2931, allocations: 36.33 kB / 0.5196 GB, free: 9.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2932, allocations: 268.6 kB / 0.5199 GB, free: 9.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.2933, allocations: 105.9 kB / 0.52 GB, free: 9.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.2934, allocations: 60.11 kB / 0.52 GB, free: 9.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.2934, allocations: 361 kB / 0.5204 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2937, allocations: 113.5 kB / 0.5205 GB, free: 9.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2939, allocations: 196 kB / 0.5207 GB, free: 9.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.2953, allocations: 0.5235 MB / 0.5212 GB, free: 8.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2953, allocations: 0.9375 kB / 0.5212 GB, free: 8.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006522/0.296, allocations: 394.3 kB / 0.5215 GB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.296, allocations: 6.25 kB / 0.5215 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.296, allocations: 2.062 kB / 0.5216 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.296, allocations: 3.094 kB / 0.5216 GB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.2963, allocations: 70.42 kB / 0.5216 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.2963, allocations: 7.984 kB / 0.5216 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.2965, allocations: 39.45 kB / 0.5217 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.2966, allocations: 14 kB / 0.5217 GB, free: 8.641 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.0002849/0.2968, allocations: 207.5 kB / 0.5219 GB, free: 8.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001866/0.297, allocations: 173 kB / 0.522 GB, free: 8.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/0.298, allocations: 462.4 kB / 0.5225 GB, free: 8.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.2981, allocations: 4 kB / 0.5225 GB, free: 8.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004707/0.2985, allocations: 334.3 kB / 0.5228 GB, free: 8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.305e-06/0.2985, allocations: 9.312 kB / 0.5228 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2985, allocations: 5.125 kB / 0.5228 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.2985, allocations: 3.312 kB / 0.5228 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.2988, allocations: 57.34 kB / 0.5229 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.2988, allocations: 12.22 kB / 0.5229 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.299, allocations: 35.12 kB / 0.5229 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.299, allocations: 9.062 kB / 0.5229 GB, free: 7.973 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 9.414e-05/0.2991, allocations: 203.4 kB / 0.5231 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.2992, allocations: 57.08 kB / 0.5232 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.2993, allocations: 50.39 kB / 0.5232 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2993, allocations: 2.672 kB / 0.5232 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2993, allocations: 0 / 0.5232 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.2994, allocations: 151 kB / 0.5234 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.2994, allocations: 6.781 kB / 0.5234 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.2997, allocations: 16.77 kB / 0.5234 GB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.2997, allocations: 17.72 kB / 0.5234 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008457/0.3006, allocations: 407.6 kB / 0.5238 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008766/0.3015, allocations: 0.6335 MB / 0.5244 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002379/0.3017, allocations: 119.8 kB / 0.5245 GB, free: 6.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.3019, allocations: 286.9 kB / 0.5248 GB, free: 6.789 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3019, allocations: 0 / 0.5248 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.3028, allocations: 373.6 kB / 0.5252 GB, free: 6.637 MB / 382.1 MB Notification: Performance of SimCode: time 0.001334/0.3041, allocations: 1.293 MB / 0.5264 GB, free: 5.695 MB / 382.1 MB Notification: Performance of Templates: time 0.01132/0.3155, allocations: 6.347 MB / 0.5326 GB, free: 5.086 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: 4.576645563007332] Failed to read output from testmodel.py, exit status != 0: 0.323499065998476 0.334912554 0.045720046 Calling exit ...