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.001774/0.001774, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 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.002216/0.002216, allocations: 203.2 kB / 20.11 MB, free: 3.066 MB / 14.72 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.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1049/0.1049, allocations: 24.03 MB / 333.6 MB, free: 1.641 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.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 76.08 kB / 468.9 MB, free: 31.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1261, allocations: 59.54 MB / 0.5161 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.005084/0.1312, allocations: 3.194 MB / 0.5192 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1332, allocations: 0.9308 MB / 0.5201 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.1334, allocations: 11.94 kB / 0.5201 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.1337, allocations: 75.25 kB / 0.5202 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.134, allocations: 99.08 kB / 0.5203 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.1345, allocations: 203.6 kB / 0.5205 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.135, allocations: 470.9 kB / 0.5209 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.1353, allocations: 154.2 kB / 0.5211 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1355, allocations: 175.3 kB / 0.5212 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.1358, allocations: 179.1 kB / 0.5214 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.854e-05/0.1358, allocations: 40 kB / 0.5214 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.1359, allocations: 40 kB / 0.5215 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.136, allocations: 87.7 kB / 0.5215 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.1362, allocations: 206.8 kB / 0.5217 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.1368, allocations: 470 kB / 0.5222 GB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1368, allocations: 0 / 0.5222 GB, free: 5.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1368, allocations: 0 / 0.5222 GB, free: 5.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1368, allocations: 0 / 0.5222 GB, free: 5.457 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001146/0.1379, allocations: 0.7034 MB / 0.5229 GB, free: 4.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.138, allocations: 12.62 kB / 0.5229 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.1381, allocations: 48.66 kB / 0.5229 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.1386, allocations: 335.4 kB / 0.5233 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1386, allocations: 29.38 kB / 0.5233 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-05/0.1387, allocations: 36.38 kB / 0.5233 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.1394, allocations: 369.1 kB / 0.5237 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1394, allocations: 7.938 kB / 0.5237 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.1394, allocations: 16 kB / 0.5237 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.1394, allocations: 15.98 kB / 0.5237 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.14, allocations: 247.9 kB / 0.5239 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.142, allocations: 1.303 MB / 0.5252 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.1427, allocations: 277.3 kB / 0.5255 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.143, allocations: 117.3 kB / 0.5256 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.143, allocations: 4.234 kB / 0.5256 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.143, allocations: 38.72 kB / 0.5256 GB, free: 1.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.472e-06/0.143, allocations: 0 / 0.5256 GB, free: 1.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007304/0.1438, allocations: 320.2 kB / 0.5259 GB, free: 1.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.1438, allocations: 110.8 kB / 0.5261 GB, free: 1.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.1441, allocations: 274.9 kB / 0.5263 GB, free: 1.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1442, allocations: 33.7 kB / 0.5263 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1443, allocations: 212.4 kB / 0.5265 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.288e-05/0.1444, allocations: 103.2 kB / 0.5266 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.741e-05/0.1445, allocations: 57.66 kB / 0.5267 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1447, allocations: 338.8 kB / 0.527 GB, free: 256 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1449, allocations: 96.67 kB / 0.5271 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1452, allocations: 163.4 kB / 0.5273 GB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.1456, allocations: 243.4 kB / 0.5275 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1456, allocations: 0 / 0.5275 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005637/0.1462, allocations: 309.2 kB / 0.5278 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1462, allocations: 8 kB / 0.5278 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1462, allocations: 0 / 0.5278 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1462, allocations: 4 kB / 0.5278 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.1465, allocations: 67.89 kB / 0.5279 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1466, allocations: 4 kB / 0.5279 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.1467, allocations: 31.78 kB / 0.5279 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.1468, allocations: 16.19 kB / 0.5279 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002526/0.147, allocations: 180.1 kB / 0.5281 GB, free: 15.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002116/0.1472, allocations: 147.6 kB / 0.5282 GB, free: 14.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000344/0.1476, allocations: 218.2 kB / 0.5284 GB, free: 14.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.1476, allocations: 3.938 kB / 0.5284 GB, free: 14.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004588/0.148, allocations: 281.4 kB / 0.5287 GB, free: 14.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.148, allocations: 8 kB / 0.5287 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.148, allocations: 0 / 0.5287 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.148, allocations: 4 kB / 0.5287 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.1483, allocations: 71.84 kB / 0.5288 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1483, allocations: 4 kB / 0.5288 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.1485, allocations: 23.84 kB / 0.5288 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1485, allocations: 8 kB / 0.5288 GB, free: 14.28 MB / 398.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.0001524/0.1486, allocations: 205 kB / 0.529 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.1487, allocations: 31.81 kB / 0.5291 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.1493, allocations: 280.8 kB / 0.5293 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1493, allocations: 4 kB / 0.5293 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1493, allocations: 3.984 kB / 0.5293 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1493, allocations: 0 / 0.5293 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.1498, allocations: 393.2 kB / 0.5297 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1498, allocations: 0 / 0.5297 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.1501, allocations: 63.91 kB / 0.5298 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1501, allocations: 4 kB / 0.5298 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1501, allocations: 0 / 0.5298 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.1501, allocations: 8 kB / 0.5298 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1501, allocations: 0 / 0.5298 GB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007893/0.1509, allocations: 471.1 kB / 0.5302 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.1511, allocations: 132.8 kB / 0.5304 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.1511, allocations: 4 kB / 0.5304 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.1513, allocations: 15.98 kB / 0.5304 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.1513, allocations: 15.98 kB / 0.5304 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1514, allocations: 7.938 kB / 0.5304 GB, free: 12.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.1516, allocations: 194 kB / 0.5306 GB, free: 12.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1516, allocations: 0 / 0.5306 GB, free: 12.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.1521, allocations: 147.6 kB / 0.5307 GB, free: 12.24 MB / 398.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.0001331/0.1522, allocations: 115.2 kB / 0.5308 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.1529, allocations: 319.7 kB / 0.5311 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1529, allocations: 0 / 0.5311 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.1531, allocations: 109 kB / 0.5312 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.1536, allocations: 74.55 kB / 0.5313 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.155, allocations: 0.7688 MB / 0.5321 GB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1555, allocations: 0.7915 MB / 0.5328 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1556, allocations: 34.97 kB / 0.5329 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.1557, allocations: 23.44 kB / 0.5329 GB, free: 9.957 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1557, allocations: 0 / 0.5329 GB, free: 9.957 MB / 398.1 MB Notification: Performance of Templates: time 0.00759/0.1633, allocations: 3.2 MB / 0.536 GB, free: 6.793 MB / 398.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: 5.107689408585429] Failed to read output from testmodel.py, exit status != 0: 0.17183303087949753 0.18572279 0.046107050000000004 Calling exit ...