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.001618/0.001618, allocations: 113.1 kB / 17.15 MB, free: 5.949 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.001855/0.001855, allocations: 212 kB / 20.11 MB, free: 2.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.591/1.591, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1068/0.1068, allocations: 24.03 MB / 333.6 MB, free: 1.551 MB / 254.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.002477/0.002477, allocations: 68.89 kB / 468.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1417, allocations: 59.54 MB / 0.516 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.003255/0.1449, allocations: 1.317 MB / 0.5173 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1476, allocations: 1.463 MB / 0.5188 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.1478, allocations: 7.938 kB / 0.5188 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.1483, allocations: 87.41 kB / 0.5189 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.1487, allocations: 123.4 kB / 0.519 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.1492, allocations: 203.6 kB / 0.5192 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008162/0.1501, allocations: 0.5146 MB / 0.5197 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1503, allocations: 56.5 kB / 0.5197 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.1507, allocations: 219.3 kB / 0.5199 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005282/0.1512, allocations: 275 kB / 0.5202 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.1513, allocations: 28 kB / 0.5202 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.1514, allocations: 28 kB / 0.5202 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1516, allocations: 115.6 kB / 0.5204 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1518, allocations: 147 kB / 0.5205 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004981/0.1523, allocations: 334.4 kB / 0.5208 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1523, allocations: 4 kB / 0.5208 GB, free: 7.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1523, allocations: 0 / 0.5208 GB, free: 7.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.872e-05/0.1524, allocations: 0 / 0.5208 GB, free: 7.016 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.002663/0.155, allocations: 0.8723 MB / 0.5217 GB, free: 6.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1551, allocations: 16.56 kB / 0.5217 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.1552, allocations: 40.7 kB / 0.5217 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.1565, allocations: 498.3 kB / 0.5222 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1565, allocations: 12.7 kB / 0.5222 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.1565, allocations: 24.33 kB / 0.5222 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.1569, allocations: 216.5 kB / 0.5224 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.157, allocations: 0 / 0.5224 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.157, allocations: 16 kB / 0.5225 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.157, allocations: 4 kB / 0.5225 GB, free: 5.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.1574, allocations: 228.4 kB / 0.5227 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1588, allocations: 0.7577 MB / 0.5234 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.1595, allocations: 318.3 kB / 0.5237 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1598, allocations: 132.7 kB / 0.5238 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1598, allocations: 4 kB / 0.5239 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.1598, allocations: 38.56 kB / 0.5239 GB, free: 3.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.1598, allocations: 0 / 0.5239 GB, free: 3.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001961/0.1618, allocations: 0.7901 MB / 0.5247 GB, free: 2.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1618, allocations: 55.41 kB / 0.5247 GB, free: 2.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.163, allocations: 0.5053 MB / 0.5252 GB, free: 2.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.163, allocations: 29.7 kB / 0.5252 GB, free: 2.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1632, allocations: 172.5 kB / 0.5254 GB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.892e-05/0.1633, allocations: 103.1 kB / 0.5255 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.1634, allocations: 45.7 kB / 0.5255 GB, free: 1.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1635, allocations: 350.8 kB / 0.5259 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1637, allocations: 112.2 kB / 0.526 GB, free: 1.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.1639, allocations: 116.4 kB / 0.5261 GB, free: 1.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.1661, allocations: 0.7059 MB / 0.5268 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1661, allocations: 0 / 0.5268 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001082/0.1672, allocations: 491.6 kB / 0.5273 GB, free: 148 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1672, allocations: 10.03 kB / 0.5273 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1672, allocations: 0 / 0.5273 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004599/0.1677, allocations: 113.6 kB / 0.5274 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1679, allocations: 44 kB / 0.5274 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.1708, allocations: 3.2 MB / 0.5305 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.1714, allocations: 79.84 kB / 0.5306 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.1714, allocations: 12 kB / 0.5306 GB, free: 12.4 MB / 398.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.0002579/0.1716, allocations: 180.4 kB / 0.5308 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.1717, allocations: 39.7 kB / 0.5308 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.1718, allocations: 51.31 kB / 0.5309 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1718, allocations: 4 kB / 0.5309 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1718, allocations: 0 / 0.5309 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1719, allocations: 7.984 kB / 0.5309 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.1723, allocations: 397.1 kB / 0.5313 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1723, allocations: 0 / 0.5313 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.1725, allocations: 39.92 kB / 0.5313 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.1729, allocations: 105.6 kB / 0.5314 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1729, allocations: 11.98 kB / 0.5314 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.1757, allocations: 3.2 MB / 0.5345 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1757, allocations: 3.938 kB / 0.5346 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.1768, allocations: 0.6694 MB / 0.5352 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1769, allocations: 124.8 kB / 0.5353 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.1769, allocations: 11.98 kB / 0.5353 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.1774, allocations: 63.91 kB / 0.5354 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.1775, allocations: 19.97 kB / 0.5354 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.1775, allocations: 12 kB / 0.5354 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00106/0.1786, allocations: 402.9 kB / 0.5358 GB, free: 6.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1786, allocations: 0 / 0.5358 GB, free: 6.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.179, allocations: 68 kB / 0.5359 GB, free: 6.641 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.0001469/0.1791, allocations: 115.2 kB / 0.536 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009241/0.1801, allocations: 0.5167 MB / 0.5365 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1801, allocations: 0 / 0.5365 GB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.1806, allocations: 401.2 kB / 0.5369 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.181, allocations: 69.33 kB / 0.5369 GB, free: 5.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.1825, allocations: 0.7704 MB / 0.5377 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.1829, allocations: 0.8224 MB / 0.5385 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1831, allocations: 70.86 kB / 0.5386 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.1832, allocations: 23.44 kB / 0.5386 GB, free: 3.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1832, allocations: 0 / 0.5386 GB, free: 3.75 MB / 398.1 MB Notification: Performance of Templates: time 0.008772/0.1919, allocations: 4.317 MB / 0.5428 GB, free: 15.45 MB / 414.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.262407204136252] Failed to read output from testmodel.py, exit status != 0: 0.20125683210790157 0.212523798 0.057408457 Calling exit ...