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.0005951/0.0005951, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.0007629/0.0007629, allocations: 166 kB / 24.09 MB, free: 424 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.868/0.868, allocations: 177.1 MB / 204.4 MB, free: 5.688 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.05836/0.05836, allocations: 18.13 MB / 279 MB, free: 11.46 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_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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 416.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.579e-05, allocations: 4.062 kB / 416.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001501/0.001527, allocations: 0.9478 MB / 417.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.002673, allocations: 1.218 MB / 418.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.332e-05/0.002746, allocations: 3.125 kB / 418.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.003038, allocations: 37.09 kB / 418.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.003168, allocations: 38.97 kB / 418.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.003385, allocations: 122.9 kB / 418.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.003573, allocations: 143.4 kB / 419.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.003687, allocations: 21.22 kB / 419.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.681e-05/0.003783, allocations: 60.16 kB / 419.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.003934, allocations: 83.94 kB / 419.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.003962, allocations: 11.25 kB / 419.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.957e-05/0.003982, allocations: 11.12 kB / 419.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.458e-05/0.004056, allocations: 50.92 kB / 419.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.004101, allocations: 37.2 kB / 419.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.004263, allocations: 137.1 kB / 419.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004265, allocations: 5.281 kB / 419.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004266, allocations: 4 kB / 419.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.004271, allocations: 0.6094 kB / 419.5 MB, free: 10.55 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006943/0.004966, allocations: 457.8 kB / 419.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.005001, allocations: 10.27 kB / 419.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.005043, allocations: 20.56 kB / 419.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.00537, allocations: 222.5 kB / 420.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005384, allocations: 5 kB / 420.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.00541, allocations: 17.72 kB / 420.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.005587, allocations: 111.2 kB / 420.3 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.005599, allocations: 1.656 kB / 420.3 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.00561, allocations: 0.8906 kB / 420.3 MB, free: 9.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.005618, allocations: 7.375 kB / 420.3 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.00579, allocations: 101 kB / 420.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.006265, allocations: 379.1 kB / 420.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.006553, allocations: 156.4 kB / 420.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.006634, allocations: 60.56 kB / 421 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.006647, allocations: 1.562 kB / 421 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.26e-05/0.006659, allocations: 37.23 kB / 421 MB, free: 9.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.006661, allocations: 5.609 kB / 421 MB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006544/0.007315, allocations: 316.3 kB / 421.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.121e-05/0.007336, allocations: 55.16 kB / 421.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.007613, allocations: 252.9 kB / 421.6 MB, free: 9.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.007623, allocations: 30.86 kB / 421.7 MB, free: 9.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.007661, allocations: 109.9 kB / 421.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.007694, allocations: 52.62 kB / 421.8 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.007728, allocations: 29.47 kB / 421.9 MB, free: 9.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.38e-05/0.007762, allocations: 323.8 kB / 422.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.007836, allocations: 54.86 kB / 422.2 MB, free: 8.703 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.007903, allocations: 53.44 kB / 422.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.008538, allocations: 340.6 kB / 422.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.00854, allocations: 0 / 422.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002927/0.008832, allocations: 230.3 kB / 422.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.008847, allocations: 10.84 kB / 422.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008852, allocations: 0 / 422.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.008996, allocations: 60.45 kB / 422.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.009054, allocations: 18.77 kB / 422.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000754/0.009808, allocations: 1.463 MB / 424.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.00992, allocations: 34.41 kB / 424.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.009927, allocations: 2.844 kB / 424.4 MB, free: 7.145 MB / 330.7 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 9.965e-05/0.01003, allocations: 144.1 kB / 424.6 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.01005, allocations: 18.08 kB / 424.6 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.01007, allocations: 24.59 kB / 424.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01007, allocations: 1.469 kB / 424.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01008, allocations: 2.172 kB / 424.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01008, allocations: 0.6562 kB / 424.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01021, allocations: 177.1 kB / 424.8 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01022, allocations: 4 kB / 424.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.637e-05/0.01028, allocations: 14.52 kB / 424.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/0.01039, allocations: 52.02 kB / 424.9 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.0104, allocations: 6.891 kB / 424.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006247/0.01102, allocations: 1.462 MB / 426.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01102, allocations: 4.641 kB / 426.3 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.01138, allocations: 379.4 kB / 426.7 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.01141, allocations: 28.05 kB / 426.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.01142, allocations: 2.047 kB / 426.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01154, allocations: 30.78 kB / 426.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.01159, allocations: 8.875 kB / 426.8 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.0116, allocations: 8.266 kB / 426.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002012/0.0118, allocations: 194.5 kB / 427 MB, free: 5.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0118, allocations: 0 / 427 MB, free: 5.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.01199, allocations: 35.14 kB / 427 MB, free: 5.133 MB / 330.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],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 7.118e-05/0.01206, allocations: 97.97 kB / 427.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.0124, allocations: 268.1 kB / 427.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.0124, allocations: 0 / 427.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.01255, allocations: 192.1 kB / 427.5 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.01277, allocations: 24.47 kB / 427.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.01321, allocations: 341.5 kB / 427.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01332, allocations: 118.3 kB / 428 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.01339, allocations: 26.17 kB / 428 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.01343, allocations: 15.48 kB / 428.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01343, allocations: 0 / 428.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of Templates: time 0.004/0.01743, allocations: 2.067 MB / 430.1 MB, free: 4.219 MB / 330.7 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.724665492773056] Failed to read output from testmodel.py, exit status != 0: 0.02241240069270134 0.030328727000000003 0.02455912 Calling exit ...