Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.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.001158/0.001158, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001322/0.00248, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008221/0.0008221, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009705/0.001793, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9986/0.9986, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09005/1.089, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.06679/0.06679, allocations: 18.12 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01353/0.08032, allocations: 6.786 MB / 269 MB, free: 6.238 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_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.984e-05, allocations: 2.312 kB / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002647/0.002677, allocations: 1.823 MB / 272.3 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009249/0.003601, allocations: 0.7049 MB / 273 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.00368, allocations: 0 / 273 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.0039, allocations: 83.52 kB / 273.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.004029, allocations: 95.62 kB / 273.2 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.004408, allocations: 175.5 kB / 273.4 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.004613, allocations: 203.4 kB / 273.6 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.004696, allocations: 26.38 kB / 273.6 MB, free: 1.648 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.004875, allocations: 159.7 kB / 273.8 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.005056, allocations: 123.8 kB / 273.9 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.005082, allocations: 15.94 kB / 273.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.005224, allocations: 95.86 kB / 274 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.005295, allocations: 51.84 kB / 274 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.637e-05/0.005341, allocations: 39.88 kB / 274.1 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.005547, allocations: 179.4 kB / 274.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.005559, allocations: 0 / 274.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.005561, allocations: 0 / 274.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.005569, allocations: 0 / 274.3 MB, free: 0.9961 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006166/0.006186, allocations: 0.5086 MB / 274.8 MB, free: 468 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.006214, allocations: 8.031 kB / 274.8 MB, free: 460 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.006257, allocations: 20.92 kB / 274.8 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.006488, allocations: 201.6 kB / 275 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.006505, allocations: 12.36 kB / 275 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.006529, allocations: 16.27 kB / 275 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.006678, allocations: 126.6 kB / 275.1 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.006686, allocations: 4.188 kB / 275.1 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.006698, allocations: 4.375 kB / 275.1 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.006703, allocations: 3.938 kB / 275.2 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1328/0.1395, allocations: 72.69 kB / 275.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.1401, allocations: 276 kB / 275.5 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1403, allocations: 175.7 kB / 275.7 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.1404, allocations: 67.45 kB / 275.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1404, allocations: 6.75 kB / 275.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.1406, allocations: 154.3 kB / 275.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.1406, allocations: 1.125 kB / 275.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006067/0.1412, allocations: 318.9 kB / 276.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.1412, allocations: 172.8 kB / 276.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1414, allocations: 219.9 kB / 276.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1415, allocations: 30.2 kB / 276.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.1415, allocations: 113 kB / 276.7 MB, free: 2.457 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.1416, allocations: 60.59 kB / 276.8 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.1416, allocations: 39.09 kB / 276.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.1417, allocations: 336.9 kB / 277.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.1418, allocations: 57.38 kB / 277.2 MB, free: 2.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.1418, allocations: 50.58 kB / 277.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.142, allocations: 198.1 kB / 277.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1421, allocations: 0 / 277.4 MB, free: 1.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000285/0.1423, allocations: 209.9 kB / 277.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.1424, allocations: 43.95 kB / 277.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1424, allocations: 0.8125 kB / 277.7 MB, free: 1.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.1426, allocations: 37.16 kB / 277.7 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.1427, allocations: 26.06 kB / 277.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008256/0.1435, allocations: 1.261 MB / 279 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.673e-05/0.1436, allocations: 16.67 kB / 279 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1436, allocations: 5 kB / 279 MB, free: 0.6211 MB / 266.7 MB Warning: Assuming fixed start value for the following 3 variables: C.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: 7 (SP.nextEventScaled,SP.nextEvent,$PRE.SP.nextEvent,SP.last,SP.b,SP.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0001473/0.1438, allocations: 176.8 kB / 279.2 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.1438, allocations: 22.73 kB / 279.2 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.1438, allocations: 27.56 kB / 279.3 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1438, allocations: 3.672 kB / 279.3 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1438, allocations: 1.75 kB / 279.3 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1438, allocations: 0.6562 kB / 279.3 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.144, allocations: 129.9 kB / 279.4 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.144, allocations: 4.594 kB / 279.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.1441, allocations: 24.16 kB / 279.4 MB, free: 16.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.1441, allocations: 26.09 kB / 279.5 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.1442, allocations: 33.89 kB / 279.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1442, allocations: 10.19 kB / 279.5 MB, free: 16.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00073/0.145, allocations: 1.268 MB / 280.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.145, allocations: 0 / 280.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.1453, allocations: 339.3 kB / 281.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.1454, allocations: 13.12 kB / 281.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1454, allocations: 14.09 kB / 281.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.1455, allocations: 11.28 kB / 281.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1455, allocations: 9.016 kB / 281.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.1456, allocations: 74.17 kB / 281.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1456, allocations: 2.438 kB / 281.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.1458, allocations: 66.89 kB / 281.3 MB, free: 15 MB / 282.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],C.x_scaled[1]) * Number of discrete variables: 6 ($whenCondition1,SP.a,SP.b,SP.last,SP.nextEvent,SP.nextEventScaled) * Number of discrete states: 6 (SP.nextEvent,SP.last,SP.nextEventScaled,SP.b,SP.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0002084/0.146, allocations: 113.8 kB / 281.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1464, allocations: 346.3 kB / 281.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/0.1464, allocations: 4.281 kB / 281.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000211/0.1466, allocations: 282.9 kB / 282 MB, free: 14.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1468, allocations: 144.8 kB / 282.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.1476, allocations: 439.4 kB / 282.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.074e-05/0.1477, allocations: 93.17 kB / 282.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.1477, allocations: 16.02 kB / 282.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1478, allocations: 91.8 kB / 282.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1478, allocations: 1.188 kB / 282.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.007426/0.1553, allocations: 3.491 MB / 286.3 MB, free: 13.8 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.715248473919928]