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.001353/0.001353, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.001504/0.001504, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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: 17.8 MB / 277.6 MB, free: 15.34 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.002295/0.002295, allocations: 74.39 kB / 414.7 MB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1151, allocations: 59.55 MB / 474.2 MB, free: 8.816 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.003096/0.1182, allocations: 1.22 MB / 475.4 MB, free: 7.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.1205, allocations: 1.432 MB / 476.9 MB, free: 6.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1206, allocations: 7.938 kB / 476.9 MB, free: 6.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004171/0.1211, allocations: 95.39 kB / 477 MB, free: 6.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.1214, allocations: 127.3 kB / 477.1 MB, free: 5.922 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.1219, allocations: 231.6 kB / 477.3 MB, free: 5.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008991/0.1228, allocations: 0.6158 MB / 477.9 MB, free: 5.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.123, allocations: 44.92 kB / 478 MB, free: 5.027 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.1233, allocations: 239.2 kB / 478.2 MB, free: 4.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.1237, allocations: 255 kB / 478.5 MB, free: 4.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.767e-05/0.1238, allocations: 28 kB / 478.5 MB, free: 4.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.136e-05/0.1238, allocations: 24 kB / 478.5 MB, free: 4.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.124, allocations: 131.5 kB / 478.6 MB, free: 4.363 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.1242, allocations: 115.3 kB / 478.7 MB, free: 4.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.1246, allocations: 342.4 kB / 479.1 MB, free: 3.914 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1246, allocations: 3.984 kB / 479.1 MB, free: 3.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1246, allocations: 4 kB / 479.1 MB, free: 3.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1246, allocations: 0 / 479.1 MB, free: 3.906 MB / 446.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.002521/0.1271, allocations: 0.797 MB / 479.9 MB, free: 3.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.1272, allocations: 12.92 kB / 479.9 MB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1273, allocations: 44.66 kB / 479.9 MB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.1286, allocations: 432.5 kB / 480.4 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.1287, allocations: 12.7 kB / 480.4 MB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.1287, allocations: 24.33 kB / 480.4 MB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.1291, allocations: 212.4 kB / 480.6 MB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1291, allocations: 0 / 480.6 MB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.1292, allocations: 8 kB / 480.6 MB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1292, allocations: 8 kB / 480.6 MB, free: 2.312 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1296, allocations: 232.4 kB / 480.9 MB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.131, allocations: 0.6405 MB / 481.5 MB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007275/0.1317, allocations: 314.3 kB / 481.8 MB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.132, allocations: 128.8 kB / 481.9 MB, free: 0.9688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.132, allocations: 4 kB / 481.9 MB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.132, allocations: 42.44 kB / 482 MB, free: 0.9141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.132, allocations: 0 / 482 MB, free: 0.9141 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.00197/0.134, allocations: 0.6357 MB / 482.6 MB, free: 272 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.134, allocations: 51.41 kB / 482.7 MB, free: 208 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2667/0.4007, allocations: 0.5013 MB / 483.2 MB, free: 52.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.4008, allocations: 28.2 kB / 483.2 MB, free: 52.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.4009, allocations: 177.3 kB / 483.4 MB, free: 52.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.19e-05/0.401, allocations: 103.8 kB / 483.5 MB, free: 52.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.4011, allocations: 49.92 kB / 483.5 MB, free: 52.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.473e-05/0.4011, allocations: 352.4 kB / 483.9 MB, free: 52.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.4013, allocations: 108.5 kB / 484 MB, free: 52.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.4015, allocations: 117.3 kB / 484.1 MB, free: 52.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.4034, allocations: 0.7169 MB / 484.8 MB, free: 52.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.4034, allocations: 3.906 kB / 484.8 MB, free: 52.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007728/0.4042, allocations: 478.2 kB / 485.3 MB, free: 52.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4042, allocations: 5.938 kB / 485.3 MB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4042, allocations: 0 / 485.3 MB, free: 52.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.4046, allocations: 114.1 kB / 485.4 MB, free: 52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.4047, allocations: 37.2 kB / 485.4 MB, free: 52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/0.4066, allocations: 2.941 MB / 488.4 MB, free: 49.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.4071, allocations: 83.17 kB / 488.4 MB, free: 49.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.4071, allocations: 6.156 kB / 488.4 MB, free: 49.58 MB / 446.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.0001735/0.4073, allocations: 180.9 kB / 488.6 MB, free: 49.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.4073, allocations: 38.39 kB / 488.7 MB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.4074, allocations: 50.86 kB / 488.7 MB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4074, allocations: 6.625 kB / 488.7 MB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4074, allocations: 0 / 488.7 MB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4074, allocations: 3.219 kB / 488.7 MB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.4077, allocations: 290.2 kB / 489 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4077, allocations: 3.125 kB / 489 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.408, allocations: 35.2 kB / 489 MB, free: 49.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.4082, allocations: 105.7 kB / 489.1 MB, free: 49.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.4083, allocations: 10.36 kB / 489.1 MB, free: 49.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.41, allocations: 2.941 MB / 492.1 MB, free: 46.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.41, allocations: 0.875 kB / 492.1 MB, free: 46.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009287/0.4109, allocations: 0.6626 MB / 492.8 MB, free: 46.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.411, allocations: 50.97 kB / 492.8 MB, free: 46.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.411, allocations: 7.25 kB / 492.8 MB, free: 46.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.4115, allocations: 67.36 kB / 492.9 MB, free: 46.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.4116, allocations: 26.8 kB / 492.9 MB, free: 46.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.4116, allocations: 9.469 kB / 492.9 MB, free: 46.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009184/0.4125, allocations: 401.3 kB / 493.3 MB, free: 46.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4125, allocations: 0 / 493.3 MB, free: 46.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.4129, allocations: 76.55 kB / 493.4 MB, free: 45.99 MB / 446.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 9.447e-05/0.413, allocations: 106.6 kB / 493.5 MB, free: 45.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007184/0.4137, allocations: 0.5217 MB / 494 MB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4137, allocations: 0 / 494 MB, free: 45.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.4141, allocations: 394.2 kB / 494.4 MB, free: 45.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.4145, allocations: 62.55 kB / 494.4 MB, free: 45.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.4157, allocations: 0.7908 MB / 495.2 MB, free: 44.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.4159, allocations: 214.4 kB / 495.4 MB, free: 44.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.416, allocations: 71.91 kB / 495.5 MB, free: 44.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.4161, allocations: 28.84 kB / 495.5 MB, free: 44.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4161, allocations: 0 / 495.5 MB, free: 44.77 MB / 446.1 MB Notification: Performance of Templates: time 0.007615/0.4237, allocations: 4.52 MB / 0.4883 GB, free: 44.33 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.667637669015676] Failed to read output from testmodel.py, exit status != 0: 0.4336844760691747 0.45078364699999995 0.32256821199999997 Calling exit ...