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.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.001828/0.001828, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00224/0.00224, allocations: 186 kB / 20.78 MB, free: 1.547 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.475/1.475, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.09661/0.09661, allocations: 22.68 MB / 327.2 MB, free: 7.227 MB / 254.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.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_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 0.00195/0.00195, allocations: 74.95 kB / 460.6 MB, free: 41.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 58.02 MB / 0.5065 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.00334/0.1108, allocations: 3.207 MB / 0.5096 GB, free: 3.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.112, allocations: 0.8998 MB / 0.5105 GB, free: 2.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002261/0.1122, allocations: 15.94 kB / 0.5105 GB, free: 2.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002399/0.1124, allocations: 67.25 kB / 0.5106 GB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1127, allocations: 111 kB / 0.5107 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1131, allocations: 198 kB / 0.5109 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1134, allocations: 466.9 kB / 0.5113 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.1136, allocations: 154.2 kB / 0.5115 GB, free: 1.539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1138, allocations: 175.3 kB / 0.5116 GB, free: 1.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1139, allocations: 179.1 kB / 0.5118 GB, free: 1.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.114, allocations: 40 kB / 0.5119 GB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-05/0.114, allocations: 40 kB / 0.5119 GB, free: 1.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.1141, allocations: 91.67 kB / 0.512 GB, free: 1.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1142, allocations: 198.9 kB / 0.5122 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1146, allocations: 473.9 kB / 0.5126 GB, free: 372 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1146, allocations: 0 / 0.5126 GB, free: 372 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1146, allocations: 0 / 0.5126 GB, free: 372 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1146, allocations: 0 / 0.5126 GB, free: 372 kB / 366.1 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.001051/0.1156, allocations: 0.6992 MB / 0.5133 GB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.1157, allocations: 8.75 kB / 0.5133 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1158, allocations: 52.64 kB / 0.5134 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.1165, allocations: 331.5 kB / 0.5137 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.1165, allocations: 25.38 kB / 0.5137 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.846e-05/0.1166, allocations: 48.25 kB / 0.5137 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009717/0.1176, allocations: 368.2 kB / 0.5141 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.1176, allocations: 7.984 kB / 0.5141 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1177, allocations: 8 kB / 0.5141 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1177, allocations: 12 kB / 0.5141 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.1185, allocations: 251.8 kB / 0.5144 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.1213, allocations: 1.295 MB / 0.5156 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.1223, allocations: 282 kB / 0.5159 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.1227, allocations: 113.3 kB / 0.516 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.1227, allocations: 4.234 kB / 0.516 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.1227, allocations: 34.8 kB / 0.516 GB, free: 12.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/0.1227, allocations: 0 / 0.516 GB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.001092/0.1238, allocations: 328.1 kB / 0.5164 GB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1239, allocations: 81.11 kB / 0.5164 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.1243, allocations: 267 kB / 0.5167 GB, free: 11.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.1244, allocations: 29.7 kB / 0.5167 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.1246, allocations: 224.3 kB / 0.5169 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.1247, allocations: 103.1 kB / 0.517 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.1249, allocations: 53.7 kB / 0.5171 GB, free: 11.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.1251, allocations: 346.8 kB / 0.5174 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.1254, allocations: 92.67 kB / 0.5175 GB, free: 11.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.1258, allocations: 142.8 kB / 0.5176 GB, free: 10.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.1264, allocations: 251.1 kB / 0.5179 GB, free: 10.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1265, allocations: 4 kB / 0.5179 GB, free: 10.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008484/0.1273, allocations: 301.2 kB / 0.5182 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1273, allocations: 8 kB / 0.5182 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1273, allocations: 0 / 0.5182 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.1274, allocations: 4 kB / 0.5182 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.1278, allocations: 68.09 kB / 0.5182 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1278, allocations: 7.938 kB / 0.5183 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.1281, allocations: 39.77 kB / 0.5183 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.1281, allocations: 12 kB / 0.5183 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003806/0.1285, allocations: 180.1 kB / 0.5185 GB, free: 10.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002998/0.1288, allocations: 139.7 kB / 0.5186 GB, free: 9.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005277/0.1293, allocations: 218.2 kB / 0.5188 GB, free: 9.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.874e-06/0.1293, allocations: 0 / 0.5188 GB, free: 9.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0006982/0.13, allocations: 289.2 kB / 0.5191 GB, free: 9.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.13, allocations: 8 kB / 0.5191 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.13, allocations: 0 / 0.5191 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.1301, allocations: 4 kB / 0.5191 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.1305, allocations: 63.91 kB / 0.5192 GB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1305, allocations: 3.984 kB / 0.5192 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1307, allocations: 23.89 kB / 0.5192 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.1307, allocations: 12.17 kB / 0.5192 GB, free: 9.262 MB / 382.1 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.0001987/0.1309, allocations: 204.9 kB / 0.5194 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.131, allocations: 31.81 kB / 0.5194 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.1319, allocations: 276.7 kB / 0.5197 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.1319, allocations: 4 kB / 0.5197 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1319, allocations: 0 / 0.5197 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1319, allocations: 0 / 0.5197 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.1326, allocations: 405.2 kB / 0.5201 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1327, allocations: 7.984 kB / 0.5201 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.1331, allocations: 63.84 kB / 0.5202 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1331, allocations: 0 / 0.5202 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1331, allocations: 8 kB / 0.5202 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1331, allocations: 0 / 0.5202 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1331, allocations: 0 / 0.5202 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1343, allocations: 467.2 kB / 0.5206 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.1345, allocations: 128.8 kB / 0.5207 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.1345, allocations: 11.98 kB / 0.5207 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.1348, allocations: 8 kB / 0.5207 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.1349, allocations: 15.97 kB / 0.5208 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.1349, allocations: 12 kB / 0.5208 GB, free: 7.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000269/0.1352, allocations: 190 kB / 0.521 GB, free: 7.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1352, allocations: 0 / 0.521 GB, free: 7.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008384/0.136, allocations: 155.5 kB / 0.5211 GB, free: 7.207 MB / 382.1 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 0.0001608/0.1362, allocations: 107.2 kB / 0.5212 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.1372, allocations: 328.3 kB / 0.5215 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1372, allocations: 0 / 0.5215 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.1375, allocations: 108.4 kB / 0.5216 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007472/0.1383, allocations: 72.94 kB / 0.5217 GB, free: 6.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1402, allocations: 0.7657 MB / 0.5224 GB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.1406, allocations: 0.7915 MB / 0.5232 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001677/0.1408, allocations: 38.95 kB / 0.5232 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.1409, allocations: 27.44 kB / 0.5233 GB, free: 4.926 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1409, allocations: 0 / 0.5233 GB, free: 4.926 MB / 382.1 MB Notification: Performance of Templates: time 0.00827/0.1492, allocations: 3.261 MB / 0.5265 GB, free: 1.699 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.922638410702348]