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.001261/0.001261, allocations: 83.03 kB / 19.96 MB, free: 1.754 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.001412/0.001412, allocations: 165.5 kB / 23.23 MB, free: 4.883 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.492/1.492, allocations: 177.1 MB / 203.5 MB, free: 9.172 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.1027/0.1027, allocations: 18.15 MB / 278.1 MB, free: 15.05 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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 415.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/3.988e-05, allocations: 6.219 kB / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002122/0.002162, allocations: 0.9643 MB / 416.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.00386, allocations: 1.217 MB / 417.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.003932, allocations: 0 / 417.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.00426, allocations: 39.7 kB / 417.8 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004434, allocations: 39.78 kB / 417.8 MB, free: 304 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002985/0.004733, allocations: 115.7 kB / 417.9 MB, free: 188 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.004982, allocations: 139.6 kB / 418.1 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.005098, allocations: 25.61 kB / 418.1 MB, free: 20 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.00522, allocations: 59.89 kB / 418.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.00539, allocations: 79.73 kB / 418.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.005437, allocations: 15.94 kB / 418.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.769e-05/0.005465, allocations: 12 kB / 418.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.005561, allocations: 55.81 kB / 418.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.005621, allocations: 27.92 kB / 418.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.005821, allocations: 143.5 kB / 418.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.005824, allocations: 4 kB / 418.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005824, allocations: 0 / 418.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005829, allocations: 0 / 418.5 MB, free: 15.63 MB / 350.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.001153/0.006981, allocations: 465.4 kB / 418.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.007017, allocations: 8.922 kB / 419 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.007064, allocations: 16.84 kB / 419 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.007646, allocations: 221.4 kB / 419.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.007664, allocations: 16.36 kB / 419.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.007693, allocations: 4.375 kB / 419.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.007938, allocations: 116.8 kB / 419.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.007951, allocations: 192 / 419.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.007968, allocations: 4.375 kB / 419.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.007974, allocations: 3.938 kB / 419.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.008215, allocations: 99.92 kB / 419.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.008997, allocations: 380.2 kB / 419.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.009419, allocations: 154.4 kB / 419.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.009554, allocations: 64.83 kB / 420 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.00957, allocations: 3.938 kB / 420 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.009597, allocations: 34.78 kB / 420 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.009599, allocations: 3.938 kB / 420.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001062/0.01066, allocations: 314.2 kB / 420.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.01071, allocations: 59.39 kB / 420.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.01122, allocations: 251.2 kB / 420.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01124, allocations: 25.7 kB / 420.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.01131, allocations: 108.1 kB / 420.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.01137, allocations: 55.52 kB / 420.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.01143, allocations: 29.7 kB / 420.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.01157, allocations: 326.8 kB / 421.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.01169, allocations: 47.97 kB / 421.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.0118, allocations: 62.56 kB / 421.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.01295, allocations: 324.5 kB / 421.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01295, allocations: 0 / 421.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004912/0.01344, allocations: 238.2 kB / 421.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01346, allocations: 7.938 kB / 421.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.01346, allocations: 0 / 421.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.01368, allocations: 60.8 kB / 421.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01378, allocations: 15.94 kB / 421.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.01529, allocations: 1.468 MB / 423.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.01552, allocations: 35.88 kB / 423.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01553, allocations: 8 kB / 423.4 MB, free: 10.39 MB / 350.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.0001738/0.0157, allocations: 145.7 kB / 423.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.01575, allocations: 15.84 kB / 423.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.0158, allocations: 21.47 kB / 423.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.0158, allocations: 4 kB / 423.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01581, allocations: 0 / 423.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01581, allocations: 0 / 423.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.01605, allocations: 177.1 kB / 423.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01605, allocations: 0 / 423.8 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.01616, allocations: 15.98 kB / 423.8 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002032/0.01637, allocations: 60.81 kB / 423.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.01638, allocations: 3.984 kB / 423.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.01782, allocations: 1.468 MB / 425.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.01782, allocations: 11.94 kB / 425.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.01847, allocations: 371.6 kB / 425.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.0185, allocations: 23.88 kB / 425.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.01853, allocations: 4 kB / 425.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.0188, allocations: 27.95 kB / 425.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.01886, allocations: 11.98 kB / 425.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01887, allocations: 8 kB / 425.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004414/0.01932, allocations: 199.1 kB / 426 MB, free: 7.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01932, allocations: 0 / 426 MB, free: 7.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003/0.01962, allocations: 39.83 kB / 426 MB, free: 7.641 MB / 350.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 0.0001244/0.01974, allocations: 101.2 kB / 426.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.02028, allocations: 258.5 kB / 426.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.02029, allocations: 0 / 426.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.02061, allocations: 186.6 kB / 426.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.02094, allocations: 27.92 kB / 426.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.0216, allocations: 345.9 kB / 426.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.02174, allocations: 118.8 kB / 427 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.939e-05/0.02182, allocations: 25.12 kB / 427.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.02186, allocations: 20.48 kB / 427.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02186, allocations: 4 kB / 427.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of Templates: time 0.005619/0.02748, allocations: 2.05 MB / 429.1 MB, free: 4.465 MB / 350.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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.535749211907387] Failed to read output from testmodel.py, exit status != 0: 0.03633875772356987 0.051346368 0.042373657 Calling exit ...