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.0006344/0.0006344, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008454/0.00148, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006734/0.0006734, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008442/0.001518, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9264/0.9264, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09801/1.024, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.08457/0.08457, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01206/0.09663, allocations: 6.782 MB / 268.9 MB, free: 6.352 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.653e-06/1.653e-06, allocations: 0 / 270.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.399e-05, allocations: 6.25 kB / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003435/0.003459, allocations: 3.178 MB / 273.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.004988, allocations: 0.9422 MB / 274.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.005248, allocations: 15.88 kB / 274.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.005398, allocations: 75.25 kB / 274.5 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.005594, allocations: 114.9 kB / 274.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.005916, allocations: 195.6 kB / 274.8 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1091/0.115, allocations: 477.6 kB / 275.3 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.1154, allocations: 152.5 kB / 275.4 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.1157, allocations: 285.9 kB / 275.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.1159, allocations: 129.1 kB / 275.8 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.1159, allocations: 39.97 kB / 275.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.539e-05/0.116, allocations: 39.41 kB / 275.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.116, allocations: 64.48 kB / 276 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1161, allocations: 110.7 kB / 276.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000377/0.1165, allocations: 277.8 kB / 276.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.1165, allocations: 0.6562 kB / 276.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1165, allocations: 2.594 kB / 276.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.1165, allocations: 1.188 kB / 276.4 MB, free: 1.891 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.0007644/0.1173, allocations: 0.6849 MB / 277.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.1173, allocations: 9.875 kB / 277.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.1174, allocations: 61.09 kB / 277.1 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1177, allocations: 236.9 kB / 277.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.1177, allocations: 25.94 kB / 277.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1177, allocations: 34.88 kB / 277.4 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1181, allocations: 377.8 kB / 277.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1181, allocations: 192 / 277.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1181, allocations: 13.97 kB / 277.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1181, allocations: 12.88 kB / 277.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.1183, allocations: 101 kB / 277.9 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009495/0.1192, allocations: 0.8598 MB / 278.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.1195, allocations: 154.5 kB / 278.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.347e-05/0.1196, allocations: 50.8 kB / 279 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1196, allocations: 5.547 kB / 279 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.1196, allocations: 35.61 kB / 279 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.345e-06/0.1196, allocations: 1.781 kB / 279 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002312/0.1198, allocations: 154.6 kB / 279.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.1198, allocations: 59.89 kB / 279.2 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.12, allocations: 244.6 kB / 279.5 MB, free: 428 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.12, allocations: 31.86 kB / 279.5 MB, free: 396 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1201, allocations: 198.3 kB / 279.7 MB, free: 252 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1201, allocations: 101.9 kB / 279.8 MB, free: 188 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.1202, allocations: 55.86 kB / 279.8 MB, free: 172 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.1203, allocations: 341.9 kB / 280.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.1203, allocations: 30.22 kB / 280.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.1204, allocations: 149.8 kB / 280.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1205, allocations: 143.8 kB / 280.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1205, allocations: 1.812 kB / 280.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001832/0.1207, allocations: 168.5 kB / 280.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1207, allocations: 6.5 kB / 280.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1207, allocations: 2.375 kB / 280.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1207, allocations: 3.891 kB / 280.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.121, allocations: 87.91 kB / 280.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.121, allocations: 3.047 kB / 280.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.1211, allocations: 26.86 kB / 280.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1211, allocations: 11.12 kB / 280.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.241e-05/0.1211, allocations: 113 kB / 280.9 MB, free: 15.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.576e-05/0.1212, allocations: 148.8 kB / 281 MB, free: 15.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001184/0.1214, allocations: 134.8 kB / 281.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.1214, allocations: 0.875 kB / 281.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0001649/0.1215, allocations: 162.4 kB / 281.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.1215, allocations: 7.484 kB / 281.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.1215, allocations: 1.281 kB / 281.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.1215, allocations: 3.625 kB / 281.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1217, allocations: 89.58 kB / 281.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1217, allocations: 3.938 kB / 281.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.1218, allocations: 24.81 kB / 281.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1218, allocations: 12.22 kB / 281.5 MB, free: 15.27 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.045e-05/0.1219, allocations: 195.9 kB / 281.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.1219, allocations: 28.8 kB / 281.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.1221, allocations: 158.4 kB / 281.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1221, allocations: 3.25 kB / 281.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1221, allocations: 0 / 281.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1221, allocations: 2.719 kB / 281.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.1223, allocations: 195.3 kB / 282 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1223, allocations: 0 / 282 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.1225, allocations: 75.95 kB / 282.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1226, allocations: 32.98 kB / 282.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1226, allocations: 2.281 kB / 282.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1226, allocations: 10.66 kB / 282.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1226, allocations: 1.531 kB / 282.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1226, allocations: 0 / 282.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1228, allocations: 279.6 kB / 282.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.1229, allocations: 6 kB / 282.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.1229, allocations: 21.66 kB / 282.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.123, allocations: 17.69 kB / 282.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.123, allocations: 8.453 kB / 282.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.1231, allocations: 86.56 kB / 282.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1231, allocations: 0 / 282.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.1233, allocations: 155.9 kB / 282.7 MB, free: 14.74 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.233e-05/0.1234, allocations: 85.69 kB / 282.8 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1237, allocations: 201.6 kB / 283 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/0.1237, allocations: 5.719 kB / 283 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.1237, allocations: 63.97 kB / 283.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.124, allocations: 98.41 kB / 283.2 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.1266, allocations: 0.6656 MB / 283.8 MB, free: 14.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.1267, allocations: 101 kB / 283.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.1269, allocations: 34.41 kB / 284 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.127, allocations: 120.6 kB / 284.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.127, allocations: 0 / 284.1 MB, free: 14.17 MB / 282.7 MB Notification: Performance of Templates: time 0.006399/0.1334, allocations: 3.617 MB / 287.7 MB, free: 13.81 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.5931206569075584]