Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.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.001385/0.001385, 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.001672/0.001672, allocations: 215.9 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1094/0.1094, allocations: 24.04 MB / 338 MB, free: 11.43 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.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") [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.002176/0.002176, allocations: 75.89 kB / 475.1 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2983, allocations: 59.57 MB / 0.5221 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002173/0.3005, allocations: 1.212 MB / 0.5233 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3022, allocations: 1.424 MB / 0.5247 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.3023, allocations: 9.375 kB / 0.5247 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.3027, allocations: 94.55 kB / 0.5248 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.303, allocations: 132.6 kB / 0.5249 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.3035, allocations: 228.3 kB / 0.5251 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006836/0.3041, allocations: 0.614 MB / 0.5257 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3043, allocations: 45.31 kB / 0.5258 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/0.3046, allocations: 236.5 kB / 0.526 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.3049, allocations: 260.4 kB / 0.5263 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.194e-05/0.305, allocations: 27 kB / 0.5263 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.193e-05/0.3051, allocations: 27.91 kB / 0.5263 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.3052, allocations: 135 kB / 0.5264 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3053, allocations: 119.6 kB / 0.5266 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.3056, allocations: 333.9 kB / 0.5269 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3057, allocations: 1.062 kB / 0.5269 GB, free: 7.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3057, allocations: 0 / 0.5269 GB, free: 7.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3057, allocations: 0 / 0.5269 GB, free: 7.652 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002179/0.3078, allocations: 0.8046 MB / 0.5277 GB, free: 7.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3079, allocations: 9.797 kB / 0.5277 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.308, allocations: 43.44 kB / 0.5277 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.3092, allocations: 435 kB / 0.5281 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3092, allocations: 15.98 kB / 0.5281 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.3093, allocations: 19.97 kB / 0.5282 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/0.3096, allocations: 214.1 kB / 0.5284 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3097, allocations: 5.75 kB / 0.5284 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3097, allocations: 13.05 kB / 0.5284 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3097, allocations: 4.281 kB / 0.5284 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004237/0.3101, allocations: 226.3 kB / 0.5286 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.3114, allocations: 0.6404 MB / 0.5292 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000649/0.312, allocations: 314.1 kB / 0.5295 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.3122, allocations: 128.6 kB / 0.5297 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3122, allocations: 3.125 kB / 0.5297 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.3123, allocations: 33.17 kB / 0.5297 GB, free: 6.223 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.3123, allocations: 0 / 0.5297 GB, free: 6.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001827/0.3141, allocations: 0.6418 MB / 0.5303 GB, free: 6.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.3141, allocations: 54.66 kB / 0.5304 GB, free: 5.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3153, allocations: 0.5029 MB / 0.5309 GB, free: 5.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3153, allocations: 30.83 kB / 0.5309 GB, free: 5.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3154, allocations: 175.8 kB / 0.5311 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.557e-05/0.3155, allocations: 107.3 kB / 0.5312 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.3155, allocations: 52.23 kB / 0.5312 GB, free: 5.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.3156, allocations: 353.1 kB / 0.5315 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.3158, allocations: 108.3 kB / 0.5316 GB, free: 5.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.316, allocations: 113.4 kB / 0.5318 GB, free: 5.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.3182, allocations: 0.7129 MB / 0.5324 GB, free: 4.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3182, allocations: 1.406 kB / 0.5325 GB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008675/0.3191, allocations: 482.3 kB / 0.5329 GB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3191, allocations: 5.594 kB / 0.5329 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3191, allocations: 8.641 kB / 0.5329 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.3195, allocations: 108 kB / 0.533 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3197, allocations: 44.69 kB / 0.5331 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.3217, allocations: 2.933 MB / 0.5359 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.3223, allocations: 81.03 kB / 0.536 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3223, allocations: 5.781 kB / 0.536 GB, free: 1.949 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: Cfb_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cfb_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cff_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process_2.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002119/0.3225, allocations: 190.1 kB / 0.5362 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.3226, allocations: 36.47 kB / 0.5362 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/0.3227, allocations: 54.44 kB / 0.5363 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3227, allocations: 3.938 kB / 0.5363 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3227, allocations: 5.062 kB / 0.5363 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.3227, allocations: 1.219 kB / 0.5363 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3231, allocations: 283.2 kB / 0.5366 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3231, allocations: 3.938 kB / 0.5366 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.3233, allocations: 38.16 kB / 0.5366 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003046/0.3236, allocations: 102 kB / 0.5367 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3236, allocations: 10.31 kB / 0.5367 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.326, allocations: 2.941 MB / 0.5396 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.326, allocations: 0 / 0.5396 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3273, allocations: 0.6654 MB / 0.5402 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3274, allocations: 47.58 kB / 0.5403 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.3274, allocations: 8.969 kB / 0.5403 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.328, allocations: 68.02 kB / 0.5404 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.3281, allocations: 21.77 kB / 0.5404 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.3281, allocations: 13.73 kB / 0.5404 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001114/0.3292, allocations: 405.3 kB / 0.5408 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3292, allocations: 0 / 0.5408 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004148/0.3296, allocations: 71.33 kB / 0.5408 GB, free: 14.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process_1.x_scaled[1],Process_1.x_scaled[2],Process_2.x_scaled[1],Process_2.x_scaled[2],Cff_2.x_scaled[1],Cfb_1.x_scaled[1],Cfb_2.x_scaled[1]) * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.3298, allocations: 105.1 kB / 0.5409 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009926/0.3307, allocations: 0.5286 MB / 0.5415 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3307, allocations: 0 / 0.5415 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.3313, allocations: 387.2 kB / 0.5418 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.3318, allocations: 65.81 kB / 0.5419 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.3334, allocations: 0.8375 MB / 0.5427 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.3337, allocations: 217.3 kB / 0.5429 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3338, allocations: 23.5 kB / 0.5429 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3338, allocations: 3.938 kB / 0.5429 GB, free: 13.03 MB / 398.1 MB Notification: Performance of Templates: time 0.01008/0.3439, allocations: 6.755 MB / 0.5495 GB, free: 9.781 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.Exploiting_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.134661593008786] Failed to read output from testmodel.py, exit status != 0: 0.35273262299597263 0.367096574 0.05812885500000001 Calling exit ...