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.001187/0.001187, 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.001365/0.001365, allocations: 169 kB / 23.82 MB, free: 0.7539 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.01/1.01, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.06327/0.06327, allocations: 18.14 MB / 278.9 MB, free: 11.32 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.053e-06/2.053e-06, allocations: 0 / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.303e-05, allocations: 2.312 kB / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.003111/0.003144, allocations: 1.78 MB / 359.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.00446, allocations: 0.705 MB / 359.8 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.004536, allocations: 3.938 kB / 359.8 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.004897, allocations: 71.66 kB / 359.9 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.005103, allocations: 91.52 kB / 359.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.005671, allocations: 199.4 kB / 360.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.005993, allocations: 203.5 kB / 360.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.006107, allocations: 13.81 kB / 360.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.006262, allocations: 103.7 kB / 360.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.006513, allocations: 139.7 kB / 360.6 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.00655, allocations: 12 kB / 360.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.006774, allocations: 87.91 kB / 360.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.006874, allocations: 67.77 kB / 360.8 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.006952, allocations: 51.83 kB / 360.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.007249, allocations: 211.2 kB / 361 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.007252, allocations: 4 kB / 361 MB, free: 4.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007253, allocations: 0 / 361 MB, free: 4.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.007258, allocations: 0 / 361 MB, free: 4.074 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.0008809/0.008139, allocations: 0.6064 MB / 361.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.008181, allocations: 8.922 kB / 361.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.008267, allocations: 32.8 kB / 361.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.008692, allocations: 240.2 kB / 361.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.008721, allocations: 12.36 kB / 361.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.008759, allocations: 12.38 kB / 361.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.009018, allocations: 119.8 kB / 362 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.009033, allocations: 192 / 362 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.009053, allocations: 8.375 kB / 362 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.009064, allocations: 7.875 kB / 362.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.009254, allocations: 92.98 kB / 362.1 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.01007, allocations: 423.5 kB / 362.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.01041, allocations: 156.6 kB / 362.7 MB, free: 2.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.01052, allocations: 73.48 kB / 362.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.01054, allocations: 8 kB / 362.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.01075, allocations: 156.4 kB / 362.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 2.294e-06/0.01075, allocations: 0 / 362.9 MB, free: 1.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009855/0.01174, allocations: 386 kB / 363.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.01179, allocations: 85.11 kB / 363.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.01204, allocations: 296.3 kB / 363.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.01206, allocations: 29.7 kB / 363.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.01216, allocations: 186.8 kB / 363.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.077e-05/0.01223, allocations: 55.55 kB / 364 MB, free: 0.875 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.01231, allocations: 47.36 kB / 364 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.01248, allocations: 0.5118 MB / 364.5 MB, free: 304 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.01258, allocations: 61.62 kB / 364.6 MB, free: 236 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.642e-05/0.01267, allocations: 69.55 kB / 364.6 MB, free: 160 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.01288, allocations: 211.5 kB / 364.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01288, allocations: 0 / 364.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004613/0.01334, allocations: 284.6 kB / 365.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.01339, allocations: 41.69 kB / 365.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.0134, allocations: 3.984 kB / 365.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/0.01363, allocations: 39.64 kB / 365.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.182e-05/0.01372, allocations: 19.98 kB / 365.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.01535, allocations: 1.838 MB / 367.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.01549, allocations: 31.91 kB / 367.1 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.01551, allocations: 4 kB / 367.1 MB, free: 13.52 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.0002093/0.01572, allocations: 214.3 kB / 367.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.01578, allocations: 31.86 kB / 367.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.01582, allocations: 30.11 kB / 367.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01583, allocations: 0 / 367.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.01583, allocations: 4 kB / 367.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01584, allocations: 4 kB / 367.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.01599, allocations: 212.4 kB / 367.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.016, allocations: 0 / 367.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.01608, allocations: 15.98 kB / 367.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.0162, allocations: 35.66 kB / 367.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.01623, allocations: 7.984 kB / 367.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008254/0.01705, allocations: 1.842 MB / 369.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01705, allocations: 0 / 369.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.01748, allocations: 412.8 kB / 369.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.0175, allocations: 23.98 kB / 369.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.01753, allocations: 8 kB / 369.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.0176, allocations: 23.89 kB / 369.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.01766, allocations: 16.02 kB / 370 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.01767, allocations: 11.94 kB / 370 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.01779, allocations: 205.1 kB / 370.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01779, allocations: 0 / 370.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.018, allocations: 67.88 kB / 370.2 MB, free: 10.16 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.0001594/0.01816, allocations: 123.2 kB / 370.4 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004106/0.01857, allocations: 424.1 kB / 370.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01857, allocations: 0 / 370.8 MB, free: 9.566 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.01876, allocations: 334.6 kB / 371.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01895, allocations: 47.22 kB / 371.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/0.01949, allocations: 440.3 kB / 371.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.01955, allocations: 100.1 kB / 371.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.0196, allocations: 33.39 kB / 371.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.01963, allocations: 16.5 kB / 371.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01963, allocations: 0 / 371.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of Templates: time 0.0056/0.02523, allocations: 3.207 MB / 374.9 MB, free: 5.348 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.0140528162010014]