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.0006604/0.0006604, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.000872/0.000872, allocations: 165.2 kB / 23.98 MB, free: 0.5898 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 0.9018/0.9018, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.0589/0.0589, allocations: 18.12 MB / 278.8 MB, free: 11.52 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.533e-06/1.533e-06, allocations: 0 / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.72e-05, allocations: 2.281 kB / 416.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001481/0.001508, allocations: 0.9441 MB / 417.3 MB, free: 11.9 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.002543, allocations: 1.225 MB / 418.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.002615, allocations: 10.62 kB / 418.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.002897, allocations: 34.64 kB / 418.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.003013, allocations: 46.98 kB / 418.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.003205, allocations: 113.4 kB / 418.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.003367, allocations: 144.5 kB / 418.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.00346, allocations: 20.55 kB / 418.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.107e-05/0.003541, allocations: 64.5 kB / 418.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.003684, allocations: 81.11 kB / 419 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.003716, allocations: 10.16 kB / 419 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.744e-05/0.003733, allocations: 11.78 kB / 419 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.0038, allocations: 50.58 kB / 419.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.003842, allocations: 40.27 kB / 419.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003989, allocations: 139.1 kB / 419.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003991, allocations: 4 kB / 419.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003992, allocations: 0 / 419.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003996, allocations: 0 / 419.2 MB, free: 10.7 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.0006718/0.004668, allocations: 454.1 kB / 419.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.004701, allocations: 10.17 kB / 419.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.004736, allocations: 16.38 kB / 419.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.00505, allocations: 227.7 kB / 419.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.005065, allocations: 9.172 kB / 419.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.005087, allocations: 13.47 kB / 420 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.005245, allocations: 112.4 kB / 420.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.005256, allocations: 1.219 kB / 420.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005266, allocations: 4.359 kB / 420.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005272, allocations: 7.031 kB / 420.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.005432, allocations: 101 kB / 420.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.005886, allocations: 384.1 kB / 420.5 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.00619, allocations: 154.2 kB / 420.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.00627, allocations: 63.12 kB / 420.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.006284, allocations: 1.219 kB / 420.8 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.006297, allocations: 33.2 kB / 420.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.006298, allocations: 0.9688 kB / 420.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007168/0.007015, allocations: 322 kB / 421.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.007035, allocations: 55.2 kB / 421.2 MB, free: 9.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.007294, allocations: 252.5 kB / 421.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.007305, allocations: 31.53 kB / 421.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.007343, allocations: 106.3 kB / 421.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.007376, allocations: 48.2 kB / 421.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.00741, allocations: 25.19 kB / 421.6 MB, free: 9.199 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.714e-05/0.007447, allocations: 328.8 kB / 421.9 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.007521, allocations: 54.69 kB / 422 MB, free: 8.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.007586, allocations: 53.72 kB / 422 MB, free: 8.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/0.008237, allocations: 331.9 kB / 422.4 MB, free: 8.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008239, allocations: 1.094 kB / 422.4 MB, free: 8.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002976/0.008537, allocations: 240.1 kB / 422.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.008552, allocations: 10.56 kB / 422.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.008558, allocations: 1.781 kB / 422.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.00872, allocations: 55.61 kB / 422.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.008778, allocations: 21.38 kB / 422.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/0.009575, allocations: 1.464 MB / 424.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.009685, allocations: 40.31 kB / 424.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.009693, allocations: 2.688 kB / 424.2 MB, free: 7.293 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 0.0001012/0.009795, allocations: 144.8 kB / 424.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.009817, allocations: 15.06 kB / 424.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.009842, allocations: 25.19 kB / 424.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.009843, allocations: 1.438 kB / 424.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.009846, allocations: 1.5 kB / 424.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.009851, allocations: 0.6094 kB / 424.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.009979, allocations: 180.9 kB / 424.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009982, allocations: 1.906 kB / 424.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.01005, allocations: 18.31 kB / 424.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.01015, allocations: 51.75 kB / 424.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.01016, allocations: 5.875 kB / 424.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006202/0.01078, allocations: 1.463 MB / 426.1 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01078, allocations: 8 kB / 426.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.01113, allocations: 376.5 kB / 426.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.01115, allocations: 25.05 kB / 426.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.01116, allocations: 2.188 kB / 426.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01128, allocations: 30 kB / 426.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.01132, allocations: 8.969 kB / 426.5 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.01132, allocations: 7.078 kB / 426.5 MB, free: 5.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.01153, allocations: 196 kB / 426.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01153, allocations: 0 / 426.7 MB, free: 5.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.01171, allocations: 34.64 kB / 426.8 MB, free: 5.281 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 6.751e-05/0.01177, allocations: 100.8 kB / 426.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.01209, allocations: 255.4 kB / 427.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01209, allocations: 0 / 427.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.01222, allocations: 199.3 kB / 427.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.01244, allocations: 32.33 kB / 427.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.01287, allocations: 371.5 kB / 427.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.053e-05/0.01296, allocations: 122.2 kB / 427.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.01299, allocations: 15.12 kB / 427.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.013, allocations: 0 / 427.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of Templates: time 0.004218/0.01721, allocations: 2.625 MB / 430.5 MB, free: 4.371 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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.550184019841254] Failed to read output from testmodel.py, exit status != 0: 0.022099478170275688 0.030358473 0.024623321 Calling exit ...