Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.0009697/0.0009697, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001032/0.001032, allocations: 177 kB / 24.28 MB, free: 284 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.9953/0.9953, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.07002/0.07002, allocations: 18.15 MB / 279.2 MB, free: 11.36 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.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 357.2 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.008e-05, allocations: 2.312 kB / 357.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002049/0.002079, allocations: 0.9755 MB / 358.2 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003475, allocations: 1.252 MB / 359.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.003569, allocations: 7.938 kB / 359.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.003878, allocations: 39.7 kB / 359.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.004012, allocations: 39.78 kB / 359.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.00423, allocations: 107.7 kB / 359.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.004398, allocations: 143.6 kB / 359.8 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.004509, allocations: 25.61 kB / 359.8 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.004599, allocations: 55.83 kB / 359.9 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.004734, allocations: 91.73 kB / 360 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.004766, allocations: 12 kB / 360 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.004783, allocations: 12 kB / 360 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.004851, allocations: 55.81 kB / 360 MB, free: 5.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.004897, allocations: 27.92 kB / 360.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.005038, allocations: 107.5 kB / 360.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.00504, allocations: 0 / 360.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005042, allocations: 0 / 360.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.005046, allocations: 0 / 360.2 MB, free: 5.242 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006263/0.005673, allocations: 0.5115 MB / 360.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.005712, allocations: 8.922 kB / 360.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.005768, allocations: 24.84 kB / 360.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.006051, allocations: 212.9 kB / 360.9 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.00607, allocations: 4.375 kB / 360.9 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.006094, allocations: 8.375 kB / 360.9 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.006234, allocations: 81.02 kB / 361 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.006245, allocations: 192 / 361 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.006256, allocations: 4.375 kB / 361 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.006266, allocations: 7.938 kB / 361 MB, free: 4.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.392e-05/0.00636, allocations: 35.97 kB / 361.1 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.006811, allocations: 395.5 kB / 361.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.00704, allocations: 107 kB / 361.6 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.007092, allocations: 31.89 kB / 361.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.007104, allocations: 7.938 kB / 361.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.007127, allocations: 37.33 kB / 361.6 MB, free: 3.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.007128, allocations: 0 / 361.6 MB, free: 3.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005375/0.007665, allocations: 209.1 kB / 361.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.007693, allocations: 55.41 kB / 361.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.007834, allocations: 237.8 kB / 362.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.007847, allocations: 29.7 kB / 362.2 MB, free: 3.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.007909, allocations: 166.8 kB / 362.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.007947, allocations: 51.58 kB / 362.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.007991, allocations: 35.36 kB / 362.4 MB, free: 2.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.008106, allocations: 0.4962 MB / 362.9 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.008145, allocations: 19.92 kB / 362.9 MB, free: 2.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.008173, allocations: 12 kB / 362.9 MB, free: 2.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.008298, allocations: 86.97 kB / 363 MB, free: 2.203 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.008301, allocations: 0 / 363 MB, free: 2.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002126/0.008513, allocations: 145.2 kB / 363.2 MB, free: 2.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008528, allocations: 7.938 kB / 363.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008533, allocations: 4 kB / 363.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.00872, allocations: 35.66 kB / 363.2 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.008778, allocations: 23.92 kB / 363.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.0101, allocations: 1.846 MB / 365.1 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.67e-05/0.01019, allocations: 16.03 kB / 365.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-06/0.0102, allocations: 4 kB / 365.1 MB, free: 15.98 MB / 298.7 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001554/0.01035, allocations: 176.3 kB / 365.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.01038, allocations: 19.94 kB / 365.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.01041, allocations: 25.47 kB / 365.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01041, allocations: 0 / 365.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.01042, allocations: 7.984 kB / 365.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01042, allocations: 0 / 365.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01056, allocations: 164.5 kB / 365.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01056, allocations: 0 / 365.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.01063, allocations: 16 kB / 365.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.01075, allocations: 43.64 kB / 365.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01076, allocations: 7.938 kB / 365.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000817/0.01158, allocations: 1.827 MB / 367.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.01158, allocations: 11.81 kB / 367.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.01185, allocations: 307.5 kB / 367.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.01188, allocations: 31.77 kB / 367.7 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.01189, allocations: 8 kB / 367.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.01196, allocations: 11.98 kB / 367.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.01202, allocations: 15.92 kB / 367.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01202, allocations: 3.984 kB / 367.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.831e-05/0.01211, allocations: 172.2 kB / 367.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01211, allocations: 0 / 367.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.0123, allocations: 35.95 kB / 368 MB, free: 12.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.625e-05/0.01239, allocations: 99.25 kB / 368 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.01271, allocations: 257.3 kB / 368.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01272, allocations: 0 / 368.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.01285, allocations: 225.5 kB / 368.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01308, allocations: 31.44 kB / 368.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004466/0.01352, allocations: 318.5 kB / 368.9 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.01357, allocations: 79.83 kB / 368.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.889e-05/0.01362, allocations: 25.11 kB / 369 MB, free: 11.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.01366, allocations: 12.5 kB / 369 MB, free: 11.8 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01366, allocations: 0 / 369 MB, free: 11.8 MB / 298.7 MB Notification: Performance of Templates: time 0.003877/0.01754, allocations: 2.107 MB / 371.1 MB, free: 9.715 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.906686536036432]