Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.001084/0.001084, allocations: 91.55 kB / 20.97 MB, free: 3.586 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.001107/0.001107, allocations: 177 kB / 24.28 MB, free: 284 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.06624/0.06624, allocations: 18.14 MB / 279.2 MB, free: 11.36 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_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 357.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.501e-05, allocations: 2.312 kB / 357.3 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002564/0.002589, allocations: 2.336 MB / 359.6 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.00355, allocations: 0.5375 MB / 360.1 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.003658, allocations: 7.938 kB / 360.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.003777, allocations: 31.7 kB / 360.2 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.003874, allocations: 59.42 kB / 360.2 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.00402, allocations: 47.92 kB / 360.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.004202, allocations: 218.9 kB / 360.5 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.004356, allocations: 77.38 kB / 360.6 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.004429, allocations: 75.78 kB / 360.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.004535, allocations: 75.78 kB / 360.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.004562, allocations: 16 kB / 360.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.252e-05/0.004585, allocations: 20 kB / 360.7 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.004614, allocations: 35.84 kB / 360.8 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.13e-05/0.004676, allocations: 75.83 kB / 360.8 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.004852, allocations: 135.5 kB / 361 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004854, allocations: 0 / 361 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004855, allocations: 0 / 361 MB, free: 4.426 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.004861, allocations: 4 kB / 361 MB, free: 4.422 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005808/0.005442, allocations: 0.5003 MB / 361.5 MB, free: 3.887 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.005485, allocations: 12.03 kB / 361.5 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.005556, allocations: 32.84 kB / 361.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.005768, allocations: 152.4 kB / 361.7 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.005794, allocations: 16.88 kB / 361.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.005829, allocations: 20.31 kB / 361.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.006152, allocations: 179.1 kB / 361.9 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.006163, allocations: 4.188 kB / 361.9 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.006179, allocations: 4.375 kB / 361.9 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.006191, allocations: 11.94 kB / 361.9 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.006324, allocations: 74.92 kB / 362 MB, free: 3.348 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.006997, allocations: 0.5975 MB / 362.6 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.007194, allocations: 111 kB / 362.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.007255, allocations: 43.67 kB / 362.7 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.007264, allocations: 0 / 362.7 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.007287, allocations: 41.39 kB / 362.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.007288, allocations: 0 / 362.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002202/0.007508, allocations: 132.7 kB / 362.9 MB, free: 2.352 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.007537, allocations: 55.39 kB / 363 MB, free: 2.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.007622, allocations: 184.8 kB / 363.1 MB, free: 2.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.007637, allocations: 33.7 kB / 363.2 MB, free: 2.051 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.007704, allocations: 191.1 kB / 363.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.007733, allocations: 55.48 kB / 363.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.007775, allocations: 43.36 kB / 363.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.007896, allocations: 0.4961 MB / 363.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.007937, allocations: 23.98 kB / 364 MB, free: 1.223 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.007998, allocations: 61.17 kB / 364 MB, free: 1.148 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.008101, allocations: 102.6 kB / 364.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.008103, allocations: 4 kB / 364.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001464/0.00825, allocations: 137.4 kB / 364.3 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.008263, allocations: 6.656 kB / 364.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008268, allocations: 0 / 364.3 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.008283, allocations: 11.92 kB / 364.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.008383, allocations: 35.98 kB / 364.3 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.008389, allocations: 4 kB / 364.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.008423, allocations: 11.95 kB / 364.3 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.00843, allocations: 4 kB / 364.3 MB, free: 0.8164 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.759e-05/0.008507, allocations: 172.5 kB / 364.5 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.008532, allocations: 19.91 kB / 364.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.008565, allocations: 16.77 kB / 364.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.008569, allocations: 7.938 kB / 364.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.008572, allocations: 0 / 364.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.008575, allocations: 0 / 364.6 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.008727, allocations: 172.6 kB / 364.7 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.00873, allocations: 8 kB / 364.7 MB, free: 392 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.747e-05/0.008828, allocations: 35.92 kB / 364.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.008829, allocations: 0 / 364.8 MB, free: 356 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.008839, allocations: 8 kB / 364.8 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.00884, allocations: 0 / 364.8 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.008841, allocations: 7.938 kB / 364.8 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.00907, allocations: 287.8 kB / 365.1 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.009083, allocations: 15.88 kB / 365.1 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.009097, allocations: 0 / 365.1 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.274e-05/0.00915, allocations: 8 kB / 365.1 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.009201, allocations: 12.12 kB / 365.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.009207, allocations: 4 kB / 365.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.009257, allocations: 147.2 kB / 365.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009257, allocations: 0 / 365.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001756/0.009433, allocations: 47.83 kB / 365.3 MB, free: 15.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,Ccont.T) * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.945e-05/0.009502, allocations: 107.2 kB / 365.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.009643, allocations: 79.59 kB / 365.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009645, allocations: 4 kB / 365.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-05/0.0097, allocations: 55.11 kB / 365.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.009902, allocations: 16.19 kB / 365.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.01069, allocations: 429 kB / 366 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.925e-05/0.01074, allocations: 71.83 kB / 366 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.703e-05/0.01078, allocations: 12.66 kB / 366 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.01082, allocations: 12.5 kB / 366.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01082, allocations: 0 / 366.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of Templates: time 0.004014/0.01483, allocations: 1.128 MB / 367.2 MB, free: 13.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0119670450221747]