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.001537/0.001537, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002584/0.002584, allocations: 215.5 kB / 23.01 MB, free: 4.566 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1076/0.1076, allocations: 24.12 MB / 337.3 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.002358/0.002358, allocations: 63.91 kB / 474.6 MB, free: 5.902 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3912, allocations: 59.61 MB / 0.5216 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002198/0.3934, allocations: 0.9783 MB / 0.5226 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.3949, allocations: 1.262 MB / 0.5238 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.395, allocations: 6.688 kB / 0.5238 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.3953, allocations: 38.67 kB / 0.5239 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.3955, allocations: 37.75 kB / 0.5239 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.3957, allocations: 88.66 kB / 0.524 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003805/0.3961, allocations: 250.2 kB / 0.5242 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3962, allocations: 29.27 kB / 0.5243 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3964, allocations: 90.42 kB / 0.5243 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.3966, allocations: 103.7 kB / 0.5244 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.3966, allocations: 11.88 kB / 0.5245 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.3966, allocations: 10.53 kB / 0.5245 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.3967, allocations: 57.25 kB / 0.5245 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.3968, allocations: 61.64 kB / 0.5246 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.3969, allocations: 133 kB / 0.5247 GB, free: 8.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3969, allocations: 4 kB / 0.5247 GB, free: 8.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3969, allocations: 0 / 0.5247 GB, free: 8.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.397, allocations: 1.188 kB / 0.5247 GB, free: 8.492 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.001114/0.3981, allocations: 463.9 kB / 0.5252 GB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3981, allocations: 9.984 kB / 0.5252 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3982, allocations: 19.58 kB / 0.5252 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.3987, allocations: 220.5 kB / 0.5254 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3987, allocations: 11.47 kB / 0.5254 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.3988, allocations: 11.05 kB / 0.5254 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.399, allocations: 115.1 kB / 0.5255 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.399, allocations: 5.391 kB / 0.5255 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.399, allocations: 4 kB / 0.5255 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.399, allocations: 2.625 kB / 0.5255 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002522/0.3993, allocations: 106.4 kB / 0.5256 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.4, allocations: 427.5 kB / 0.526 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.4004, allocations: 153 kB / 0.5262 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4006, allocations: 64.28 kB / 0.5263 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.4006, allocations: 5.25 kB / 0.5263 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.4006, allocations: 32.88 kB / 0.5263 GB, free: 7.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.4006, allocations: 0 / 0.5263 GB, free: 7.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001073/0.4017, allocations: 326 kB / 0.5266 GB, free: 7.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.4017, allocations: 52.72 kB / 0.5266 GB, free: 7.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.4022, allocations: 249.9 kB / 0.5269 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4022, allocations: 29.7 kB / 0.5269 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.4023, allocations: 119.3 kB / 0.527 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.4023, allocations: 40.14 kB / 0.5271 GB, free: 6.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.4024, allocations: 29.06 kB / 0.5271 GB, free: 6.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.4024, allocations: 324.3 kB / 0.5274 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.4025, allocations: 51.86 kB / 0.5275 GB, free: 6.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.4026, allocations: 50.53 kB / 0.5275 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4037, allocations: 338.7 kB / 0.5278 GB, free: 6.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4037, allocations: 1.5 kB / 0.5278 GB, free: 6.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004563/0.4042, allocations: 236.2 kB / 0.5281 GB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4042, allocations: 5.469 kB / 0.5281 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4042, allocations: 0.7969 kB / 0.5281 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002278/0.4044, allocations: 61.41 kB / 0.5281 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4046, allocations: 21.22 kB / 0.5281 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001189/0.4057, allocations: 1.5 MB / 0.5296 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.406, allocations: 30.53 kB / 0.5296 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.406, allocations: 7.875 kB / 0.5296 GB, free: 4.988 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.0001583/0.4062, allocations: 141.3 kB / 0.5298 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.4062, allocations: 14.47 kB / 0.5298 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.4063, allocations: 24.28 kB / 0.5298 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4063, allocations: 6.016 kB / 0.5298 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4063, allocations: 1.125 kB / 0.5298 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4063, allocations: 0.75 kB / 0.5298 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.4065, allocations: 221.6 kB / 0.53 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4065, allocations: 4 kB / 0.53 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4066, allocations: 15.22 kB / 0.53 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.4068, allocations: 59.23 kB / 0.5301 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4068, allocations: 2.594 kB / 0.5301 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.4079, allocations: 1.496 MB / 0.5316 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4079, allocations: 1.875 kB / 0.5316 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.4085, allocations: 382.3 kB / 0.5319 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.4085, allocations: 24.44 kB / 0.532 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.4086, allocations: 3.359 kB / 0.532 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4088, allocations: 30.48 kB / 0.532 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.4089, allocations: 17.14 kB / 0.532 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.4089, allocations: 2.344 kB / 0.532 GB, free: 2.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003966/0.4093, allocations: 196.2 kB / 0.5322 GB, free: 2.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4093, allocations: 0 / 0.5322 GB, free: 2.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.4096, allocations: 30.59 kB / 0.5322 GB, free: 2.891 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 9.335e-05/0.4097, allocations: 98.77 kB / 0.5323 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.4102, allocations: 263.2 kB / 0.5326 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4102, allocations: 0 / 0.5326 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.4104, allocations: 195.8 kB / 0.5328 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4107, allocations: 26.92 kB / 0.5328 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/0.4114, allocations: 390.2 kB / 0.5332 GB, free: 2.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001687/0.4115, allocations: 0.729 MB / 0.5339 GB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.4116, allocations: 14.28 kB / 0.5339 GB, free: 1.527 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4116, allocations: 1.156 kB / 0.5339 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Templates: time 0.005127/0.4167, allocations: 2.544 MB / 0.5364 GB, free: 1.332 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: 8.240235602017492] Failed to read output from testmodel.py, exit status != 0: 0.4257442490197718 0.43937774500000004 0.039299091 Calling exit ...