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.001326/0.001326, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001568/0.001568, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1105/0.1105, allocations: 24.12 MB / 337.3 MB, free: 11.42 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.003043/0.003043, allocations: 71.88 kB / 474.6 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3438, allocations: 59.61 MB / 0.5216 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.00362/0.3475, allocations: 3.043 MB / 0.5246 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.3491, allocations: 1.076 MB / 0.5257 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.3494, allocations: 24.31 kB / 0.5257 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.3496, allocations: 83.84 kB / 0.5258 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.3498, allocations: 90.55 kB / 0.5259 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.3504, allocations: 329.4 kB / 0.5262 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.351, allocations: 0.5595 MB / 0.5267 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.3513, allocations: 173.2 kB / 0.5269 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.3515, allocations: 202.1 kB / 0.5271 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/0.3517, allocations: 205 kB / 0.5273 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.099e-05/0.3517, allocations: 46.09 kB / 0.5273 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.3518, allocations: 45.59 kB / 0.5274 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.3519, allocations: 106 kB / 0.5275 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.352, allocations: 227.5 kB / 0.5277 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.3526, allocations: 0.5493 MB / 0.5282 GB, free: 6.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3526, allocations: 3.938 kB / 0.5282 GB, free: 6.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3526, allocations: 0 / 0.5282 GB, free: 6.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3526, allocations: 5.469 kB / 0.5282 GB, free: 6.074 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.001045/0.3536, allocations: 0.7577 MB / 0.529 GB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3537, allocations: 9.109 kB / 0.529 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3538, allocations: 63.19 kB / 0.529 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005498/0.3543, allocations: 372.9 kB / 0.5294 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/0.3544, allocations: 28.58 kB / 0.5294 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.3544, allocations: 36.91 kB / 0.5294 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.3551, allocations: 442.3 kB / 0.5299 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3551, allocations: 1.125 kB / 0.5299 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.3551, allocations: 12.44 kB / 0.5299 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3551, allocations: 9.125 kB / 0.5299 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005519/0.3557, allocations: 286.3 kB / 0.5302 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3574, allocations: 1.485 MB / 0.5316 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.3581, allocations: 330.9 kB / 0.5319 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3584, allocations: 126.1 kB / 0.532 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.3584, allocations: 4.656 kB / 0.5321 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.3584, allocations: 41.23 kB / 0.5321 GB, free: 3.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.3584, allocations: 0 / 0.5321 GB, free: 3.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008468/0.3593, allocations: 406.9 kB / 0.5325 GB, free: 3.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3593, allocations: 166.1 kB / 0.5326 GB, free: 3.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.3597, allocations: 410.3 kB / 0.533 GB, free: 2.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3598, allocations: 36.23 kB / 0.5331 GB, free: 2.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3599, allocations: 261.2 kB / 0.5333 GB, free: 2.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.36, allocations: 107.9 kB / 0.5334 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3601, allocations: 66.84 kB / 0.5335 GB, free: 2.598 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.3601, allocations: 356.1 kB / 0.5338 GB, free: 2.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.3604, allocations: 113.4 kB / 0.5339 GB, free: 2.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.3607, allocations: 204.1 kB / 0.5341 GB, free: 2.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.3622, allocations: 0.5285 MB / 0.5346 GB, free: 1.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3622, allocations: 0 / 0.5346 GB, free: 1.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006424/0.3629, allocations: 391.7 kB / 0.535 GB, free: 1.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3629, allocations: 9.938 kB / 0.535 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3629, allocations: 2.062 kB / 0.535 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3629, allocations: 8.188 kB / 0.535 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.3632, allocations: 74.61 kB / 0.5351 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3632, allocations: 4.281 kB / 0.5351 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.3635, allocations: 44.02 kB / 0.5351 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.3635, allocations: 13.3 kB / 0.5352 GB, free: 1.605 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.0003075/0.3638, allocations: 206.5 kB / 0.5354 GB, free: 1.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001922/0.364, allocations: 183.9 kB / 0.5355 GB, free: 1.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001008/0.365, allocations: 476.4 kB / 0.536 GB, free: 1.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.365, allocations: 0 / 0.536 GB, free: 1.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0004611/0.3655, allocations: 332 kB / 0.5363 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.3655, allocations: 6.812 kB / 0.5363 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.3655, allocations: 5.312 kB / 0.5363 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.3655, allocations: 3.875 kB / 0.5363 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.3657, allocations: 67.34 kB / 0.5364 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3657, allocations: 3.188 kB / 0.5364 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3659, allocations: 28.8 kB / 0.5364 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3659, allocations: 17.53 kB / 0.5364 GB, free: 0.8867 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.0001081/0.366, allocations: 199 kB / 0.5366 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.975e-05/0.3661, allocations: 58.23 kB / 0.5367 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.3662, allocations: 58.06 kB / 0.5367 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3662, allocations: 2.344 kB / 0.5367 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3662, allocations: 1.219 kB / 0.5367 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3662, allocations: 0 / 0.5367 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.3667, allocations: 434.7 kB / 0.5372 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3667, allocations: 1 kB / 0.5372 GB, free: 348 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.367, allocations: 52.81 kB / 0.5372 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.367, allocations: 1.219 kB / 0.5372 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.367, allocations: 11.5 kB / 0.5372 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.367, allocations: 1.125 kB / 0.5372 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.367, allocations: 0.8438 kB / 0.5372 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.3679, allocations: 0.5528 MB / 0.5378 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.368, allocations: 75.98 kB / 0.5378 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.3681, allocations: 8.047 kB / 0.5378 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.3683, allocations: 17.67 kB / 0.5379 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.3684, allocations: 14.47 kB / 0.5379 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3684, allocations: 9.375 kB / 0.5379 GB, free: 15.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003513/0.3687, allocations: 282.8 kB / 0.5381 GB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3687, allocations: 0 / 0.5381 GB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005189/0.3693, allocations: 145.6 kB / 0.5383 GB, free: 15.77 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.0001333/0.3694, allocations: 109.7 kB / 0.5384 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008567/0.3703, allocations: 403 kB / 0.5388 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3703, allocations: 0 / 0.5388 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.3705, allocations: 127.7 kB / 0.5389 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.3712, allocations: 122.6 kB / 0.539 GB, free: 15.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3728, allocations: 0.8423 MB / 0.5398 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.3733, allocations: 0.8287 MB / 0.5406 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3734, allocations: 30.69 kB / 0.5407 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3734, allocations: 0 / 0.5407 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Templates: time 0.0102/0.3836, allocations: 5.305 MB / 0.5459 GB, free: 12.43 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: 8.081601148005575] Failed to read output from testmodel.py, exit status != 0: 0.39446362294256687 0.406797216 0.051217185000000005 Calling exit ...