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.001626/0.001626, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002193/0.002193, allocations: 206.8 kB / 23.01 MB, free: 4.621 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.669/1.669, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1086/0.1086, allocations: 24.03 MB / 337.2 MB, free: 11.43 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.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: 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.002725/0.002725, allocations: 71.89 kB / 474.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.397, allocations: 59.57 MB / 0.5214 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.00241/0.3994, allocations: 0.9503 MB / 0.5223 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.4012, allocations: 1.225 MB / 0.5235 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.587e-05/0.4012, allocations: 2.375 kB / 0.5235 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.4016, allocations: 34.22 kB / 0.5235 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.4018, allocations: 47.09 kB / 0.5236 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.4021, allocations: 84.64 kB / 0.5237 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.4025, allocations: 246.6 kB / 0.5239 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.4026, allocations: 20.56 kB / 0.5239 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4027, allocations: 91.7 kB / 0.524 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.4029, allocations: 107.5 kB / 0.5241 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.791e-05/0.403, allocations: 10.19 kB / 0.5241 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.403, allocations: 11.62 kB / 0.5241 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.4031, allocations: 48.86 kB / 0.5242 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.4032, allocations: 45 kB / 0.5242 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.4033, allocations: 142.9 kB / 0.5244 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4033, allocations: 0 / 0.5244 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4034, allocations: 0 / 0.5244 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4034, allocations: 5.469 kB / 0.5244 GB, free: 8.633 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001116/0.4045, allocations: 457.3 kB / 0.5248 GB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4045, allocations: 10.3 kB / 0.5248 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.4046, allocations: 20.7 kB / 0.5248 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.4051, allocations: 225 kB / 0.525 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4051, allocations: 3.844 kB / 0.525 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4052, allocations: 13.86 kB / 0.5251 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.4054, allocations: 117.2 kB / 0.5252 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4054, allocations: 0 / 0.5252 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4054, allocations: 1.531 kB / 0.5252 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4054, allocations: 6.703 kB / 0.5252 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.4057, allocations: 104.2 kB / 0.5253 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.4065, allocations: 383.8 kB / 0.5256 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.4069, allocations: 152.9 kB / 0.5258 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001439/0.407, allocations: 60.72 kB / 0.5258 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.4071, allocations: 1.188 kB / 0.5258 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4071, allocations: 40.64 kB / 0.5259 GB, free: 7.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.4071, allocations: 0 / 0.5259 GB, free: 7.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001079/0.4082, allocations: 317.4 kB / 0.5262 GB, free: 7.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.4082, allocations: 54.3 kB / 0.5262 GB, free: 7.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.4087, allocations: 257.3 kB / 0.5265 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4088, allocations: 31.2 kB / 0.5265 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.4088, allocations: 114.8 kB / 0.5266 GB, free: 7.176 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.4089, allocations: 48.38 kB / 0.5267 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.409, allocations: 29.25 kB / 0.5267 GB, free: 7.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.409, allocations: 323.8 kB / 0.527 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.4092, allocations: 51.42 kB / 0.5271 GB, free: 6.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4093, allocations: 51.48 kB / 0.5271 GB, free: 6.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.4104, allocations: 335.8 kB / 0.5274 GB, free: 6.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4104, allocations: 0 / 0.5274 GB, free: 6.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005071/0.4109, allocations: 241 kB / 0.5277 GB, free: 6.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4109, allocations: 5.25 kB / 0.5277 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4109, allocations: 0.8438 kB / 0.5277 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.4112, allocations: 52.12 kB / 0.5277 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4113, allocations: 30.12 kB / 0.5277 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.4124, allocations: 1.463 MB / 0.5292 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.4126, allocations: 35.03 kB / 0.5292 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.4126, allocations: 6.203 kB / 0.5292 GB, free: 5.215 MB / 382.1 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.0001463/0.4128, allocations: 147.6 kB / 0.5294 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.4128, allocations: 13.62 kB / 0.5294 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.4129, allocations: 25.17 kB / 0.5294 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4129, allocations: 1.312 kB / 0.5294 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4129, allocations: 0 / 0.5294 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4129, allocations: 6.016 kB / 0.5294 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.4131, allocations: 169.3 kB / 0.5296 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4131, allocations: 0 / 0.5296 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4132, allocations: 19.12 kB / 0.5296 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.4134, allocations: 55.66 kB / 0.5296 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.4134, allocations: 1.734 kB / 0.5296 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.4144, allocations: 1.472 MB / 0.5311 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4144, allocations: 3.938 kB / 0.5311 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.415, allocations: 393.4 kB / 0.5314 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.4151, allocations: 19.94 kB / 0.5315 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.4151, allocations: 2.078 kB / 0.5315 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.4153, allocations: 30.77 kB / 0.5315 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.4154, allocations: 9.812 kB / 0.5315 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.4154, allocations: 2.25 kB / 0.5315 GB, free: 3.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.4158, allocations: 200 kB / 0.5317 GB, free: 3.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4158, allocations: 0 / 0.5317 GB, free: 3.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.4161, allocations: 31.62 kB / 0.5317 GB, free: 3.191 MB / 382.1 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 8.712e-05/0.4161, allocations: 98.81 kB / 0.5318 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004988/0.4166, allocations: 263 kB / 0.5321 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4166, allocations: 1.25 kB / 0.5321 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.4169, allocations: 195.6 kB / 0.5323 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.4172, allocations: 24.81 kB / 0.5323 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/0.4178, allocations: 355.9 kB / 0.5326 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.4179, allocations: 117.8 kB / 0.5327 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.773e-05/0.418, allocations: 27.17 kB / 0.5328 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.4181, allocations: 13.31 kB / 0.5328 GB, free: 2.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4181, allocations: 0 / 0.5328 GB, free: 2.48 MB / 382.1 MB Notification: Performance of Templates: time 0.006335/0.4244, allocations: 2.143 MB / 0.5349 GB, free: 2.246 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.364251751452684] Failed to read output from testmodel.py, exit status != 0: 0.4346203487366438 0.44874009600000003 0.042184483 Calling exit ...