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.001012/0.001012, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0009635/0.0009635, allocations: 173 kB / 24.16 MB, free: 336 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.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.08307/0.08307, allocations: 18.13 MB / 279.2 MB, free: 11.18 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.393e-06/1.393e-06, allocations: 0 / 304.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.248e-05, allocations: 3.984 kB / 304.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003754/0.003777, allocations: 2.871 MB / 307.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.005817, allocations: 1.093 MB / 308.5 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.00609, allocations: 23.81 kB / 308.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.006305, allocations: 83.02 kB / 308.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.006474, allocations: 93.09 kB / 308.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.00709, allocations: 329.2 kB / 309 MB, free: 13.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000558/0.007648, allocations: 0.5581 MB / 309.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.007909, allocations: 174.1 kB / 309.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.008117, allocations: 179.4 kB / 309.9 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.008258, allocations: 139.4 kB / 310.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.008304, allocations: 48 kB / 310.1 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.008339, allocations: 44 kB / 310.2 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.008394, allocations: 111.5 kB / 310.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.008476, allocations: 135.5 kB / 310.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.008774, allocations: 358.5 kB / 310.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.008778, allocations: 4 kB / 310.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008779, allocations: 0 / 310.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.008785, allocations: 4 kB / 310.8 MB, free: 11.68 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.0006834/0.009468, allocations: 0.7275 MB / 311.5 MB, free: 10.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.0095, allocations: 12.92 kB / 311.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.009575, allocations: 64.88 kB / 311.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.009917, allocations: 327.7 kB / 311.9 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.009945, allocations: 29.38 kB / 311.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.009985, allocations: 40.36 kB / 312 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.01036, allocations: 441.2 kB / 312.4 MB, free: 9.941 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01037, allocations: 12.06 kB / 312.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.01039, allocations: 16.38 kB / 312.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.0104, allocations: 11.94 kB / 312.4 MB, free: 9.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.01052, allocations: 88.48 kB / 312.5 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.0115, allocations: 1.107 MB / 313.6 MB, free: 8.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.01173, allocations: 153 kB / 313.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.01179, allocations: 45.31 kB / 313.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.01181, allocations: 4.234 kB / 313.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.01183, allocations: 38.8 kB / 313.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 1.724e-06/0.01184, allocations: 0 / 313.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.0002436/0.01208, allocations: 179.6 kB / 314 MB, free: 8.234 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.01214, allocations: 162.2 kB / 314.2 MB, free: 8.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.01234, allocations: 355.3 kB / 314.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.01236, allocations: 29.7 kB / 314.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.01246, allocations: 217.2 kB / 314.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.0125, allocations: 103.1 kB / 314.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.01258, allocations: 73.94 kB / 315 MB, free: 7.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.01267, allocations: 358.7 kB / 315.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/0.01272, allocations: 34.16 kB / 315.3 MB, free: 6.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01284, allocations: 223.5 kB / 315.6 MB, free: 6.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.01304, allocations: 193.2 kB / 315.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.01304, allocations: 4 kB / 315.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001961/0.01324, allocations: 191.3 kB / 315.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01325, allocations: 8 kB / 315.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01326, allocations: 0 / 315.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01327, allocations: 4 kB / 315.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.01343, allocations: 67.91 kB / 316 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.01344, allocations: 15.86 kB / 316 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.633e-05/0.01353, allocations: 39.78 kB / 316.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.01355, allocations: 8 kB / 316.1 MB, free: 6.02 MB / 282.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.000143/0.01369, allocations: 120.9 kB / 316.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001119/0.0138, allocations: 233.6 kB / 316.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001652/0.01397, allocations: 179.5 kB / 316.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.12e-07/0.01397, allocations: 0 / 316.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0001747/0.01414, allocations: 185.4 kB / 316.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.01415, allocations: 8 kB / 316.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.01415, allocations: 0 / 316.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/0.01416, allocations: 7.984 kB / 316.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.01429, allocations: 67.91 kB / 316.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.01429, allocations: 4 kB / 316.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.01438, allocations: 27.78 kB / 316.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.01439, allocations: 16.22 kB / 316.9 MB, free: 5.09 MB / 282.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.0001057/0.0145, allocations: 200.2 kB / 317.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.01454, allocations: 39.91 kB / 317.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.0146, allocations: 52.61 kB / 317.2 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.0146, allocations: 4 kB / 317.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.0146, allocations: 3.938 kB / 317.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01461, allocations: 0 / 317.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.01483, allocations: 229.5 kB / 317.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01483, allocations: 0 / 317.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.01498, allocations: 55.97 kB / 317.5 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.01498, allocations: 4 kB / 317.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.01499, allocations: 4 kB / 317.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.015, allocations: 0 / 317.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.015, allocations: 3.938 kB / 317.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.01529, allocations: 297.2 kB / 317.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.01535, allocations: 47.61 kB / 317.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.01538, allocations: 11.98 kB / 317.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.01547, allocations: 12 kB / 317.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.01551, allocations: 19.95 kB / 317.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01552, allocations: 11.98 kB / 317.9 MB, free: 4.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.01562, allocations: 152.7 kB / 318 MB, free: 3.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01562, allocations: 0 / 318 MB, free: 3.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.01589, allocations: 147.5 kB / 318.2 MB, free: 3.781 MB / 282.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 9.663e-05/0.01599, allocations: 84.36 kB / 318.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.01627, allocations: 227.5 kB / 318.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.01628, allocations: 7.938 kB / 318.5 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.01634, allocations: 69.88 kB / 318.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.01668, allocations: 129.8 kB / 318.7 MB, free: 3.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008107/0.01749, allocations: 0.7294 MB / 319.4 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.215e-05/0.01755, allocations: 113.3 kB / 319.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000141/0.01769, allocations: 47.25 kB / 319.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.0179, allocations: 143.3 kB / 319.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.0179, allocations: 0 / 319.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Templates: time 0.007371/0.02527, allocations: 4.949 MB / 324.7 MB, free: 13.38 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.891559785231948]