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.0008193/0.0008193, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 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.0008877/0.0008877, allocations: 165.2 kB / 23.98 MB, free: 0.582 MB / 18.57 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 0.8357/0.8357, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.05925/0.05925, allocations: 18.13 MB / 278.8 MB, free: 11.54 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.494e-05, allocations: 3.344 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001773/0.001798, allocations: 1.213 MB / 417.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.003232, allocations: 1.425 MB / 419 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.003348, allocations: 7.875 kB / 419 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.003699, allocations: 98.88 kB / 419.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.003913, allocations: 128.8 kB / 419.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005064/0.00442, allocations: 321.8 kB / 419.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.004764, allocations: 366.4 kB / 419.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004904, allocations: 54.7 kB / 419.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.00508, allocations: 160.1 kB / 420.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.005347, allocations: 218.4 kB / 420.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.005407, allocations: 26.72 kB / 420.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.592e-05/0.005443, allocations: 26.59 kB / 420.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.005562, allocations: 131.7 kB / 420.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.005643, allocations: 91.81 kB / 420.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.005951, allocations: 326.2 kB / 420.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.005954, allocations: 1.094 kB / 420.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005956, allocations: 0 / 420.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.005963, allocations: 0 / 420.9 MB, free: 9.961 MB / 330.7 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.001361/0.007324, allocations: 0.8045 MB / 421.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.007363, allocations: 10.66 kB / 421.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.007428, allocations: 39.33 kB / 421.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/0.008116, allocations: 433 kB / 422.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.008137, allocations: 21.06 kB / 422.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.008172, allocations: 16.19 kB / 422.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.008459, allocations: 211 kB / 422.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.008473, allocations: 0.9375 kB / 422.4 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.00849, allocations: 17.53 kB / 422.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.008497, allocations: 8.125 kB / 422.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.008798, allocations: 227.3 kB / 422.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.009611, allocations: 0.6392 MB / 423.3 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.01011, allocations: 312.9 kB / 423.6 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.01026, allocations: 132.8 kB / 423.7 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.01028, allocations: 7.25 kB / 423.7 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.302e-05/0.01029, allocations: 33.69 kB / 423.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.0103, allocations: 0 / 423.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001172/0.01147, allocations: 0.6297 MB / 424.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.01149, allocations: 58.45 kB / 424.4 MB, free: 8.254 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.0122, allocations: 0.5022 MB / 424.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01222, allocations: 31.36 kB / 425 MB, free: 8.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.01229, allocations: 176.4 kB / 425.1 MB, free: 7.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.01235, allocations: 100.8 kB / 425.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.01241, allocations: 49.95 kB / 425.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.01247, allocations: 352.5 kB / 425.6 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.01261, allocations: 111.5 kB / 425.7 MB, free: 7.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001406/0.01275, allocations: 116.2 kB / 425.9 MB, free: 7.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/0.01407, allocations: 0.7186 MB / 426.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01407, allocations: 0 / 426.6 MB, free: 7.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005769/0.01465, allocations: 479.4 kB / 427 MB, free: 6.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01467, allocations: 5.438 kB / 427.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.01468, allocations: 0.75 kB / 427.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002501/0.01493, allocations: 106.5 kB / 427.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.01504, allocations: 41.34 kB / 427.2 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.01657, allocations: 2.943 MB / 430.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.01685, allocations: 86.36 kB / 430.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01686, allocations: 5.125 kB / 430.2 MB, free: 4.27 MB / 330.7 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.0001836/0.01704, allocations: 178.3 kB / 430.4 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.01708, allocations: 39.69 kB / 430.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.01714, allocations: 51.72 kB / 430.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01714, allocations: 2.188 kB / 430.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.01715, allocations: 3.297 kB / 430.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01715, allocations: 5.531 kB / 430.5 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.01742, allocations: 285.5 kB / 430.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01742, allocations: 1.156 kB / 430.8 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.01755, allocations: 33.22 kB / 430.8 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.01775, allocations: 107.2 kB / 430.9 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.01777, allocations: 13.45 kB / 430.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.01907, allocations: 2.938 MB / 433.9 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01907, allocations: 8.062 kB / 433.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.01984, allocations: 0.6549 MB / 434.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.01989, allocations: 48.66 kB / 434.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01992, allocations: 8.797 kB / 434.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.02016, allocations: 71.58 kB / 434.7 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.02023, allocations: 22.31 kB / 434.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.02024, allocations: 8.344 kB / 434.7 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005657/0.0208, allocations: 406.7 kB / 435.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0208, allocations: 0 / 435.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.02112, allocations: 76.11 kB / 435.2 MB, free: 0.6406 MB / 330.7 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.0001062/0.02122, allocations: 111.1 kB / 435.3 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006164/0.02184, allocations: 0.523 MB / 435.8 MB, free: 228 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02184, allocations: 3.938 kB / 435.8 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.02215, allocations: 394.4 kB / 436.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.02248, allocations: 68.78 kB / 436.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.02358, allocations: 0.7862 MB / 437 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.02377, allocations: 215.6 kB / 437.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.02385, allocations: 30.22 kB / 437.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02385, allocations: 0 / 437.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of Templates: time 0.00698/0.03083, allocations: 6.858 MB / 444.1 MB, free: 11.72 MB / 346.7 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: 4.897263647988439] Failed to read output from testmodel.py, exit status != 0: 0.03658003360033035 0.044827715000000004 0.037220854000000005 Calling exit ...