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.00135/0.00135, allocations: 96.41 kB / 20.47 MB, free: 1.234 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.001459/0.001459, allocations: 221.7 kB / 23.77 MB, free: 4.422 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1119/0.1119, allocations: 24.03 MB / 338 MB, free: 11.35 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.002232/0.002232, allocations: 67.89 kB / 475.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2937, allocations: 59.57 MB / 0.5221 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002067/0.2958, allocations: 0.9432 MB / 0.523 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2971, allocations: 1.224 MB / 0.5242 GB, free: 9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.2972, allocations: 2.219 kB / 0.5242 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.2974, allocations: 38.81 kB / 0.5243 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.2976, allocations: 42.8 kB / 0.5243 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.2978, allocations: 84.58 kB / 0.5244 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.2981, allocations: 246.8 kB / 0.5246 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2982, allocations: 28.67 kB / 0.5247 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.2983, allocations: 91.83 kB / 0.5248 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2985, allocations: 102.9 kB / 0.5248 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.2985, allocations: 10.22 kB / 0.5249 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.748e-05/0.2986, allocations: 12 kB / 0.5249 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.2986, allocations: 52.48 kB / 0.5249 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.413e-05/0.2987, allocations: 48.73 kB / 0.525 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.2989, allocations: 134.6 kB / 0.5251 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2989, allocations: 1.188 kB / 0.5251 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2989, allocations: 0 / 0.5251 GB, free: 8.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2989, allocations: 0 / 0.5251 GB, free: 8.641 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.001053/0.2999, allocations: 463.2 kB / 0.5255 GB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3, allocations: 10.55 kB / 0.5255 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3, allocations: 25 kB / 0.5256 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.3006, allocations: 220.6 kB / 0.5258 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3006, allocations: 3.609 kB / 0.5258 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3006, allocations: 14.73 kB / 0.5258 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3008, allocations: 116 kB / 0.5259 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3008, allocations: 0 / 0.5259 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3009, allocations: 8.781 kB / 0.5259 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3009, allocations: 3 kB / 0.5259 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.3011, allocations: 102.5 kB / 0.526 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.3017, allocations: 379.8 kB / 0.5264 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.3021, allocations: 148.6 kB / 0.5265 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3023, allocations: 64.7 kB / 0.5266 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3023, allocations: 9.906 kB / 0.5266 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3023, allocations: 32.94 kB / 0.5266 GB, free: 7.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.3023, allocations: 3.938 kB / 0.5266 GB, free: 7.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001002/0.3033, allocations: 313.7 kB / 0.5269 GB, free: 7.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.3033, allocations: 58.06 kB / 0.527 GB, free: 7.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.3038, allocations: 252.3 kB / 0.5272 GB, free: 7.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3038, allocations: 27.33 kB / 0.5273 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.3038, allocations: 118.7 kB / 0.5274 GB, free: 7.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.3039, allocations: 44.5 kB / 0.5274 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.3039, allocations: 28.97 kB / 0.5274 GB, free: 7.125 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.304, allocations: 329.3 kB / 0.5277 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3041, allocations: 50.84 kB / 0.5278 GB, free: 6.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3042, allocations: 50.91 kB / 0.5278 GB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3053, allocations: 330.5 kB / 0.5282 GB, free: 6.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3053, allocations: 4 kB / 0.5282 GB, free: 6.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004388/0.3057, allocations: 239.2 kB / 0.5284 GB, free: 6.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3057, allocations: 5.812 kB / 0.5284 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3057, allocations: 2.297 kB / 0.5284 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.3059, allocations: 54.42 kB / 0.5285 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.306, allocations: 18.02 kB / 0.5285 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.3071, allocations: 1.474 MB / 0.5299 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.3073, allocations: 34.86 kB / 0.5299 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3073, allocations: 6.438 kB / 0.5299 GB, free: 5.219 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.0001373/0.3075, allocations: 143.5 kB / 0.5301 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3075, allocations: 13.81 kB / 0.5301 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.082e-05/0.3075, allocations: 24.31 kB / 0.5301 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3076, allocations: 1.312 kB / 0.5301 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3076, allocations: 1.062 kB / 0.5301 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3076, allocations: 5.812 kB / 0.5301 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3078, allocations: 173.2 kB / 0.5303 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3078, allocations: 0 / 0.5303 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3079, allocations: 23.48 kB / 0.5303 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.308, allocations: 55.64 kB / 0.5304 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3081, allocations: 2.25 kB / 0.5304 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009983/0.3091, allocations: 1.467 MB / 0.5318 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3091, allocations: 0 / 0.5318 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.3096, allocations: 382.7 kB / 0.5322 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.3097, allocations: 24.52 kB / 0.5322 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3097, allocations: 6.859 kB / 0.5322 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.31, allocations: 30.14 kB / 0.5322 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.31, allocations: 10.17 kB / 0.5322 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.31, allocations: 6.656 kB / 0.5322 GB, free: 3.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004149/0.3104, allocations: 198.9 kB / 0.5324 GB, free: 3.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3104, allocations: 1.094 kB / 0.5324 GB, free: 3.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3107, allocations: 30 kB / 0.5325 GB, free: 3.199 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.231e-05/0.3108, allocations: 104.2 kB / 0.5326 GB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.3113, allocations: 254.7 kB / 0.5328 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3113, allocations: 1.25 kB / 0.5328 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.3115, allocations: 200.1 kB / 0.533 GB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3118, allocations: 28.34 kB / 0.533 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006082/0.3125, allocations: 386.1 kB / 0.5334 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.3126, allocations: 118.1 kB / 0.5335 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.3126, allocations: 18.53 kB / 0.5335 GB, free: 2.453 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3126, allocations: 0 / 0.5335 GB, free: 2.453 MB / 382.1 MB Notification: Performance of Templates: time 0.005438/0.318, allocations: 2.574 MB / 0.536 GB, free: 2.27 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: 7.540797013323754] Failed to read output from testmodel.py, exit status != 0: 0.326553818769753 0.34039964100000003 0.038384440000000006 Calling exit ...