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.001979/0.001979, allocations: 84.23 kB / 20.23 MB, free: 4.211 MB / 18.57 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.002478/0.002478, allocations: 157.7 kB / 23.53 MB, free: 0.9062 MB / 18.57 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.552/1.552, allocations: 177.2 MB / 203.9 MB, free: 5.605 MB / 186.7 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.1321/0.1321, allocations: 18.14 MB / 278.5 MB, free: 11.34 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 356.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.388e-05, allocations: 2.312 kB / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.006333/0.006367, allocations: 2.772 MB / 359.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.009509, allocations: 1.032 MB / 360.3 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.009933, allocations: 23.81 kB / 360.3 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.01021, allocations: 83.06 kB / 360.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.01059, allocations: 91.08 kB / 360.5 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.01172, allocations: 327.4 kB / 360.8 MB, free: 3.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.01279, allocations: 0.5621 MB / 361.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.01322, allocations: 159.6 kB / 361.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.01355, allocations: 183.3 kB / 361.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.01383, allocations: 139.4 kB / 361.9 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.01393, allocations: 48 kB / 361.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.01403, allocations: 44 kB / 362 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.01419, allocations: 107.5 kB / 362.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.01444, allocations: 135.5 kB / 362.2 MB, free: 2.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007146/0.01515, allocations: 0.5527 MB / 362.7 MB, free: 1.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01516, allocations: 4 kB / 362.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01516, allocations: 0 / 362.7 MB, free: 1.949 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.01517, allocations: 4 kB / 362.8 MB, free: 1.945 MB / 282.7 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.001376/0.01654, allocations: 0.7424 MB / 363.5 MB, free: 1.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01659, allocations: 12.92 kB / 363.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01676, allocations: 96.52 kB / 363.6 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.01746, allocations: 386.2 kB / 364 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.127e-05/0.0175, allocations: 33.31 kB / 364 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.01758, allocations: 36.38 kB / 364 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/0.0185, allocations: 0.5278 MB / 364.6 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01851, allocations: 4.188 kB / 364.6 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/0.01857, allocations: 16.45 kB / 364.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.01859, allocations: 11.94 kB / 364.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006402/0.01923, allocations: 290.4 kB / 364.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.02124, allocations: 1.325 MB / 366.2 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/0.02205, allocations: 328.5 kB / 366.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.02236, allocations: 129.3 kB / 366.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.02239, allocations: 4.234 kB / 366.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.02243, allocations: 38.8 kB / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.02243, allocations: 0 / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001023/0.02346, allocations: 421.8 kB / 367.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.0236, allocations: 162.2 kB / 367.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.02409, allocations: 385.9 kB / 367.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/0.02413, allocations: 29.7 kB / 367.7 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.02443, allocations: 272.5 kB / 367.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.02455, allocations: 103.1 kB / 368 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.02468, allocations: 62.03 kB / 368.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.02492, allocations: 358.8 kB / 368.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.02522, allocations: 114.1 kB / 368.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.02569, allocations: 314.3 kB / 368.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.02729, allocations: 0.5248 MB / 369.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02729, allocations: 0 / 369.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007855/0.02808, allocations: 406.7 kB / 369.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.0281, allocations: 6.969 kB / 369.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.02811, allocations: 4 kB / 369.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.02813, allocations: 7.875 kB / 369.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.02846, allocations: 67.91 kB / 369.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.02847, allocations: 7.938 kB / 369.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.02869, allocations: 35.83 kB / 369.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.02872, allocations: 12.19 kB / 369.9 MB, free: 10.4 MB / 298.7 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.0004042/0.02912, allocations: 223.2 kB / 370.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003414/0.02947, allocations: 277.7 kB / 370.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001177/0.03064, allocations: 471.9 kB / 370.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.03065, allocations: 0 / 370.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006051/0.03125, allocations: 349.1 kB / 371.2 MB, free: 9.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.03126, allocations: 4 kB / 371.2 MB, free: 9.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.03126, allocations: 4 kB / 371.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.03127, allocations: 0 / 371.2 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/0.03153, allocations: 67.84 kB / 371.3 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.03153, allocations: 4 kB / 371.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.03174, allocations: 31.78 kB / 371.3 MB, free: 8.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.03177, allocations: 12.22 kB / 371.4 MB, free: 8.895 MB / 298.7 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.0002024/0.03197, allocations: 212.1 kB / 371.6 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.03208, allocations: 55.72 kB / 371.6 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.0322, allocations: 52.62 kB / 371.7 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.03221, allocations: 7.938 kB / 371.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.03222, allocations: 0 / 371.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.03223, allocations: 7.984 kB / 371.7 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.03273, allocations: 329 kB / 372 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.03273, allocations: 0 / 372 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.03306, allocations: 59.97 kB / 372.1 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.03306, allocations: 3.938 kB / 372.1 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.03308, allocations: 4 kB / 372.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.03309, allocations: 4 kB / 372.1 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.03309, allocations: 3.938 kB / 372.1 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.03413, allocations: 0.5343 MB / 372.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.03427, allocations: 79.62 kB / 372.7 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.03432, allocations: 8 kB / 372.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.03454, allocations: 19.92 kB / 372.7 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.03461, allocations: 23.91 kB / 372.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.03462, allocations: 4 kB / 372.7 MB, free: 7.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003045/0.03493, allocations: 267.2 kB / 373 MB, free: 7.191 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03493, allocations: 0 / 373 MB, free: 7.191 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005107/0.03544, allocations: 147.6 kB / 373.1 MB, free: 7.047 MB / 298.7 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.0001426/0.03558, allocations: 107.2 kB / 373.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008732/0.03645, allocations: 405.5 kB / 373.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.03646, allocations: 0.875 kB / 373.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.03674, allocations: 135.8 kB / 373.8 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.03743, allocations: 120.3 kB / 373.9 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.0389, allocations: 0.7956 MB / 374.7 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.03915, allocations: 233.5 kB / 374.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.03935, allocations: 47.3 kB / 375 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.03945, allocations: 28.5 kB / 375 MB, free: 5.141 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03945, allocations: 0 / 375 MB, free: 5.141 MB / 298.7 MB Notification: Performance of Templates: time 0.01008/0.04953, allocations: 4.534 MB / 379.5 MB, free: 0.6953 MB / 298.7 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.72576601698529]