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.001929/0.001929, allocations: 84.98 kB / 20.23 MB, free: 4.199 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.001955/0.001955, allocations: 161.3 kB / 23.55 MB, free: 0.8828 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.641/1.641, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.1168/0.1168, allocations: 18.14 MB / 278.5 MB, free: 11.33 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.382e-06/1.382e-06, allocations: 0 / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.569e-05, allocations: 5.547 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.004649/0.004675, allocations: 2.819 MB / 359.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.006692, allocations: 1.059 MB / 360.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.006915, allocations: 23.81 kB / 360.4 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.007159, allocations: 83.06 kB / 360.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.007382, allocations: 91.08 kB / 360.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.008067, allocations: 323.4 kB / 360.9 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007029/0.00877, allocations: 0.5622 MB / 361.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.009074, allocations: 163.5 kB / 361.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.009302, allocations: 183.3 kB / 361.8 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.009504, allocations: 139.4 kB / 361.9 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.009595, allocations: 48 kB / 362 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.009664, allocations: 44 kB / 362 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.009775, allocations: 107.5 kB / 362.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.009929, allocations: 135.5 kB / 362.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.01065, allocations: 0.5566 MB / 362.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.01065, allocations: 0 / 362.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01065, allocations: 0 / 362.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.01066, allocations: 4 kB / 362.8 MB, free: 1.848 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.001384/0.01204, allocations: 0.8732 MB / 363.7 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01208, allocations: 16.92 kB / 363.7 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.01223, allocations: 92.52 kB / 363.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.01285, allocations: 393 kB / 364.2 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/0.01289, allocations: 25.38 kB / 364.2 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.01296, allocations: 40.38 kB / 364.3 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008617/0.01382, allocations: 0.566 MB / 364.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01383, allocations: 192 / 364.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.01387, allocations: 16.38 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.01388, allocations: 11.94 kB / 364.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/0.01445, allocations: 258.4 kB / 365.1 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.01689, allocations: 1.803 MB / 366.9 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007245/0.01762, allocations: 324.5 kB / 367.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.01787, allocations: 116.1 kB / 367.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.0179, allocations: 8.234 kB / 367.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.01794, allocations: 41.62 kB / 367.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.643e-06/0.01794, allocations: 4 kB / 367.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008707/0.01881, allocations: 395.9 kB / 367.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.01893, allocations: 158.2 kB / 367.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.0195, allocations: 0.5027 MB / 368.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.01954, allocations: 29.7 kB / 368.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.01981, allocations: 339.1 kB / 368.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.01992, allocations: 115.7 kB / 368.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.02006, allocations: 83.64 kB / 369 MB, free: 11.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003289/0.02039, allocations: 0.5587 MB / 369.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.02063, allocations: 109 kB / 369.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.02106, allocations: 344.2 kB / 370 MB, free: 10.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.02185, allocations: 420 kB / 370.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.02186, allocations: 0 / 370.4 MB, free: 9.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007209/0.02258, allocations: 383 kB / 370.8 MB, free: 9.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.02259, allocations: 4 kB / 370.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.0226, allocations: 224 / 370.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.02262, allocations: 11.98 kB / 370.8 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.02292, allocations: 75.83 kB / 370.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.02293, allocations: 7.938 kB / 370.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.02314, allocations: 31.83 kB / 370.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.02317, allocations: 16 kB / 370.9 MB, free: 9.316 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.0003818/0.02355, allocations: 247.5 kB / 371.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003591/0.02391, allocations: 327.6 kB / 371.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006099/0.02452, allocations: 378.2 kB / 371.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.02452, allocations: 0 / 371.9 MB, free: 8.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005651/0.02509, allocations: 345.1 kB / 372.2 MB, free: 7.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.0251, allocations: 10.56 kB / 372.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.0251, allocations: 4 kB / 372.2 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.02511, allocations: 4 kB / 372.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.02538, allocations: 67.84 kB / 372.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.02538, allocations: 0 / 372.3 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.02559, allocations: 27.83 kB / 372.3 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.02562, allocations: 16 kB / 372.3 MB, free: 7.801 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.0002163/0.02583, allocations: 291.9 kB / 372.6 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.02593, allocations: 67.67 kB / 372.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.02605, allocations: 48.62 kB / 372.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.02606, allocations: 7.938 kB / 372.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.02607, allocations: 0 / 372.7 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.02608, allocations: 3.984 kB / 372.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.02666, allocations: 404.3 kB / 373.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02666, allocations: 0 / 373.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.02696, allocations: 55.91 kB / 373.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.02696, allocations: 0 / 373.2 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.02699, allocations: 4 kB / 373.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.02699, allocations: 4 kB / 373.2 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.02699, allocations: 7.938 kB / 373.2 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.02809, allocations: 0.58 MB / 373.8 MB, free: 6.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.02825, allocations: 79.56 kB / 373.9 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.0283, allocations: 4 kB / 373.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.02851, allocations: 15.98 kB / 373.9 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.02857, allocations: 23.91 kB / 373.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.02858, allocations: 7.938 kB / 373.9 MB, free: 6.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003615/0.02895, allocations: 339 kB / 374.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02895, allocations: 0 / 374.2 MB, free: 5.828 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004939/0.02944, allocations: 143.6 kB / 374.4 MB, free: 5.688 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.0001342/0.02957, allocations: 103.2 kB / 374.5 MB, free: 5.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.03044, allocations: 445 kB / 374.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03044, allocations: 4.25 kB / 374.9 MB, free: 5.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.03071, allocations: 140.7 kB / 375 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.03142, allocations: 121.8 kB / 375.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.03289, allocations: 0.7976 MB / 376 MB, free: 4.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.03315, allocations: 233.6 kB / 376.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.03333, allocations: 43.27 kB / 376.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.03343, allocations: 28.5 kB / 376.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.03343, allocations: 0 / 376.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of Templates: time 0.01037/0.0438, allocations: 4.546 MB / 380.8 MB, free: 15.26 MB / 314.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: 4.74380765191745]