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.001496/0.001496, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001809/0.001809, allocations: 161.4 kB / 24.85 MB, free: 8.766 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.102/1.102, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.06373/0.06373, allocations: 18.14 MB / 280 MB, free: 11.14 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.533e-06/1.533e-06, allocations: 0 / 358.5 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.615e-05, allocations: 2.312 kB / 358.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.009661/0.009688, allocations: 2.83 MB / 361.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007981/0.01767, allocations: 1.059 MB / 362.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.01804, allocations: 27.81 kB / 362.5 MB, free: 4.633 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.01828, allocations: 83.06 kB / 362.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.0185, allocations: 87.09 kB / 362.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006688/0.01917, allocations: 323.4 kB / 362.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004793/0.02396, allocations: 0.5621 MB / 363.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002668/0.02423, allocations: 155.6 kB / 363.7 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.02444, allocations: 183.4 kB / 363.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.02468, allocations: 139.4 kB / 364 MB, free: 3.113 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.02477, allocations: 48 kB / 364 MB, free: 3.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.204e-05/0.02482, allocations: 48 kB / 364.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.0249, allocations: 115.5 kB / 364.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.02506, allocations: 135.5 kB / 364.3 MB, free: 2.773 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.02554, allocations: 354.4 kB / 364.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.02555, allocations: 4 kB / 364.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.02555, allocations: 0 / 364.7 MB, free: 2.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.02555, allocations: 0 / 364.7 MB, free: 2.422 MB / 330.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.001014/0.02657, allocations: 0.8538 MB / 365.5 MB, free: 1.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.02661, allocations: 8.922 kB / 365.5 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.02671, allocations: 92.56 kB / 365.6 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.02711, allocations: 385 kB / 366 MB, free: 1.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.02715, allocations: 29.38 kB / 366 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.0272, allocations: 36.38 kB / 366 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.02762, allocations: 472.3 kB / 366.5 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.02763, allocations: 4.188 kB / 366.5 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.02766, allocations: 16.38 kB / 366.5 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.02767, allocations: 11.94 kB / 366.5 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.02781, allocations: 108.4 kB / 366.6 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.03062, allocations: 1.564 MB / 368.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.03104, allocations: 182.5 kB / 368.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.03115, allocations: 56.12 kB / 368.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.03118, allocations: 4.234 kB / 368.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.03121, allocations: 37.62 kB / 368.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.315e-06/0.03121, allocations: 0 / 368.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0004806/0.03169, allocations: 233.1 kB / 368.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.881e-05/0.03177, allocations: 158.2 kB / 368.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.03215, allocations: 410.5 kB / 369.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.03218, allocations: 29.7 kB / 369.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.03245, allocations: 326.9 kB / 369.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.03254, allocations: 103.1 kB / 369.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.0327, allocations: 75.61 kB / 369.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.03293, allocations: 0.5273 MB / 370.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.03304, allocations: 48.97 kB / 370.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.03329, allocations: 264.2 kB / 370.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.03353, allocations: 212 kB / 370.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.03354, allocations: 7.938 kB / 370.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002712/0.03381, allocations: 239.1 kB / 371.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.03382, allocations: 8 kB / 371.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.03383, allocations: 0 / 371.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.03384, allocations: 7.938 kB / 371.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.03404, allocations: 76.06 kB / 371.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.03404, allocations: 4 kB / 371.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.03416, allocations: 31.83 kB / 371.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.03417, allocations: 12 kB / 371.2 MB, free: 11.43 MB / 346.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.000197/0.03437, allocations: 171.1 kB / 371.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000133/0.0345, allocations: 263.6 kB / 371.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002008/0.0347, allocations: 222.1 kB / 371.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.03471, allocations: 0 / 371.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003159/0.03502, allocations: 237.1 kB / 372.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.03503, allocations: 8 kB / 372.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.03504, allocations: 224 / 372.1 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.75e-06/0.03504, allocations: 8 kB / 372.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.03521, allocations: 63.91 kB / 372.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.03522, allocations: 11.88 kB / 372.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.03534, allocations: 23.89 kB / 372.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.03536, allocations: 15.98 kB / 372.2 MB, free: 10.32 MB / 346.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 (Gs.local_reset,PIp.I.local_reset,PIe.I.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.0002247/0.03558, allocations: 284 kB / 372.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.03565, allocations: 55.67 kB / 372.5 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.03572, allocations: 52.62 kB / 372.6 MB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.03573, allocations: 11.94 kB / 372.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.03573, allocations: 0 / 372.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.03574, allocations: 3.984 kB / 372.6 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.03607, allocations: 252.9 kB / 372.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.03608, allocations: 0 / 372.9 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.03625, allocations: 51.91 kB / 372.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.03625, allocations: 4 kB / 372.9 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.03627, allocations: 4 kB / 372.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.03627, allocations: 4 kB / 372.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.03627, allocations: 4 kB / 372.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.03665, allocations: 388.4 kB / 373.3 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.03674, allocations: 71.56 kB / 373.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.03677, allocations: 11.98 kB / 373.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.03686, allocations: 12.09 kB / 373.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.03691, allocations: 19.95 kB / 373.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.03692, allocations: 11.92 kB / 373.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.03705, allocations: 259 kB / 373.7 MB, free: 8.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03705, allocations: 0 / 373.7 MB, free: 8.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.03743, allocations: 151.5 kB / 373.8 MB, free: 8.648 MB / 346.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.0001404/0.03757, allocations: 103.2 kB / 373.9 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.03788, allocations: 248.5 kB / 374.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.03788, allocations: 0 / 374.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.03796, allocations: 79.5 kB / 374.2 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.03838, allocations: 141.4 kB / 374.4 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009112/0.03929, allocations: 0.7307 MB / 375.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.856e-05/0.03936, allocations: 113.2 kB / 375.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.03951, allocations: 51.31 kB / 375.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.03972, allocations: 174.1 kB / 375.4 MB, free: 6.961 MB / 346.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03972, allocations: 0 / 375.4 MB, free: 6.961 MB / 346.7 MB Notification: Performance of Templates: time 0.006966/0.04669, allocations: 5.038 MB / 380.5 MB, free: 2.008 MB / 346.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.1712639830075204]