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.001658/0.001658, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001772/0.001772, allocations: 210.4 kB / 23.01 MB, free: 4.992 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1287/0.1287, allocations: 24.04 MB / 337.2 MB, free: 11.33 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.002393/0.002393, allocations: 71.89 kB / 474.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4181, allocations: 59.58 MB / 0.5214 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002684/0.4207, allocations: 1.203 MB / 0.5226 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.4229, allocations: 1.425 MB / 0.524 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.4231, allocations: 7.406 kB / 0.524 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.4235, allocations: 95.83 kB / 0.5241 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.4239, allocations: 133 kB / 0.5242 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.4244, allocations: 226.9 kB / 0.5244 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.4252, allocations: 0.6116 MB / 0.525 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.4254, allocations: 53.09 kB / 0.5251 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.4258, allocations: 231.9 kB / 0.5253 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004083/0.4262, allocations: 257.1 kB / 0.5255 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.4263, allocations: 30.03 kB / 0.5255 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.459e-05/0.4263, allocations: 27.47 kB / 0.5256 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.4265, allocations: 137.2 kB / 0.5257 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.4266, allocations: 118.6 kB / 0.5258 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.427, allocations: 334 kB / 0.5261 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.427, allocations: 0 / 0.5261 GB, free: 7.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.427, allocations: 0.9375 kB / 0.5261 GB, free: 7.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.427, allocations: 0 / 0.5261 GB, free: 7.754 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.002223/0.4293, allocations: 0.8051 MB / 0.5269 GB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4293, allocations: 10.2 kB / 0.5269 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.054e-05/0.4294, allocations: 42.59 kB / 0.527 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.4306, allocations: 434.7 kB / 0.5274 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4307, allocations: 15.95 kB / 0.5274 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.4307, allocations: 23.7 kB / 0.5274 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.4311, allocations: 214.4 kB / 0.5276 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4311, allocations: 1.922 kB / 0.5276 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.4311, allocations: 9.438 kB / 0.5276 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.4312, allocations: 4 kB / 0.5276 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.4316, allocations: 226.9 kB / 0.5279 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.433, allocations: 0.6386 MB / 0.5285 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.4337, allocations: 319.6 kB / 0.5288 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.4339, allocations: 128.1 kB / 0.5289 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.434, allocations: 2.312 kB / 0.5289 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.434, allocations: 42.47 kB / 0.529 GB, free: 6.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.434, allocations: 0 / 0.529 GB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001934/0.4359, allocations: 0.6332 MB / 0.5296 GB, free: 6.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.4359, allocations: 55.75 kB / 0.5296 GB, free: 6.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.4372, allocations: 0.5057 MB / 0.5301 GB, free: 5.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4372, allocations: 30.89 kB / 0.5301 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4373, allocations: 172 kB / 0.5303 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/0.4374, allocations: 111.6 kB / 0.5304 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.4375, allocations: 51.19 kB / 0.5305 GB, free: 5.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.4376, allocations: 351.4 kB / 0.5308 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.4378, allocations: 108.8 kB / 0.5309 GB, free: 5.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.438, allocations: 111.6 kB / 0.531 GB, free: 5.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.4403, allocations: 0.7136 MB / 0.5317 GB, free: 4.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4403, allocations: 3.938 kB / 0.5317 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009243/0.4413, allocations: 490.8 kB / 0.5322 GB, free: 4.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4413, allocations: 5.312 kB / 0.5322 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4413, allocations: 1.609 kB / 0.5322 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.4417, allocations: 107.6 kB / 0.5323 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4418, allocations: 44.45 kB / 0.5323 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.4441, allocations: 2.93 MB / 0.5352 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.4446, allocations: 81.28 kB / 0.5353 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.4447, allocations: 9.719 kB / 0.5353 GB, free: 2.047 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.000262/0.4449, allocations: 185.3 kB / 0.5355 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.445, allocations: 35.17 kB / 0.5355 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.954e-05/0.4451, allocations: 55.14 kB / 0.5355 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4451, allocations: 4.281 kB / 0.5355 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.4451, allocations: 0.6094 kB / 0.5355 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.4451, allocations: 2.719 kB / 0.5356 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.4455, allocations: 282.1 kB / 0.5358 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.4455, allocations: 8.688 kB / 0.5358 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.4457, allocations: 36.86 kB / 0.5359 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.446, allocations: 104.2 kB / 0.536 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.4461, allocations: 11.89 kB / 0.536 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.4485, allocations: 2.938 MB / 0.5388 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4485, allocations: 0 / 0.5388 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.4501, allocations: 0.6621 MB / 0.5395 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4502, allocations: 50.89 kB / 0.5395 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.4503, allocations: 9.094 kB / 0.5395 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.4508, allocations: 71.53 kB / 0.5396 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.4509, allocations: 22.02 kB / 0.5396 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.4509, allocations: 12.66 kB / 0.5396 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001249/0.4521, allocations: 405.8 kB / 0.54 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4521, allocations: 0 / 0.54 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.4526, allocations: 72.8 kB / 0.5401 GB, free: 14.41 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.0001982/0.4528, allocations: 113.1 kB / 0.5402 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.4539, allocations: 0.5289 MB / 0.5407 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4539, allocations: 0 / 0.5407 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.4545, allocations: 386.9 kB / 0.5411 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.455, allocations: 64.48 kB / 0.5412 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.4567, allocations: 0.7894 MB / 0.5419 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.457, allocations: 215.8 kB / 0.5421 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.4572, allocations: 69.14 kB / 0.5422 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.4573, allocations: 22.84 kB / 0.5422 GB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4573, allocations: 1 kB / 0.5422 GB, free: 13.17 MB / 398.1 MB Notification: Performance of Templates: time 0.01128/0.4686, allocations: 4.749 MB / 0.5469 GB, free: 11.06 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: 5.466563180088997] Failed to read output from testmodel.py, exit status != 0: 0.47880747355520725 0.49951656499999997 0.06779428700000001 Calling exit ...