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.0006856/0.0006856, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008936/0.001579, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006587/0.0006587, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008889/0.001548, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.042/1.042, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.143, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.08745/0.08745, allocations: 18.12 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01257/0.1, allocations: 6.786 MB / 269 MB, free: 6.246 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 2.465e-06/2.465e-06, allocations: 0 / 270.5 MB, free: 4.785 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.186e-05/3.433e-05, allocations: 6.25 kB / 270.5 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.005246/0.00528, allocations: 3.186 MB / 273.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.00759, allocations: 0.9461 MB / 274.6 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004275/0.008017, allocations: 11.94 kB / 274.7 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.008247, allocations: 75.19 kB / 274.7 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.008553, allocations: 111 kB / 274.8 MB, free: 424 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000509/0.009062, allocations: 199.5 kB / 275 MB, free: 224 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.125/0.134, allocations: 471.7 kB / 275.5 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.1343, allocations: 154.8 kB / 275.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.1346, allocations: 287.5 kB / 275.9 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1348, allocations: 132.6 kB / 276.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.1348, allocations: 39.97 kB / 276.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-05/0.1349, allocations: 39.75 kB / 276.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.1349, allocations: 68.19 kB / 276.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.135, allocations: 108.8 kB / 276.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1354, allocations: 277.5 kB / 276.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.589e-06/0.1354, allocations: 0 / 276.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1354, allocations: 1 kB / 276.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1354, allocations: 0 / 276.6 MB, free: 1.859 MB / 266.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.0006747/0.1361, allocations: 0.6866 MB / 277.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.1361, allocations: 10.19 kB / 277.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1362, allocations: 58.34 kB / 277.3 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1365, allocations: 236.3 kB / 277.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1365, allocations: 24.62 kB / 277.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.1366, allocations: 36.14 kB / 277.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.1369, allocations: 379.8 kB / 278 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1369, allocations: 192 / 278 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.137, allocations: 14.09 kB / 278 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.137, allocations: 12.81 kB / 278 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001452/0.1371, allocations: 101.1 kB / 278.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009582/0.1381, allocations: 0.8595 MB / 279 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.1384, allocations: 151.5 kB / 279.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.1385, allocations: 52.67 kB / 279.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1385, allocations: 7 kB / 279.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1385, allocations: 34.2 kB / 279.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.1385, allocations: 0.9375 kB / 279.2 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002784/0.1388, allocations: 158.5 kB / 279.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.1388, allocations: 59.38 kB / 279.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.139, allocations: 244.8 kB / 279.7 MB, free: 396 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.139, allocations: 33.33 kB / 279.7 MB, free: 364 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.138e-05/0.1391, allocations: 202.2 kB / 279.9 MB, free: 220 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.1391, allocations: 94.44 kB / 280 MB, free: 156 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.1392, allocations: 59.77 kB / 280.1 MB, free: 140 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.442e-05/0.1393, allocations: 339.7 kB / 280.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.1393, allocations: 34 kB / 280.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.1394, allocations: 151.1 kB / 280.6 MB, free: 15.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.1396, allocations: 149 kB / 280.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1396, allocations: 0.9688 kB / 280.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001968/0.1398, allocations: 166 kB / 280.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1398, allocations: 6.438 kB / 280.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1398, allocations: 1.906 kB / 280.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1398, allocations: 4.25 kB / 280.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.14, allocations: 89.39 kB / 281 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.14, allocations: 5.359 kB / 281 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.116e-05/0.1401, allocations: 28.19 kB / 281 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1401, allocations: 10.27 kB / 281 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.993e-05/0.1402, allocations: 110.1 kB / 281.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.394e-05/0.1403, allocations: 147 kB / 281.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001188/0.1404, allocations: 140 kB / 281.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.82e-07/0.1404, allocations: 0 / 281.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000176/0.1406, allocations: 165.2 kB / 281.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-06/0.1406, allocations: 6.031 kB / 281.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-06/0.1406, allocations: 1.781 kB / 281.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.1406, allocations: 5.469 kB / 281.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1408, allocations: 84.27 kB / 281.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.1408, allocations: 2.969 kB / 281.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.1408, allocations: 26.81 kB / 281.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1408, allocations: 10.3 kB / 281.7 MB, free: 15.24 MB / 282.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 9.818e-05/0.1409, allocations: 202.7 kB / 281.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.141, allocations: 27.41 kB / 281.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.1412, allocations: 163.5 kB / 282.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1412, allocations: 1.875 kB / 282.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1412, allocations: 1.25 kB / 282.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1412, allocations: 1.5 kB / 282.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1414, allocations: 192.5 kB / 282.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1414, allocations: 3.875 kB / 282.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.1416, allocations: 66.48 kB / 282.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1417, allocations: 33.2 kB / 282.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1417, allocations: 1.125 kB / 282.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1417, allocations: 15.75 kB / 282.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1417, allocations: 1.469 kB / 282.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1417, allocations: 0.9375 kB / 282.4 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.142, allocations: 272.8 kB / 282.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.142, allocations: 8.812 kB / 282.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.554e-05/0.1421, allocations: 23.47 kB / 282.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.1421, allocations: 13.92 kB / 282.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1421, allocations: 7.078 kB / 282.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.1422, allocations: 87.34 kB / 282.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1422, allocations: 0 / 282.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.1425, allocations: 152.8 kB / 282.9 MB, free: 14.71 MB / 282.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 8.798e-05/0.1426, allocations: 90.81 kB / 283 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.1428, allocations: 206.4 kB / 283.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.1429, allocations: 7.469 kB / 283.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.1429, allocations: 81.28 kB / 283.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1433, allocations: 0.5198 MB / 283.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.146, allocations: 0.6718 MB / 284.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.596e-05/0.146, allocations: 101.8 kB / 284.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.1462, allocations: 35.36 kB / 284.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1463, allocations: 116.8 kB / 284.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1463, allocations: 0 / 284.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.005911/0.1523, allocations: 3.543 MB / 288.3 MB, free: 13.25 MB / 282.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: 2.887314200401306]