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.001469/0.001469, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001609/0.001609, allocations: 157.6 kB / 23.53 MB, free: 0.9023 MB / 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.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.1081/0.1081, allocations: 18.14 MB / 278.5 MB, free: 11.32 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.934e-06/1.934e-06, allocations: 0 / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.191e-05, allocations: 2.312 kB / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.007272/0.007304, allocations: 2.972 MB / 359.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.01018, allocations: 0.8957 MB / 360.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.01053, allocations: 19.88 kB / 360.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.01089, allocations: 75.23 kB / 360.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.01137, allocations: 111 kB / 360.6 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.01211, allocations: 195.6 kB / 360.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.01321, allocations: 482.7 kB / 361.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.01364, allocations: 142.6 kB / 361.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.01396, allocations: 167.5 kB / 361.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.01427, allocations: 127.6 kB / 361.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-05/0.01437, allocations: 40 kB / 361.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.038e-05/0.01446, allocations: 43.94 kB / 361.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.01458, allocations: 87.66 kB / 361.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.01481, allocations: 127.7 kB / 362 MB, free: 2.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008434/0.01565, allocations: 478.4 kB / 362.4 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.01566, allocations: 3.938 kB / 362.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01566, allocations: 0 / 362.4 MB, free: 2.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.01566, allocations: 0 / 362.4 MB, free: 2.227 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.00162/0.01728, allocations: 0.6222 MB / 363.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.01733, allocations: 8.922 kB / 363.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.01754, allocations: 80.66 kB / 363.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.01831, allocations: 280.5 kB / 363.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.01836, allocations: 25.38 kB / 363.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.01848, allocations: 44.27 kB / 363.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.01964, allocations: 450.5 kB / 363.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.01966, allocations: 4.188 kB / 363.9 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.01972, allocations: 12.38 kB / 364 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.843e-05/0.01974, allocations: 15.94 kB / 364 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008956/0.02063, allocations: 251.8 kB / 364.2 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.02354, allocations: 1.079 MB / 365.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.02464, allocations: 267.8 kB / 365.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.02504, allocations: 117.3 kB / 365.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.02508, allocations: 4.234 kB / 365.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.02514, allocations: 42.73 kB / 365.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.02514, allocations: 3.938 kB / 365.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001201/0.02634, allocations: 334 kB / 366 MB, free: 14.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.02645, allocations: 106.8 kB / 366.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.02692, allocations: 252.2 kB / 366.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.02697, allocations: 33.7 kB / 366.4 MB, free: 14.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.02725, allocations: 228.3 kB / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.02739, allocations: 91.19 kB / 366.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.02756, allocations: 61.64 kB / 366.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002857/0.02784, allocations: 338.8 kB / 367.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.02819, allocations: 88.81 kB / 367.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.0287, allocations: 215.3 kB / 367.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.02946, allocations: 251.4 kB / 367.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02947, allocations: 0 / 367.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001002/0.03047, allocations: 313.2 kB / 368 MB, free: 12.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.03049, allocations: 11.31 kB / 368 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.0305, allocations: 3.938 kB / 368 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.03053, allocations: 4 kB / 368 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/0.03128, allocations: 71.91 kB / 368.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.03129, allocations: 3.984 kB / 368.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.03159, allocations: 23.89 kB / 368.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.03163, allocations: 12 kB / 368.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004183/0.03205, allocations: 184.1 kB / 368.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004022/0.03245, allocations: 191 kB / 368.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006151/0.03306, allocations: 218.2 kB / 368.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.03307, allocations: 0 / 368.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.000857/0.03392, allocations: 297.4 kB / 369 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.03394, allocations: 12.03 kB / 369 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03395, allocations: 3.984 kB / 369 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.03396, allocations: 7.938 kB / 369 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.03443, allocations: 59.92 kB / 369.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.03444, allocations: 3.984 kB / 369.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.03473, allocations: 31.78 kB / 369.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.03477, allocations: 8 kB / 369.1 MB, free: 11.2 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.0002328/0.035, allocations: 196.2 kB / 369.3 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.03513, allocations: 39.81 kB / 369.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008938/0.03603, allocations: 280.4 kB / 369.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.03603, allocations: 7.938 kB / 369.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.03604, allocations: 4 kB / 369.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.03605, allocations: 3.984 kB / 369.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.03668, allocations: 277.1 kB / 369.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.03668, allocations: 0 / 369.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.03712, allocations: 59.97 kB / 370 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.03713, allocations: 0 / 370 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.03715, allocations: 4 kB / 370 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.03716, allocations: 11.94 kB / 370 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.03717, allocations: 3.938 kB / 370 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.03839, allocations: 472.4 kB / 370.4 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.03854, allocations: 43.78 kB / 370.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.0386, allocations: 11.98 kB / 370.5 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.0389, allocations: 15.94 kB / 370.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.03898, allocations: 15.97 kB / 370.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.03901, allocations: 15.98 kB / 370.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002885/0.0393, allocations: 179.1 kB / 370.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0393, allocations: 0 / 370.7 MB, free: 9.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008651/0.04016, allocations: 151.5 kB / 370.9 MB, free: 9.383 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 0.000182/0.04035, allocations: 103.2 kB / 371 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.0414, allocations: 332 kB / 371.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0414, allocations: 0 / 371.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.04173, allocations: 99.91 kB / 371.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008017/0.04253, allocations: 75.48 kB / 371.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.04451, allocations: 0.7029 MB / 372.2 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.04482, allocations: 186.8 kB / 372.3 MB, free: 7.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002941/0.04512, allocations: 38.27 kB / 372.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.04525, allocations: 28.5 kB / 372.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.04525, allocations: 0 / 372.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of Templates: time 0.008943/0.05419, allocations: 3.067 MB / 375.5 MB, free: 4.777 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=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.534264856018126]