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.001132/0.001132, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001786/0.001786, allocations: 181 kB / 24.08 MB, free: 428 kB / 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 0.9981/0.9981, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.096/0.096, allocations: 18.14 MB / 279.2 MB, free: 11.17 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.633e-06/1.633e-06, allocations: 0 / 357.8 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.632e-05, allocations: 2.312 kB / 357.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.00224/0.002267, allocations: 1.783 MB / 359.5 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.003207, allocations: 0.6856 MB / 360.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.003306, allocations: 3.938 kB / 360.2 MB, free: 6.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.003661, allocations: 79.64 kB / 360.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.003852, allocations: 95.52 kB / 360.4 MB, free: 5.926 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.004348, allocations: 191.4 kB / 360.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.004608, allocations: 199.5 kB / 360.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.004695, allocations: 17.8 kB / 360.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.004823, allocations: 99.7 kB / 360.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.005024, allocations: 147.7 kB / 361 MB, free: 5.285 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.005057, allocations: 16 kB / 361.1 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.005184, allocations: 75.94 kB / 361.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.005264, allocations: 71.8 kB / 361.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.193e-05/0.005326, allocations: 51.77 kB / 361.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.005574, allocations: 211.3 kB / 361.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005576, allocations: 0 / 361.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.005577, allocations: 0 / 361.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.00558, allocations: 0 / 361.5 MB, free: 4.867 MB / 330.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.0006975/0.006277, allocations: 0.5908 MB / 362.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.006315, allocations: 8.922 kB / 362.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.006374, allocations: 28.8 kB / 362.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.006648, allocations: 232.2 kB / 362.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.006665, allocations: 8.375 kB / 362.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.006689, allocations: 12.38 kB / 362.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.006857, allocations: 118.3 kB / 362.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006866, allocations: 192 / 362.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.006879, allocations: 8.375 kB / 362.5 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.006885, allocations: 7.875 kB / 362.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.006998, allocations: 69.66 kB / 362.5 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.007465, allocations: 384.1 kB / 362.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.007702, allocations: 136.5 kB / 363 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.007771, allocations: 73.3 kB / 363.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.007782, allocations: 4 kB / 363.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.007936, allocations: 160.5 kB / 363.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 2.254e-06/0.007938, allocations: 4 kB / 363.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006537/0.008592, allocations: 352.1 kB / 363.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.008629, allocations: 89.11 kB / 363.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.008845, allocations: 296.2 kB / 364 MB, free: 2.102 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.008861, allocations: 25.7 kB / 364 MB, free: 2.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.008946, allocations: 186.7 kB / 364.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.009005, allocations: 67.48 kB / 364.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.268e-05/0.009068, allocations: 43.34 kB / 364.3 MB, free: 1.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.009208, allocations: 0.5117 MB / 364.8 MB, free: 1.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.009263, allocations: 53.69 kB / 364.9 MB, free: 1.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.00932, allocations: 63.17 kB / 364.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.009505, allocations: 191.2 kB / 365.1 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009506, allocations: 7.938 kB / 365.1 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003339/0.00984, allocations: 260.6 kB / 365.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.009873, allocations: 44.14 kB / 365.4 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.009877, allocations: 0 / 365.4 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.01002, allocations: 35.64 kB / 365.5 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.01009, allocations: 20 kB / 365.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.0111, allocations: 1.808 MB / 367.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.0112, allocations: 15.89 kB / 367.3 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01121, allocations: 4 kB / 367.3 MB, free: 14.57 MB / 346.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.0001613/0.01137, allocations: 222.2 kB / 367.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.01141, allocations: 31.86 kB / 367.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.01145, allocations: 30.11 kB / 367.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.01145, allocations: 0 / 367.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01145, allocations: 4 kB / 367.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01146, allocations: 0 / 367.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.01163, allocations: 173 kB / 367.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01163, allocations: 0 / 367.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.01171, allocations: 15.94 kB / 367.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.01182, allocations: 47.62 kB / 367.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.01184, allocations: 4 kB / 367.8 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008897/0.01273, allocations: 1.804 MB / 369.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01273, allocations: 0 / 369.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.01317, allocations: 388.9 kB / 370 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.0132, allocations: 27.78 kB / 370 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.01322, allocations: 11.94 kB / 370.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.0133, allocations: 4 kB / 370.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.01334, allocations: 19.97 kB / 370.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.01336, allocations: 11.94 kB / 370.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001112/0.01347, allocations: 197.1 kB / 370.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01347, allocations: 3.938 kB / 370.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.01374, allocations: 67.88 kB / 370.4 MB, free: 11.33 MB / 346.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.000142/0.01389, allocations: 131.2 kB / 370.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.01426, allocations: 411 kB / 370.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01426, allocations: 0 / 370.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.01447, allocations: 328.8 kB / 371.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.01469, allocations: 32.48 kB / 371.2 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.01524, allocations: 444.3 kB / 371.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.244e-05/0.01531, allocations: 96.19 kB / 371.8 MB, free: 9.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.01535, allocations: 17.42 kB / 371.8 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.01547, allocations: 106.2 kB / 371.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01547, allocations: 0 / 371.9 MB, free: 9.637 MB / 346.7 MB Notification: Performance of Templates: time 0.005803/0.02128, allocations: 3.245 MB / 375.1 MB, free: 6.434 MB / 346.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.932744972873479]