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.001382/0.001382, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.001644/0.001644, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.485/1.485, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.1094/0.1094, allocations: 17.8 MB / 277.6 MB, free: 15.32 MB / 270.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.002526/0.002526, allocations: 71.89 kB / 414.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1222, allocations: 59.56 MB / 474.2 MB, free: 8.793 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002638/0.1248, allocations: 0.9398 MB / 475.2 MB, free: 7.855 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1268, allocations: 1.233 MB / 476.4 MB, free: 6.605 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.1269, allocations: 4 kB / 476.4 MB, free: 6.602 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.1273, allocations: 39.7 kB / 476.4 MB, free: 6.562 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.1275, allocations: 43.83 kB / 476.5 MB, free: 6.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1278, allocations: 87.8 kB / 476.6 MB, free: 6.434 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.1282, allocations: 235.5 kB / 476.8 MB, free: 6.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1283, allocations: 25.61 kB / 476.8 MB, free: 6.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1285, allocations: 91.72 kB / 476.9 MB, free: 6.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.1288, allocations: 95.64 kB / 477 MB, free: 5.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.1288, allocations: 15.98 kB / 477 MB, free: 5.973 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/0.1288, allocations: 12 kB / 477 MB, free: 5.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1289, allocations: 55.81 kB / 477.1 MB, free: 5.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.129, allocations: 39.73 kB / 477.1 MB, free: 5.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1292, allocations: 147.3 kB / 477.3 MB, free: 5.723 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1292, allocations: 4 kB / 477.3 MB, free: 5.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1292, allocations: 0 / 477.3 MB, free: 5.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1293, allocations: 0 / 477.3 MB, free: 5.719 MB / 446.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.001321/0.1306, allocations: 457.5 kB / 477.7 MB, free: 5.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1306, allocations: 8.922 kB / 477.7 MB, free: 5.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.1307, allocations: 16.84 kB / 477.7 MB, free: 5.215 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006363/0.1313, allocations: 234.1 kB / 478 MB, free: 4.961 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1313, allocations: 8.359 kB / 478 MB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1314, allocations: 12.38 kB / 478 MB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.1316, allocations: 113.9 kB / 478.1 MB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1316, allocations: 0 / 478.1 MB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1316, allocations: 0 / 478.1 MB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1316, allocations: 4 kB / 478.1 MB, free: 4.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.1319, allocations: 99.92 kB / 478.2 MB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.1326, allocations: 388.1 kB / 478.6 MB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.1331, allocations: 150.4 kB / 478.7 MB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.1332, allocations: 60.83 kB / 478.8 MB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.1332, allocations: 0 / 478.8 MB, free: 4.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1332, allocations: 42.5 kB / 478.8 MB, free: 4.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.1332, allocations: 0 / 478.8 MB, free: 4.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001168/0.1344, allocations: 322.3 kB / 479.1 MB, free: 3.719 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1345, allocations: 55.34 kB / 479.2 MB, free: 3.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005492/0.135, allocations: 251.2 kB / 479.4 MB, free: 3.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.135, allocations: 29.7 kB / 479.5 MB, free: 3.363 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.486e-05/0.1351, allocations: 112.1 kB / 479.6 MB, free: 3.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.1352, allocations: 47.58 kB / 479.6 MB, free: 3.203 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.1353, allocations: 21.72 kB / 479.6 MB, free: 3.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1354, allocations: 326.8 kB / 480 MB, free: 2.848 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.1356, allocations: 55.95 kB / 480 MB, free: 2.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1357, allocations: 51.97 kB / 480.1 MB, free: 2.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.1367, allocations: 328.5 kB / 480.4 MB, free: 2.418 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1367, allocations: 4 kB / 480.4 MB, free: 2.414 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005014/0.1372, allocations: 237.7 kB / 480.6 MB, free: 2.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1373, allocations: 4 kB / 480.6 MB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1373, allocations: 7.938 kB / 480.6 MB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.1375, allocations: 56.8 kB / 480.7 MB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1376, allocations: 23.98 kB / 480.7 MB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.1391, allocations: 1.46 MB / 482.2 MB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.1394, allocations: 39.81 kB / 482.2 MB, free: 488 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1394, allocations: 4 kB / 482.2 MB, free: 484 kB / 446.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.0001885/0.1396, allocations: 146.2 kB / 482.4 MB, free: 328 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.1397, allocations: 15.91 kB / 482.4 MB, free: 312 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.1397, allocations: 25.47 kB / 482.4 MB, free: 288 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1397, allocations: 3.984 kB / 482.4 MB, free: 284 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1397, allocations: 0 / 482.4 MB, free: 284 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1397, allocations: 3.938 kB / 482.4 MB, free: 280 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.14, allocations: 173.2 kB / 482.6 MB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.14, allocations: 8 kB / 482.6 MB, free: 68 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1401, allocations: 8 kB / 482.6 MB, free: 60 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2209/0.361, allocations: 58.78 kB / 482.7 MB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.361, allocations: 1.75 kB / 482.7 MB, free: 52.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.3622, allocations: 1.474 MB / 484.1 MB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3622, allocations: 5.25 kB / 484.1 MB, free: 51.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.3627, allocations: 372.4 kB / 484.5 MB, free: 50.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.3627, allocations: 28.14 kB / 484.5 MB, free: 50.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3628, allocations: 1.812 kB / 484.5 MB, free: 50.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.363, allocations: 26.5 kB / 484.6 MB, free: 50.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.363, allocations: 12.5 kB / 484.6 MB, free: 50.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.3631, allocations: 3.719 kB / 484.6 MB, free: 50.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003681/0.3634, allocations: 197.6 kB / 484.8 MB, free: 50.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3634, allocations: 0 / 484.8 MB, free: 50.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.3637, allocations: 34.3 kB / 484.8 MB, free: 50.91 MB / 446.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 9.425e-05/0.3638, allocations: 104.1 kB / 484.9 MB, free: 50.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.3643, allocations: 258.4 kB / 485.1 MB, free: 50.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3643, allocations: 0 / 485.1 MB, free: 50.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.3645, allocations: 192.2 kB / 485.3 MB, free: 50.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.3648, allocations: 29.98 kB / 485.4 MB, free: 50.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.3653, allocations: 352 kB / 485.7 MB, free: 50.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.586e-05/0.3654, allocations: 121.7 kB / 485.8 MB, free: 50.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.413e-05/0.3655, allocations: 32.59 kB / 485.9 MB, free: 50.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.3655, allocations: 14.72 kB / 485.9 MB, free: 50.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3655, allocations: 0 / 485.9 MB, free: 50.34 MB / 446.1 MB Notification: Performance of Templates: time 0.004635/0.3702, allocations: 2.05 MB / 487.9 MB, free: 50.24 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.980649512959644] Failed to read output from testmodel.py, exit status != 0: 0.3794555939966813 0.38774812099999995 0.256176502 Calling exit ...