Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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.001083/0.001083, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001751/0.001751, allocations: 177 kB / 24.28 MB, free: 280 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.041/1.041, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.06713/0.06713, allocations: 18.13 MB / 279.2 MB, free: 11.39 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_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 357.2 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.925e-05/3.116e-05, allocations: 2.312 kB / 357.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.00521/0.005241, allocations: 3.143 MB / 360.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.006885, allocations: 0.9111 MB / 361.3 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.007108, allocations: 11.94 kB / 361.3 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.007314, allocations: 75.25 kB / 361.4 MB, free: 4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.007554, allocations: 103 kB / 361.5 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.007887, allocations: 199.6 kB / 361.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.008275, allocations: 490.6 kB / 362.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.00854, allocations: 150.5 kB / 362.3 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.008705, allocations: 155.6 kB / 362.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.008882, allocations: 123.5 kB / 362.6 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.00893, allocations: 40 kB / 362.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.851e-05/0.008969, allocations: 40 kB / 362.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.009033, allocations: 91.66 kB / 362.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.009138, allocations: 135.6 kB / 362.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.009472, allocations: 306.8 kB / 363.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.009476, allocations: 0 / 363.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009478, allocations: 0 / 363.2 MB, free: 2.199 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.009485, allocations: 0 / 363.2 MB, free: 2.199 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007528/0.01024, allocations: 0.726 MB / 363.9 MB, free: 1.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.01028, allocations: 8.922 kB / 363.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.01037, allocations: 76.66 kB / 364 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.01071, allocations: 283.3 kB / 364.3 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.01074, allocations: 21.38 kB / 364.3 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.01079, allocations: 40.33 kB / 364.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.01125, allocations: 401.3 kB / 364.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.01127, allocations: 8.125 kB / 364.7 MB, free: 0.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.01129, allocations: 8.375 kB / 364.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.01131, allocations: 19.88 kB / 364.8 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.01155, allocations: 129.9 kB / 364.9 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.01282, allocations: 1.181 MB / 366.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.01322, allocations: 194.8 kB / 366.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.01332, allocations: 68.06 kB / 366.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.01334, allocations: 8.234 kB / 366.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.01337, allocations: 33.62 kB / 366.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.513e-06/0.01337, allocations: 0 / 366.4 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003647/0.01374, allocations: 224.2 kB / 366.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.01379, allocations: 114.8 kB / 366.7 MB, free: 14.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.01398, allocations: 290.4 kB / 367 MB, free: 14.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.014, allocations: 37.62 kB / 367 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01413, allocations: 267 kB / 367.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.01418, allocations: 95.17 kB / 367.4 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.01425, allocations: 63.31 kB / 367.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.01439, allocations: 0.5079 MB / 367.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.829e-05/0.01448, allocations: 47.66 kB / 368 MB, free: 13.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.01462, allocations: 192.9 kB / 368.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01483, allocations: 187.2 kB / 368.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01484, allocations: 0 / 368.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002719/0.01511, allocations: 225.3 kB / 368.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01512, allocations: 4 kB / 368.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.01513, allocations: 12.12 kB / 368.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.01515, allocations: 4 kB / 368.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.01532, allocations: 67.89 kB / 368.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.01533, allocations: 0 / 368.7 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.01541, allocations: 31.78 kB / 368.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.01543, allocations: 15.94 kB / 368.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001302/0.01556, allocations: 170.8 kB / 368.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001346/0.01569, allocations: 184.5 kB / 369.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001836/0.01588, allocations: 170 kB / 369.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.01588, allocations: 0 / 369.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0002511/0.01613, allocations: 229.3 kB / 369.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.01614, allocations: 8 kB / 369.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.01614, allocations: 0 / 369.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/0.01615, allocations: 12.12 kB / 369.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.0163, allocations: 67.91 kB / 369.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.0163, allocations: 4 kB / 369.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.01638, allocations: 23.88 kB / 369.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.01639, allocations: 12 kB / 369.6 MB, free: 11.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001189/0.01651, allocations: 284 kB / 369.8 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.01655, allocations: 39.81 kB / 369.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.01685, allocations: 198.8 kB / 370.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01685, allocations: 0 / 370.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01686, allocations: 0 / 370.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.01686, allocations: 11.98 kB / 370.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.01713, allocations: 268.4 kB / 370.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01713, allocations: 0 / 370.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.01729, allocations: 59.91 kB / 370.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01729, allocations: 0 / 370.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.01731, allocations: 8 kB / 370.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01731, allocations: 3.938 kB / 370.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.01731, allocations: 3.984 kB / 370.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.01769, allocations: 384.8 kB / 370.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.01775, allocations: 47.73 kB / 370.9 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.01778, allocations: 8 kB / 370.9 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.01787, allocations: 19.92 kB / 370.9 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.01792, allocations: 16.02 kB / 370.9 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.01793, allocations: 7.984 kB / 370.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.01804, allocations: 218.9 kB / 371.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01804, allocations: 0 / 371.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.01836, allocations: 147.6 kB / 371.3 MB, free: 9.605 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Cbody.T,PID.I.y,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 (28): * Single equations (assignments): 28 * 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 9.56e-05/0.01845, allocations: 99.25 kB / 371.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.01881, allocations: 247.2 kB / 371.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01881, allocations: 3.938 kB / 371.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.002e-05/0.0189, allocations: 83.56 kB / 371.7 MB, free: 9.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.01923, allocations: 72.95 kB / 371.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.02029, allocations: 0.6807 MB / 372.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.02036, allocations: 96.94 kB / 372.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.02047, allocations: 34.28 kB / 372.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.788e-05/0.02053, allocations: 24.5 kB / 372.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of SimCode: time 2.906e-06/0.02053, allocations: 3.938 kB / 372.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Templates: time 0.005165/0.0257, allocations: 3.087 MB / 375.7 MB, free: 5.18 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.175630355020985]