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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002841/0.002841, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.1153/0.1153, allocations: 22.71 MB / 329 MB, free: 2.336 MB / 254.1 MB " [Timeout remaining time 179] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00267/0.00267, allocations: 71.83 kB / 463.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1701, allocations: 58.06 MB / 0.5089 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.003169/0.1732, allocations: 0.9816 MB / 0.5099 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1753, allocations: 1.221 MB / 0.5111 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1755, allocations: 4 kB / 0.5111 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.1759, allocations: 31.78 kB / 0.5111 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1761, allocations: 47.77 kB / 0.5112 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1764, allocations: 87.84 kB / 0.5113 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1769, allocations: 239.5 kB / 0.5115 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.177, allocations: 29.5 kB / 0.5115 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.1772, allocations: 99.67 kB / 0.5116 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.1775, allocations: 103.7 kB / 0.5117 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.1775, allocations: 12 kB / 0.5117 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.598e-05/0.1776, allocations: 12 kB / 0.5117 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1777, allocations: 55.75 kB / 0.5118 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.1778, allocations: 55.61 kB / 0.5118 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.178, allocations: 139.4 kB / 0.512 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1781, allocations: 0 / 0.512 GB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1781, allocations: 0 / 0.512 GB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1781, allocations: 3.938 kB / 0.512 GB, free: 1.285 MB / 382.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.001408/0.1795, allocations: 449.6 kB / 0.5124 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1795, allocations: 19.97 kB / 0.5124 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.1796, allocations: 16.84 kB / 0.5124 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.1803, allocations: 222.2 kB / 0.5126 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1803, allocations: 4.375 kB / 0.5126 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.1803, allocations: 12.38 kB / 0.5127 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1806, allocations: 120.8 kB / 0.5128 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1806, allocations: 0 / 0.5128 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.1806, allocations: 7.938 kB / 0.5128 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1806, allocations: 0 / 0.5128 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.1809, allocations: 107.8 kB / 0.5129 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2837/0.4646, allocations: 426.9 kB / 0.5133 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.4652, allocations: 150 kB / 0.5134 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.4654, allocations: 65.8 kB / 0.5135 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.4654, allocations: 2.875 kB / 0.5135 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.4654, allocations: 31.59 kB / 0.5135 GB, free: 15.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.597e-06/0.4654, allocations: 0.5312 kB / 0.5135 GB, free: 15.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001332/0.4667, allocations: 324.6 kB / 0.5138 GB, free: 14.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.4668, allocations: 55.78 kB / 0.5139 GB, free: 14.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.4674, allocations: 248.5 kB / 0.5141 GB, free: 14.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4674, allocations: 26.83 kB / 0.5142 GB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.4675, allocations: 107.6 kB / 0.5143 GB, free: 14.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.4675, allocations: 48.2 kB / 0.5143 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.4676, allocations: 25.94 kB / 0.5143 GB, free: 14.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4677, allocations: 333.9 kB / 0.5146 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4678, allocations: 47.17 kB / 0.5147 GB, free: 14.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4679, allocations: 51.5 kB / 0.5147 GB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.469, allocations: 339.9 kB / 0.5151 GB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4691, allocations: 0 / 0.5151 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004933/0.4695, allocations: 238.1 kB / 0.5153 GB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4696, allocations: 7.719 kB / 0.5153 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4696, allocations: 0 / 0.5153 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.4698, allocations: 54.12 kB / 0.5154 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4699, allocations: 20.69 kB / 0.5154 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4711, allocations: 1.492 MB / 0.5168 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.4713, allocations: 41.38 kB / 0.5169 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.4714, allocations: 2.188 kB / 0.5169 GB, free: 13.07 MB / 382.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.0001511/0.4715, allocations: 142.6 kB / 0.517 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.4715, allocations: 15.11 kB / 0.517 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.4716, allocations: 24.72 kB / 0.517 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4716, allocations: 2.062 kB / 0.517 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4716, allocations: 1.125 kB / 0.517 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4716, allocations: 3.938 kB / 0.5171 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.4719, allocations: 225.5 kB / 0.5173 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4719, allocations: 1.156 kB / 0.5173 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.472, allocations: 20.84 kB / 0.5173 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001651/0.4721, allocations: 53.27 kB / 0.5173 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4722, allocations: 3 kB / 0.5173 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009749/0.4731, allocations: 1.502 MB / 0.5188 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4731, allocations: 0 / 0.5188 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.4737, allocations: 378.4 kB / 0.5192 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.4737, allocations: 25.11 kB / 0.5192 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.4737, allocations: 3.484 kB / 0.5192 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.474, allocations: 28.12 kB / 0.5192 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.474, allocations: 11.58 kB / 0.5192 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.474, allocations: 7.938 kB / 0.5192 GB, free: 11.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003935/0.4744, allocations: 196.7 kB / 0.5194 GB, free: 11.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4744, allocations: 0 / 0.5194 GB, free: 11.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.4747, allocations: 31.09 kB / 0.5195 GB, free: 11.3 MB / 382.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.0001088/0.4748, allocations: 102.9 kB / 0.5196 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.4754, allocations: 258.4 kB / 0.5198 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4754, allocations: 0 / 0.5198 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.4756, allocations: 194.7 kB / 0.52 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.476, allocations: 36.78 kB / 0.52 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.4766, allocations: 352.8 kB / 0.5204 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.4768, allocations: 0.7283 MB / 0.5211 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.754e-05/0.4769, allocations: 30.62 kB / 0.5211 GB, free: 10.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.4769, allocations: 13.66 kB / 0.5211 GB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4769, allocations: 0 / 0.5211 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Templates: time 0.006878/0.4838, allocations: 2.023 MB / 0.5231 GB, free: 9.992 MB / 382.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: 5.403714275918901] Failed to read output from testmodel.py, exit status != 0: 0.49558317195624113 0.507969545 0.326675364 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2da875d7b0>