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.001442/0.001442, allocations: 96.36 kB / 20.46 MB, free: 1.367 MB / 14.72 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.001522/0.001522, allocations: 214.1 kB / 23.76 MB, free: 4.52 MB / 14.72 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 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.1096/0.1096, allocations: 24.03 MB / 338 MB, free: 11.36 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 71.91 kB / 475.1 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3061, allocations: 59.57 MB / 0.5221 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.003459/0.3095, allocations: 2.76 MB / 0.5248 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3112, allocations: 1.046 MB / 0.5258 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.3114, allocations: 23.44 kB / 0.5259 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002184/0.3116, allocations: 84.59 kB / 0.5259 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.3118, allocations: 87.55 kB / 0.526 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.3124, allocations: 327.9 kB / 0.5263 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005027/0.3129, allocations: 0.5463 MB / 0.5269 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.3132, allocations: 161.6 kB / 0.527 GB, free: 7.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3134, allocations: 208.4 kB / 0.5272 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3136, allocations: 187.5 kB / 0.5274 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.001e-05/0.3136, allocations: 45.5 kB / 0.5274 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.3137, allocations: 46.06 kB / 0.5275 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.704e-05/0.3138, allocations: 102 kB / 0.5276 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.3139, allocations: 179.8 kB / 0.5278 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.3144, allocations: 0.5458 MB / 0.5283 GB, free: 6.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3144, allocations: 5.344 kB / 0.5283 GB, free: 6.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3144, allocations: 0 / 0.5283 GB, free: 6.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.3144, allocations: 0 / 0.5283 GB, free: 6.418 MB / 382.1 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.00101/0.3155, allocations: 0.758 MB / 0.529 GB, free: 5.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3155, allocations: 10.3 kB / 0.529 GB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.3156, allocations: 66.25 kB / 0.5291 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.3161, allocations: 369.2 kB / 0.5295 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3161, allocations: 32.73 kB / 0.5295 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.905e-05/0.3162, allocations: 36.44 kB / 0.5295 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.3169, allocations: 0.5284 MB / 0.53 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3169, allocations: 1.219 kB / 0.53 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.3169, allocations: 16.06 kB / 0.5301 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3169, allocations: 13.33 kB / 0.5301 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.3175, allocations: 286.5 kB / 0.5303 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.319, allocations: 1.33 MB / 0.5316 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.3197, allocations: 336.2 kB / 0.532 GB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.3199, allocations: 125.5 kB / 0.5321 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.32, allocations: 4.297 kB / 0.5321 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.32, allocations: 37.53 kB / 0.5321 GB, free: 3.824 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.32, allocations: 1 kB / 0.5321 GB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008403/0.3208, allocations: 414 kB / 0.5325 GB, free: 3.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.3209, allocations: 159.1 kB / 0.5327 GB, free: 3.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.3212, allocations: 384.5 kB / 0.533 GB, free: 3.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3213, allocations: 31.95 kB / 0.5331 GB, free: 3.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3214, allocations: 267.2 kB / 0.5333 GB, free: 3.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.3215, allocations: 108.5 kB / 0.5334 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.3216, allocations: 66.14 kB / 0.5335 GB, free: 2.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.008e-05/0.3217, allocations: 354.5 kB / 0.5338 GB, free: 2.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.3219, allocations: 119.8 kB / 0.5339 GB, free: 2.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.3222, allocations: 312.6 kB / 0.5342 GB, free: 2.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.3237, allocations: 0.5216 MB / 0.5347 GB, free: 2.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3237, allocations: 8.5 kB / 0.5348 GB, free: 1.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006467/0.3243, allocations: 378.4 kB / 0.5351 GB, free: 1.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3244, allocations: 10 kB / 0.5351 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3244, allocations: 3.031 kB / 0.5351 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3244, allocations: 2.594 kB / 0.5351 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3247, allocations: 70.98 kB / 0.5352 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.3247, allocations: 9.234 kB / 0.5352 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3249, allocations: 38.52 kB / 0.5352 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3249, allocations: 13.56 kB / 0.5353 GB, free: 1.793 MB / 382.1 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.0002839/0.3252, allocations: 207.2 kB / 0.5355 GB, free: 1.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002083/0.3254, allocations: 287.8 kB / 0.5357 GB, free: 1.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.3264, allocations: 470.5 kB / 0.5362 GB, free: 1.152 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.3264, allocations: 1.062 kB / 0.5362 GB, free: 1.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004699/0.3269, allocations: 342 kB / 0.5365 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/0.3269, allocations: 9.656 kB / 0.5365 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.3269, allocations: 2.031 kB / 0.5365 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.3269, allocations: 4.203 kB / 0.5365 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3271, allocations: 57.86 kB / 0.5366 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3272, allocations: 3.844 kB / 0.5366 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.3274, allocations: 35.23 kB / 0.5366 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.3274, allocations: 9 kB / 0.5366 GB, free: 0.957 MB / 382.1 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.0001009/0.3275, allocations: 208.1 kB / 0.5368 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.921e-05/0.3275, allocations: 53.23 kB / 0.5369 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.079e-05/0.3276, allocations: 49.83 kB / 0.5369 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3276, allocations: 4 kB / 0.5369 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3276, allocations: 0 / 0.5369 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3276, allocations: 2.906 kB / 0.5369 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.328, allocations: 328.4 kB / 0.5372 GB, free: 484 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.328, allocations: 3.938 kB / 0.5372 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.3283, allocations: 47.36 kB / 0.5373 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3283, allocations: 5.062 kB / 0.5373 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.3283, allocations: 13.59 kB / 0.5373 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3283, allocations: 1.25 kB / 0.5373 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3283, allocations: 0 / 0.5373 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008256/0.3292, allocations: 0.5452 MB / 0.5378 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3293, allocations: 68.34 kB / 0.5379 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.3294, allocations: 14.83 kB / 0.5379 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.3296, allocations: 27.14 kB / 0.5379 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.3296, allocations: 18.73 kB / 0.538 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3297, allocations: 4.625 kB / 0.538 GB, free: 84 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.3299, allocations: 267.2 kB / 0.5382 GB, free: 15.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3299, allocations: 0 / 0.5382 GB, free: 15.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005044/0.3304, allocations: 143.4 kB / 0.5384 GB, free: 15.91 MB / 398.1 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.0001079/0.3305, allocations: 104.7 kB / 0.5385 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008228/0.3314, allocations: 402.5 kB / 0.5388 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3314, allocations: 0 / 0.5388 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3316, allocations: 123.4 kB / 0.539 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.3323, allocations: 124.5 kB / 0.5391 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3337, allocations: 0.8445 MB / 0.5399 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3339, allocations: 237.6 kB / 0.5401 GB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.334, allocations: 33.56 kB / 0.5402 GB, free: 14.97 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.334, allocations: 3.938 kB / 0.5402 GB, free: 14.96 MB / 398.1 MB Notification: Performance of Templates: time 0.008488/0.3425, allocations: 5.377 MB / 0.5454 GB, free: 13.23 MB / 398.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.952743021771312] Failed to read output from testmodel.py, exit status != 0: 0.3514858731068671 0.36606457800000003 0.048588124 Calling exit ...