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.0007128/0.0007128, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.0007716/0.0007716, allocations: 166 kB / 24.09 MB, free: 428 kB / 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.8713/0.8713, allocations: 177.1 MB / 204.4 MB, free: 5.723 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.05961/0.05961, allocations: 18.13 MB / 279 MB, free: 11.5 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.633e-06/1.633e-06, allocations: 0 / 416.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.212e-05, allocations: 3.125 kB / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.001701/0.001733, allocations: 1.211 MB / 417.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.003175, allocations: 1.43 MB / 419.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.003304, allocations: 2.781 kB / 419.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.003617, allocations: 96.23 kB / 419.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.00384, allocations: 132.6 kB / 419.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.004359, allocations: 323.8 kB / 419.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.004758, allocations: 372 kB / 420.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.004885, allocations: 45.48 kB / 420.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.005106, allocations: 165.7 kB / 420.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.005387, allocations: 210.5 kB / 420.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.005446, allocations: 30.94 kB / 420.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.1e-05/0.005487, allocations: 26.75 kB / 420.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.005611, allocations: 130.8 kB / 420.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.005698, allocations: 88 kB / 420.8 MB, free: 9.906 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.006017, allocations: 338.6 kB / 421.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00602, allocations: 0.5156 kB / 421.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006021, allocations: 0 / 421.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.00603, allocations: 0 / 421.1 MB, free: 9.773 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.001323/0.007354, allocations: 0.8048 MB / 421.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.007389, allocations: 10.55 kB / 421.9 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.007466, allocations: 38.45 kB / 422 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/0.00816, allocations: 437.9 kB / 422.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.008176, allocations: 11.08 kB / 422.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.008212, allocations: 24.62 kB / 422.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.008496, allocations: 208.4 kB / 422.6 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.008508, allocations: 192 / 422.6 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.008524, allocations: 6.078 kB / 422.6 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.008531, allocations: 12.59 kB / 422.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.008824, allocations: 231.3 kB / 422.9 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.009625, allocations: 0.6383 MB / 423.5 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.0101, allocations: 311.9 kB / 423.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.01025, allocations: 128.2 kB / 423.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.01027, allocations: 3.438 kB / 423.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.01028, allocations: 45.42 kB / 424 MB, free: 8.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.352e-06/0.01028, allocations: 0 / 424 MB, free: 8.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001075/0.01136, allocations: 0.6304 MB / 424.6 MB, free: 8.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.01138, allocations: 54.22 kB / 424.7 MB, free: 8.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.01204, allocations: 0.5105 MB / 425.2 MB, free: 7.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.01206, allocations: 26.86 kB / 425.2 MB, free: 7.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.01212, allocations: 180.7 kB / 425.4 MB, free: 7.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.01218, allocations: 97.3 kB / 425.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.01223, allocations: 49.42 kB / 425.5 MB, free: 7.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.01228, allocations: 353.9 kB / 425.9 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.01241, allocations: 111.5 kB / 426 MB, free: 7.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01255, allocations: 109.3 kB / 426.1 MB, free: 7.188 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.01386, allocations: 0.7216 MB / 426.8 MB, free: 7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01386, allocations: 0 / 426.8 MB, free: 7 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005708/0.01443, allocations: 479.4 kB / 427.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.01445, allocations: 5.438 kB / 427.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01445, allocations: 2.484 kB / 427.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.01469, allocations: 106.6 kB / 427.4 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01479, allocations: 41.69 kB / 427.4 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.01619, allocations: 2.933 MB / 430.4 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.01645, allocations: 82.81 kB / 430.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01646, allocations: 8.562 kB / 430.5 MB, free: 4.102 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.0001665/0.01663, allocations: 177.4 kB / 430.6 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.01667, allocations: 45.16 kB / 430.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.01672, allocations: 55.02 kB / 430.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01672, allocations: 3.328 kB / 430.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.01673, allocations: 1.406 kB / 430.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.01674, allocations: 1.406 kB / 430.7 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.01701, allocations: 291 kB / 431 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01701, allocations: 0 / 431 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01712, allocations: 32.97 kB / 431.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.01731, allocations: 112.4 kB / 431.2 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.01733, allocations: 11.62 kB / 431.2 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.01858, allocations: 2.931 MB / 434.1 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01858, allocations: 3.938 kB / 434.1 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.01928, allocations: 0.6614 MB / 434.8 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.01933, allocations: 46.89 kB / 434.8 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.01935, allocations: 10.17 kB / 434.8 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.01961, allocations: 70.91 kB / 434.9 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.01968, allocations: 23.44 kB / 434.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01969, allocations: 4.781 kB / 434.9 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005312/0.02023, allocations: 405.3 kB / 435.3 MB, free: 500 kB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02023, allocations: 0 / 435.3 MB, free: 500 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.02053, allocations: 83.98 kB / 435.4 MB, free: 476 kB / 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 9.381e-05/0.02062, allocations: 109 kB / 435.5 MB, free: 372 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.0212, allocations: 0.5175 MB / 436 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0212, allocations: 0 / 436 MB, free: 56 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.02153, allocations: 396.5 kB / 436.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.02187, allocations: 77.41 kB / 436.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.02291, allocations: 0.7495 MB / 437.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.0231, allocations: 215.3 kB / 437.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001309/0.02324, allocations: 71.28 kB / 437.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.02329, allocations: 23.84 kB / 437.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02329, allocations: 0 / 437.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of Templates: time 0.006922/0.03022, allocations: 4.524 MB / 442.1 MB, free: 12.96 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Exploiting_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.7694746209308505] Failed to read output from testmodel.py, exit status != 0: 0.03581811860203743 0.044719141000000004 0.036359425 Calling exit ...