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.001487/0.001487, allocations: 87.56 kB / 20.97 MB, free: 3.578 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.001218/0.001218, allocations: 177 kB / 24.28 MB, free: 276 kB / 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.005/1.005, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.06442/0.06442, allocations: 18.14 MB / 279.2 MB, free: 11.35 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.353e-06/1.353e-06, allocations: 0 / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.566e-05, allocations: 2.312 kB / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003119/0.003145, allocations: 2.857 MB / 360.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004486, allocations: 1.048 MB / 361.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.004676, allocations: 27.81 kB / 361.2 MB, free: 4.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.004874, allocations: 91 kB / 361.3 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.005024, allocations: 87.08 kB / 361.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.005488, allocations: 327.3 kB / 361.7 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.005914, allocations: 0.566 MB / 362.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.006152, allocations: 163.5 kB / 362.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.006282, allocations: 171.5 kB / 362.6 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.006677, allocations: 143.4 kB / 362.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.006724, allocations: 44 kB / 362.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.772e-05/0.006761, allocations: 48 kB / 362.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.00682, allocations: 107.5 kB / 362.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.00691, allocations: 139.5 kB / 363 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003071/0.007217, allocations: 362.4 kB / 363.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00722, allocations: 0 / 363.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00722, allocations: 0 / 363.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.007226, allocations: 0 / 363.4 MB, free: 2.008 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.0008158/0.008042, allocations: 0.8423 MB / 364.2 MB, free: 1.125 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.008084, allocations: 12.92 kB / 364.2 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.008185, allocations: 88.52 kB / 364.3 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.008582, allocations: 393 kB / 364.7 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.008616, allocations: 29.38 kB / 364.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.008661, allocations: 36.38 kB / 364.8 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.00913, allocations: 492.4 kB / 365.3 MB, free: 0 / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.009143, allocations: 192 / 365.3 MB, free: 0 / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.009178, allocations: 16.44 kB / 365.3 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.009191, allocations: 15.92 kB / 365.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.009395, allocations: 139.7 kB / 365.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.01066, allocations: 1.622 MB / 367 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.01099, allocations: 189 kB / 367.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.649e-05/0.01109, allocations: 72.06 kB / 367.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.01111, allocations: 4.234 kB / 367.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.01114, allocations: 45.62 kB / 367.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.372e-06/0.01114, allocations: 0 / 367.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003743/0.01151, allocations: 248 kB / 367.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.01157, allocations: 158.2 kB / 367.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.01185, allocations: 418.6 kB / 368.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01187, allocations: 29.7 kB / 368.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.01202, allocations: 319.2 kB / 368.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.403e-05/0.01207, allocations: 103.1 kB / 368.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.01214, allocations: 79.62 kB / 368.7 MB, free: 12.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01229, allocations: 0.5157 MB / 369.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.01238, allocations: 64.91 kB / 369.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.01257, allocations: 272.3 kB / 369.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.01318, allocations: 240 kB / 369.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01318, allocations: 0 / 369.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003078/0.01349, allocations: 275 kB / 370 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.0135, allocations: 7.125 kB / 370 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01351, allocations: 4 kB / 370 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.01353, allocations: 7.938 kB / 370 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.01369, allocations: 63.91 kB / 370.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01369, allocations: 4 kB / 370.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.0138, allocations: 32.05 kB / 370.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01382, allocations: 20 kB / 370.2 MB, free: 10.79 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.0001905/0.01401, allocations: 177.9 kB / 370.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001622/0.01417, allocations: 275.5 kB / 370.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002608/0.01443, allocations: 242.2 kB / 370.8 MB, free: 10 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.01443, allocations: 0 / 370.8 MB, free: 10 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002865/0.01472, allocations: 261.1 kB / 371.1 MB, free: 9.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.01473, allocations: 4 kB / 371.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01474, allocations: 7.938 kB / 371.1 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.01474, allocations: 4 kB / 371.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01488, allocations: 63.78 kB / 371.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.01488, allocations: 4.219 kB / 371.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.01498, allocations: 35.84 kB / 371.2 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.01499, allocations: 12 kB / 371.2 MB, free: 9.613 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.0001506/0.01514, allocations: 295.9 kB / 371.5 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.0152, allocations: 55.72 kB / 371.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.01528, allocations: 48.62 kB / 371.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01528, allocations: 7.938 kB / 371.6 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01529, allocations: 0 / 371.6 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.01529, allocations: 3.984 kB / 371.6 MB, free: 9.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.01558, allocations: 324.3 kB / 371.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01558, allocations: 0 / 371.9 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.01575, allocations: 56 kB / 372 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.01575, allocations: 3.984 kB / 372 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.01577, allocations: 4 kB / 372 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01577, allocations: 4 kB / 372 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.01578, allocations: 3.938 kB / 372 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.01622, allocations: 413.9 kB / 372.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.0163, allocations: 75.58 kB / 372.5 MB, free: 8.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.01634, allocations: 4 kB / 372.5 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/0.01644, allocations: 19.98 kB / 372.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.01649, allocations: 19.91 kB / 372.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.0165, allocations: 8 kB / 372.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.01669, allocations: 275 kB / 372.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01669, allocations: 0 / 372.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.017, allocations: 147.6 kB / 373 MB, free: 7.824 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.0001268/0.01713, allocations: 103.2 kB / 373.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.01756, allocations: 280.3 kB / 373.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01756, allocations: 0 / 373.3 MB, free: 7.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.01767, allocations: 84.75 kB / 373.4 MB, free: 7.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.0181, allocations: 128.5 kB / 373.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008541/0.01895, allocations: 0.735 MB / 374.3 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.046e-05/0.01902, allocations: 117.1 kB / 374.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.01914, allocations: 51.25 kB / 374.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.01921, allocations: 28.5 kB / 374.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01921, allocations: 0 / 374.5 MB, free: 6.246 MB / 298.7 MB Notification: Performance of Templates: time 0.006886/0.0261, allocations: 4.549 MB / 379 MB, free: 1.785 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=240 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0469728230964392]