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.001081/0.001081, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00126/0.00126, allocations: 165 kB / 23.82 MB, free: 0.75 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.067/0.067, allocations: 18.14 MB / 278.9 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.332e-06/1.332e-06, allocations: 0 / 357.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.144e-05/6.277e-05, allocations: 9.125 kB / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.00342/0.003483, allocations: 2.865 MB / 360.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.00484, allocations: 1.059 MB / 361.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.005025, allocations: 23.81 kB / 361.2 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.005192, allocations: 87 kB / 361.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.005336, allocations: 91.08 kB / 361.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.005774, allocations: 327.3 kB / 361.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.006163, allocations: 0.5544 MB / 362.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.006376, allocations: 167.5 kB / 362.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.00651, allocations: 179.4 kB / 362.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.006636, allocations: 143.4 kB / 362.8 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.006685, allocations: 44 kB / 362.8 MB, free: 2.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.006725, allocations: 48 kB / 362.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.006787, allocations: 107.5 kB / 363 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.006877, allocations: 135.5 kB / 363.1 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.007191, allocations: 370.4 kB / 363.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.007192, allocations: 0 / 363.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007193, allocations: 0 / 363.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.007198, allocations: 0 / 363.4 MB, free: 1.629 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.0008181/0.008016, allocations: 0.8384 MB / 364.3 MB, free: 0.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.008049, allocations: 8.922 kB / 364.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.008144, allocations: 96.52 kB / 364.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.008528, allocations: 389 kB / 364.8 MB, free: 252 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.008565, allocations: 25.38 kB / 364.8 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.952e-05/0.008614, allocations: 40.38 kB / 364.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.009113, allocations: 492.4 kB / 365.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.009125, allocations: 4.188 kB / 365.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.009147, allocations: 12.38 kB / 365.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.009158, allocations: 11.94 kB / 365.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.009362, allocations: 135.7 kB / 365.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01054, allocations: 1.63 MB / 367.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.01085, allocations: 187.9 kB / 367.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.01097, allocations: 72.05 kB / 367.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.011, allocations: 12.22 kB / 367.4 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.01102, allocations: 33.62 kB / 367.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.242e-06/0.01102, allocations: 0 / 367.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.000365/0.01138, allocations: 252 kB / 367.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.01144, allocations: 158.2 kB / 367.8 MB, free: 13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.01172, allocations: 414.7 kB / 368.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.01174, allocations: 37.7 kB / 368.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.01191, allocations: 315 kB / 368.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.01197, allocations: 103.7 kB / 368.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/0.01205, allocations: 79.56 kB / 368.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.01222, allocations: 0.5235 MB / 369.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.929e-05/0.01231, allocations: 56.91 kB / 369.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.01249, allocations: 272.3 kB / 369.6 MB, free: 11.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.01278, allocations: 244 kB / 369.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01279, allocations: 4 kB / 369.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003037/0.01309, allocations: 267 kB / 370.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.0131, allocations: 8 kB / 370.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01311, allocations: 0 / 370.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01313, allocations: 12.16 kB / 370.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.0133, allocations: 63.91 kB / 370.2 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01331, allocations: 4 kB / 370.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01341, allocations: 35.83 kB / 370.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01342, allocations: 8 kB / 370.2 MB, free: 10.42 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.0001841/0.01361, allocations: 183.4 kB / 370.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001564/0.01377, allocations: 275.5 kB / 370.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002522/0.01402, allocations: 242.2 kB / 370.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.01402, allocations: 0 / 370.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002742/0.01429, allocations: 253.1 kB / 371.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.0143, allocations: 12.22 kB / 371.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.0143, allocations: 0 / 371.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-06/0.01431, allocations: 4 kB / 371.2 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01444, allocations: 71.8 kB / 371.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.01444, allocations: 7.984 kB / 371.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.01454, allocations: 27.84 kB / 371.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01455, allocations: 12 kB / 371.3 MB, free: 9.238 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.0001134/0.01467, allocations: 294.6 kB / 371.6 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.01472, allocations: 55.7 kB / 371.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.01478, allocations: 56.62 kB / 371.7 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01479, allocations: 3.938 kB / 371.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01479, allocations: 7.938 kB / 371.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.0148, allocations: 0 / 371.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.01506, allocations: 316.3 kB / 372 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01506, allocations: 4 kB / 372 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.01521, allocations: 47.92 kB / 372 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01521, allocations: 4 kB / 372 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01523, allocations: 3.984 kB / 372.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.01523, allocations: 0 / 372.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.01523, allocations: 11.94 kB / 372.1 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.01561, allocations: 409.9 kB / 372.5 MB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.433e-05/0.01571, allocations: 75.58 kB / 372.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.01574, allocations: 8 kB / 372.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.01584, allocations: 15.98 kB / 372.6 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.01587, allocations: 19.91 kB / 372.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01588, allocations: 8 kB / 372.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01605, allocations: 279 kB / 372.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01605, allocations: 0 / 372.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.01634, allocations: 147.6 kB / 373 MB, free: 7.453 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 7.802e-05/0.01642, allocations: 103.2 kB / 373.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.01678, allocations: 276.3 kB / 373.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01678, allocations: 0 / 373.4 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.01687, allocations: 77.64 kB / 373.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.01725, allocations: 139.3 kB / 373.6 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.01806, allocations: 0.7467 MB / 374.3 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.01812, allocations: 113.1 kB / 374.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.01823, allocations: 47.27 kB / 374.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.0183, allocations: 28.5 kB / 374.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0183, allocations: 4 kB / 374.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of Templates: time 0.006279/0.02457, allocations: 4.546 MB / 379.1 MB, free: 1.414 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.1279767039231956]