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.001412/0.001412, allocations: 87.58 kB / 20.45 MB, free: 4.125 MB / 18.57 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.001755/0.001755, allocations: 165.3 kB / 23.82 MB, free: 0.7578 MB / 18.57 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.098/1.098, allocations: 177.1 MB / 204.2 MB, free: 5.656 MB / 186.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.0767/0.0767, allocations: 18.13 MB / 278.9 MB, free: 11.35 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 2.565e-06/2.565e-06, allocations: 0 / 357.3 MB, free: 7.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.435e-05, allocations: 2.312 kB / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.00254/0.002575, allocations: 1.783 MB / 359.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.003605, allocations: 0.6933 MB / 359.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.003687, allocations: 3.938 kB / 359.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.004029, allocations: 83.59 kB / 359.9 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.004198, allocations: 91.56 kB / 359.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.004649, allocations: 191.4 kB / 360.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004873, allocations: 203.5 kB / 360.3 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.651e-05/0.00497, allocations: 21.8 kB / 360.4 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.005089, allocations: 95.77 kB / 360.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.005294, allocations: 147.7 kB / 360.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.005327, allocations: 16 kB / 360.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.005447, allocations: 79.92 kB / 360.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.005536, allocations: 67.75 kB / 360.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.005602, allocations: 47.84 kB / 360.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.005851, allocations: 215.2 kB / 361 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005854, allocations: 0 / 361 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005855, allocations: 0 / 361 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.005861, allocations: 0 / 361 MB, free: 4.098 MB / 282.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.0008206/0.006681, allocations: 0.6142 MB / 361.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.00672, allocations: 8.922 kB / 361.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.006788, allocations: 28.8 kB / 361.7 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.007107, allocations: 240.3 kB / 361.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.007166, allocations: 4.375 kB / 361.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.007199, allocations: 12.38 kB / 361.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.007391, allocations: 119.8 kB / 362 MB, free: 2.992 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.007404, allocations: 4.188 kB / 362 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.00742, allocations: 4.375 kB / 362 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.007429, allocations: 7.875 kB / 362 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.007567, allocations: 86.42 kB / 362.1 MB, free: 2.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005973/0.008164, allocations: 439.5 kB / 362.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.00846, allocations: 152.6 kB / 362.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.008543, allocations: 73.48 kB / 362.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.008557, allocations: 8 kB / 362.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.008727, allocations: 159 kB / 362.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/0.00873, allocations: 4 kB / 362.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007263/0.009456, allocations: 382 kB / 363.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.0095, allocations: 85.11 kB / 363.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.009722, allocations: 300.3 kB / 363.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.009744, allocations: 29.7 kB / 363.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.009849, allocations: 186.8 kB / 363.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.009925, allocations: 59.53 kB / 364 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.01, allocations: 43.36 kB / 364 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.01019, allocations: 0.5118 MB / 364.5 MB, free: 320 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.01027, allocations: 53.69 kB / 364.6 MB, free: 260 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.01033, allocations: 65.56 kB / 364.6 MB, free: 188 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.01057, allocations: 211.6 kB / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01057, allocations: 4 kB / 364.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003672/0.01094, allocations: 285.4 kB / 365.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.01098, allocations: 41.69 kB / 365.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01099, allocations: 0 / 365.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.01119, allocations: 39.64 kB / 365.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.01126, allocations: 16 kB / 365.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.01231, allocations: 1.838 MB / 367.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.491e-05/0.0124, allocations: 31.86 kB / 367.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.01242, allocations: 8 kB / 367.1 MB, free: 13.55 MB / 298.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.0001609/0.01258, allocations: 210.2 kB / 367.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.01261, allocations: 35.86 kB / 367.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.01264, allocations: 26.11 kB / 367.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01265, allocations: 7.938 kB / 367.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01265, allocations: 144 / 367.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01266, allocations: 3.984 kB / 367.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.01282, allocations: 216.4 kB / 367.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01282, allocations: 0 / 367.6 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.01289, allocations: 12 kB / 367.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.01303, allocations: 43.64 kB / 367.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.01305, allocations: 8 kB / 367.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009392/0.01399, allocations: 1.838 MB / 369.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01399, allocations: 0 / 369.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.01445, allocations: 415.7 kB / 369.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.01448, allocations: 27.78 kB / 369.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.0145, allocations: 8 kB / 369.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.01457, allocations: 15.98 kB / 369.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.01462, allocations: 11.97 kB / 370 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.01464, allocations: 15.94 kB / 370 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.01476, allocations: 201.1 kB / 370.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01476, allocations: 0 / 370.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002313/0.01499, allocations: 63.89 kB / 370.2 MB, free: 10.2 MB / 298.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.0002014/0.01519, allocations: 139.4 kB / 370.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.01564, allocations: 420.1 kB / 370.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01564, allocations: 4 kB / 370.8 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.01585, allocations: 330.6 kB / 371.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01607, allocations: 44.36 kB / 371.1 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000595/0.01667, allocations: 444.3 kB / 371.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.567e-05/0.01673, allocations: 100.1 kB / 371.7 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.01679, allocations: 25.41 kB / 371.7 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.01682, allocations: 16.5 kB / 371.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01682, allocations: 3.938 kB / 371.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of Templates: time 0.005517/0.02234, allocations: 3.081 MB / 374.8 MB, free: 5.496 MB / 298.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: 3.330449146684259]