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.00194/0.00194, allocations: 110.5 kB / 19.69 MB, free: 2.242 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.00255/0.00255, allocations: 216.2 kB / 23.01 MB, free: 5.035 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 / 256.8 MB, free: 8.023 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.1107/0.1107, allocations: 24.12 MB / 337.3 MB, free: 11.48 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.002668/0.002668, allocations: 69.47 kB / 474.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3418, allocations: 59.6 MB / 0.5216 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002511/0.3443, allocations: 1.308 MB / 0.5229 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.3469, allocations: 1.461 MB / 0.5243 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.347, allocations: 7.562 kB / 0.5244 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.3475, allocations: 96.25 kB / 0.5244 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.3478, allocations: 135.4 kB / 0.5246 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.3483, allocations: 238.7 kB / 0.5248 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007692/0.349, allocations: 0.6228 MB / 0.5254 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3492, allocations: 56.47 kB / 0.5255 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.3495, allocations: 237.8 kB / 0.5257 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.3499, allocations: 266.7 kB / 0.5259 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.3499, allocations: 29.75 kB / 0.526 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.35, allocations: 27.81 kB / 0.526 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3502, allocations: 128.1 kB / 0.5261 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3503, allocations: 146.3 kB / 0.5263 GB, free: 7.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.3507, allocations: 334.5 kB / 0.5266 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3508, allocations: 1.5 kB / 0.5266 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3508, allocations: 0 / 0.5266 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3508, allocations: 0 / 0.5266 GB, free: 7.543 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.002305/0.3531, allocations: 0.8014 MB / 0.5274 GB, free: 7.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3531, allocations: 9.922 kB / 0.5274 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.3532, allocations: 39.05 kB / 0.5274 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.3544, allocations: 441.7 kB / 0.5278 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3544, allocations: 11.73 kB / 0.5278 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.3545, allocations: 31.61 kB / 0.5279 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.3548, allocations: 215.3 kB / 0.5281 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3549, allocations: 0.6094 kB / 0.5281 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3549, allocations: 6.156 kB / 0.5281 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3549, allocations: 3.5 kB / 0.5281 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.3553, allocations: 228.8 kB / 0.5283 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3566, allocations: 0.7287 MB / 0.529 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.3573, allocations: 316.5 kB / 0.5293 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.3575, allocations: 129.7 kB / 0.5294 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.3575, allocations: 2.375 kB / 0.5294 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3575, allocations: 32.81 kB / 0.5295 GB, free: 6.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3575, allocations: 0 / 0.5295 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001832/0.3594, allocations: 0.6384 MB / 0.5301 GB, free: 5.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.3594, allocations: 53.86 kB / 0.5302 GB, free: 5.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.3605, allocations: 0.5112 MB / 0.5307 GB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.3605, allocations: 30.77 kB / 0.5307 GB, free: 5.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.3606, allocations: 172.5 kB / 0.5308 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3607, allocations: 107.4 kB / 0.531 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.3608, allocations: 50.77 kB / 0.531 GB, free: 5.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.3608, allocations: 348.8 kB / 0.5313 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.361, allocations: 107.3 kB / 0.5314 GB, free: 4.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3612, allocations: 118.8 kB / 0.5315 GB, free: 4.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.3636, allocations: 0.7162 MB / 0.5322 GB, free: 4.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3636, allocations: 1.125 kB / 0.5322 GB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008773/0.3645, allocations: 486 kB / 0.5327 GB, free: 4.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3645, allocations: 8.891 kB / 0.5327 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3645, allocations: 0 / 0.5327 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.3649, allocations: 108.1 kB / 0.5328 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.3651, allocations: 43.83 kB / 0.5329 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.3672, allocations: 2.998 MB / 0.5358 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.3677, allocations: 77.2 kB / 0.5359 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3677, allocations: 6.297 kB / 0.5359 GB, free: 1.715 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.0002339/0.368, allocations: 192.9 kB / 0.5361 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.368, allocations: 36.12 kB / 0.5361 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3681, allocations: 55.61 kB / 0.5361 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3681, allocations: 5.969 kB / 0.5361 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.3681, allocations: 6.672 kB / 0.5362 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3681, allocations: 1.359 kB / 0.5362 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.3686, allocations: 367.5 kB / 0.5365 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3686, allocations: 0 / 0.5365 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.3688, allocations: 37.02 kB / 0.5365 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003114/0.3691, allocations: 107.9 kB / 0.5366 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3692, allocations: 8.969 kB / 0.5367 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002613/0.3718, allocations: 2.999 MB / 0.5396 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3718, allocations: 0 / 0.5396 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.373, allocations: 0.6552 MB / 0.5402 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3731, allocations: 47.75 kB / 0.5403 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.3732, allocations: 8.312 kB / 0.5403 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/0.3737, allocations: 71.69 kB / 0.5403 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.3738, allocations: 22.48 kB / 0.5404 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.3738, allocations: 4.844 kB / 0.5404 GB, free: 14.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.3749, allocations: 408.8 kB / 0.5408 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3749, allocations: 0 / 0.5408 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00042/0.3754, allocations: 71.95 kB / 0.5408 GB, free: 13.95 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.0001468/0.3755, allocations: 107.7 kB / 0.5409 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3765, allocations: 0.524 MB / 0.5414 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3765, allocations: 1.094 kB / 0.5414 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.3771, allocations: 387.5 kB / 0.5418 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3776, allocations: 66.17 kB / 0.5419 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.3792, allocations: 0.8378 MB / 0.5427 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.3798, allocations: 0.8217 MB / 0.5435 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.3799, allocations: 24.66 kB / 0.5435 GB, free: 12.06 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3799, allocations: 0 / 0.5435 GB, free: 12.06 MB / 398.1 MB Notification: Performance of Templates: time 0.01068/0.3905, allocations: 6.644 MB / 0.55 GB, free: 8.77 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.589793144026771] Failed to read output from testmodel.py, exit status != 0: 0.40173992491327226 0.416091939 0.062064150000000005 Calling exit ...