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.00148/0.00148, allocations: 108.2 kB / 17.14 MB, free: 6.043 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.001627/0.001627, allocations: 208.5 kB / 20.11 MB, free: 3.086 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.596/1.596, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1025/0.1025, allocations: 24.03 MB / 333.6 MB, free: 1.547 MB / 254.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.002541/0.002541, allocations: 76.66 kB / 468.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1746, allocations: 59.54 MB / 0.516 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.004488/0.1791, allocations: 0.9682 MB / 0.517 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.1825, allocations: 1.249 MB / 0.5182 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1826, allocations: 7.938 kB / 0.5182 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005066/0.1831, allocations: 43.77 kB / 0.5183 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1835, allocations: 43.77 kB / 0.5183 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1838, allocations: 71.83 kB / 0.5184 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005181/0.1843, allocations: 199.6 kB / 0.5186 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1845, allocations: 25.38 kB / 0.5186 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1848, allocations: 83.78 kB / 0.5187 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.1852, allocations: 111.5 kB / 0.5188 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.522e-05/0.1852, allocations: 12 kB / 0.5188 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.544e-05/0.1853, allocations: 16 kB / 0.5188 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1854, allocations: 51.83 kB / 0.5188 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1856, allocations: 51.66 kB / 0.5189 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.1859, allocations: 143.3 kB / 0.519 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1859, allocations: 0 / 0.519 GB, free: 8.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1859, allocations: 0 / 0.519 GB, free: 8.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1859, allocations: 0 / 0.519 GB, free: 8.719 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.002231/0.1882, allocations: 0.5182 MB / 0.5195 GB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.107e-05/0.1882, allocations: 12.62 kB / 0.5196 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.1884, allocations: 20.8 kB / 0.5196 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1895, allocations: 292.8 kB / 0.5199 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.1895, allocations: 4.375 kB / 0.5199 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.1896, allocations: 16.33 kB / 0.5199 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.19, allocations: 115.9 kB / 0.52 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.19, allocations: 0 / 0.52 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.19, allocations: 0 / 0.52 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.19, allocations: 4 kB / 0.52 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.1905, allocations: 107.8 kB / 0.5201 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.1919, allocations: 460.5 kB / 0.5205 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.1926, allocations: 154.5 kB / 0.5207 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.1928, allocations: 60.83 kB / 0.5207 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1928, allocations: 0 / 0.5207 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.542e-05/0.1929, allocations: 34.56 kB / 0.5208 GB, free: 6.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/0.1929, allocations: 3.938 kB / 0.5208 GB, free: 6.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00197/0.1948, allocations: 403.4 kB / 0.5212 GB, free: 6.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.1949, allocations: 51.41 kB / 0.5212 GB, free: 6.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009722/0.1959, allocations: 250.5 kB / 0.5214 GB, free: 6.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.1959, allocations: 29.7 kB / 0.5215 GB, free: 6.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.1961, allocations: 116.1 kB / 0.5216 GB, free: 5.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.011e-05/0.1962, allocations: 35.66 kB / 0.5216 GB, free: 5.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.1963, allocations: 37.7 kB / 0.5217 GB, free: 5.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.1966, allocations: 326.8 kB / 0.522 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1968, allocations: 47.97 kB / 0.522 GB, free: 5.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.197, allocations: 58.34 kB / 0.5221 GB, free: 5.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.1989, allocations: 332.4 kB / 0.5224 GB, free: 5.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1989, allocations: 4 kB / 0.5224 GB, free: 5.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008645/0.1998, allocations: 239.8 kB / 0.5226 GB, free: 4.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.1998, allocations: 4 kB / 0.5226 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.1998, allocations: 4 kB / 0.5226 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003374/0.2002, allocations: 56.78 kB / 0.5227 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.2004, allocations: 16 kB / 0.5227 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.2033, allocations: 1.594 MB / 0.5242 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.2037, allocations: 40 kB / 0.5243 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/0.2038, allocations: 4 kB / 0.5243 GB, free: 2.938 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.0003154/0.2041, allocations: 142.2 kB / 0.5244 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.2042, allocations: 15.91 kB / 0.5244 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.2043, allocations: 25.39 kB / 0.5245 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2043, allocations: 4.078 kB / 0.5245 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2043, allocations: 7.984 kB / 0.5245 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.2043, allocations: 0 / 0.5245 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.2049, allocations: 245.5 kB / 0.5247 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2049, allocations: 3.938 kB / 0.5247 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.2051, allocations: 19.98 kB / 0.5247 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/0.2054, allocations: 52.81 kB / 0.5248 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.2054, allocations: 4 kB / 0.5248 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.208, allocations: 1.613 MB / 0.5264 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.208, allocations: 0 / 0.5264 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.2091, allocations: 384 kB / 0.5267 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2092, allocations: 97.02 kB / 0.5268 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.2093, allocations: 0 / 0.5268 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.2097, allocations: 36 kB / 0.5269 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.2098, allocations: 11.92 kB / 0.5269 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2098, allocations: 4 kB / 0.5269 GB, free: 52 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000828/0.2107, allocations: 196.3 kB / 0.5271 GB, free: 15.86 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2107, allocations: 0 / 0.5271 GB, free: 15.86 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005032/0.2112, allocations: 32 kB / 0.5271 GB, free: 15.82 MB / 398.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 0.0002168/0.2114, allocations: 111.2 kB / 0.5272 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009612/0.2123, allocations: 246.5 kB / 0.5274 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2123, allocations: 0 / 0.5274 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.2129, allocations: 206.5 kB / 0.5276 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.2134, allocations: 24.22 kB / 0.5277 GB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.2145, allocations: 359.5 kB / 0.528 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006032/0.2151, allocations: 0.728 MB / 0.5287 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.2152, allocations: 29.06 kB / 0.5287 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.2153, allocations: 15.44 kB / 0.5287 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2153, allocations: 0 / 0.5287 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Templates: time 0.008583/0.2239, allocations: 1.957 MB / 0.5307 GB, free: 12.1 MB / 398.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.162714248523116] Failed to read output from testmodel.py, exit status != 0: 0.23459406569600105 0.25763641400000004 0.067001972 Calling exit ...