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.00144/0.00144, allocations: 108.1 kB / 16.45 MB, free: 6.488 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.001361/0.001361, allocations: 195.7 kB / 19.41 MB, free: 3.68 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.09669/0.09669, allocations: 22.7 MB / 325.4 MB, free: 3.551 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.002025/0.002025, allocations: 63.89 kB / 457.7 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 58.02 MB / 0.5036 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.004735/0.1273, allocations: 3.179 MB / 0.5067 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.129, allocations: 0.8998 MB / 0.5076 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.1293, allocations: 19.88 kB / 0.5076 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.1295, allocations: 67.31 kB / 0.5077 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.1297, allocations: 111 kB / 0.5078 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1302, allocations: 199.5 kB / 0.5079 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.1307, allocations: 470.8 kB / 0.5084 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.131, allocations: 158.1 kB / 0.5085 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001971/0.1312, allocations: 171.4 kB / 0.5087 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1314, allocations: 187 kB / 0.5089 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.1315, allocations: 40 kB / 0.5089 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.1316, allocations: 44 kB / 0.509 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.1316, allocations: 83.7 kB / 0.5091 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.1318, allocations: 202.9 kB / 0.5092 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005163/0.1323, allocations: 462 kB / 0.5097 GB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1323, allocations: 3.938 kB / 0.5097 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1323, allocations: 0 / 0.5097 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1323, allocations: 0 / 0.5097 GB, free: 0.8711 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.001059/0.1334, allocations: 0.7053 MB / 0.5104 GB, free: 120 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1334, allocations: 8.031 kB / 0.5104 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.196e-05/0.1335, allocations: 52.59 kB / 0.5104 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2516/0.3852, allocations: 324.7 kB / 0.5107 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.3852, allocations: 26.97 kB / 0.5108 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.3853, allocations: 40.59 kB / 0.5108 GB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.3861, allocations: 365.7 kB / 0.5112 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3861, allocations: 1.438 kB / 0.5112 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.3861, allocations: 17.47 kB / 0.5112 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.3862, allocations: 8.719 kB / 0.5112 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005645/0.3867, allocations: 252 kB / 0.5114 GB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.3886, allocations: 1.304 MB / 0.5127 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.3892, allocations: 274.1 kB / 0.513 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3895, allocations: 106.6 kB / 0.5131 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.3895, allocations: 6.531 kB / 0.5131 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3895, allocations: 46.61 kB / 0.5131 GB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.3895, allocations: 2.094 kB / 0.5131 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007038/0.3902, allocations: 326 kB / 0.5134 GB, free: 15.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3903, allocations: 86.67 kB / 0.5135 GB, free: 15.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3905, allocations: 261.8 kB / 0.5138 GB, free: 15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3905, allocations: 35.73 kB / 0.5138 GB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3906, allocations: 221.4 kB / 0.514 GB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.3907, allocations: 98.7 kB / 0.5141 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/0.3908, allocations: 53.67 kB / 0.5141 GB, free: 14.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.3909, allocations: 342.6 kB / 0.5145 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.3911, allocations: 90 kB / 0.5146 GB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.3913, allocations: 150.9 kB / 0.5147 GB, free: 14.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.3917, allocations: 241 kB / 0.5149 GB, free: 14.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.3917, allocations: 5.625 kB / 0.5149 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005441/0.3922, allocations: 306.5 kB / 0.5152 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3922, allocations: 10.09 kB / 0.5152 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3923, allocations: 7.875 kB / 0.5152 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3923, allocations: 4.688 kB / 0.5153 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.3926, allocations: 61.84 kB / 0.5153 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3926, allocations: 7.062 kB / 0.5153 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.3927, allocations: 36.02 kB / 0.5154 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.3928, allocations: 14.91 kB / 0.5154 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002091/0.393, allocations: 178.8 kB / 0.5155 GB, free: 14.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001873/0.3932, allocations: 148.8 kB / 0.5157 GB, free: 13.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003339/0.3935, allocations: 220.9 kB / 0.5159 GB, free: 13.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.3935, allocations: 0.875 kB / 0.5159 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004252/0.3939, allocations: 277.9 kB / 0.5162 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3939, allocations: 8.906 kB / 0.5162 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.3939, allocations: 1.531 kB / 0.5162 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.3939, allocations: 8.062 kB / 0.5162 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.3942, allocations: 67.61 kB / 0.5162 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3942, allocations: 4.109 kB / 0.5162 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.3944, allocations: 22.98 kB / 0.5163 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.3944, allocations: 12.03 kB / 0.5163 GB, free: 13.71 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.0001017/0.3945, allocations: 201.3 kB / 0.5165 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-05/0.3945, allocations: 35.3 kB / 0.5165 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.3951, allocations: 271 kB / 0.5168 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3951, allocations: 2.5 kB / 0.5168 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.3951, allocations: 4.141 kB / 0.5168 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3951, allocations: 4 kB / 0.5168 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.3955, allocations: 396 kB / 0.5171 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3955, allocations: 0 / 0.5171 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.3958, allocations: 58.83 kB / 0.5172 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3958, allocations: 1.781 kB / 0.5172 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3959, allocations: 9.219 kB / 0.5172 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3959, allocations: 4.594 kB / 0.5172 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3959, allocations: 1.281 kB / 0.5172 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.3966, allocations: 471.6 kB / 0.5177 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3967, allocations: 126.8 kB / 0.5178 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.3967, allocations: 10.5 kB / 0.5178 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.3969, allocations: 14.86 kB / 0.5178 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3969, allocations: 20.84 kB / 0.5178 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.397, allocations: 6 kB / 0.5178 GB, free: 12.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3972, allocations: 192.2 kB / 0.518 GB, free: 12.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3972, allocations: 0 / 0.518 GB, free: 12.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.3977, allocations: 152.5 kB / 0.5182 GB, free: 12.52 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.0001139/0.3978, allocations: 110.2 kB / 0.5183 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007447/0.3985, allocations: 317.2 kB / 0.5186 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3985, allocations: 6.531 kB / 0.5186 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.3988, allocations: 104.8 kB / 0.5187 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.3994, allocations: 73.08 kB / 0.5188 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.4011, allocations: 0.7639 MB / 0.5195 GB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.4014, allocations: 0.7906 MB / 0.5203 GB, free: 11.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.4017, allocations: 39.16 kB / 0.5203 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.4018, allocations: 27.19 kB / 0.5203 GB, free: 11.11 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.4018, allocations: 1.281 kB / 0.5203 GB, free: 11.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01042/0.4122, allocations: 3.195 MB / 0.5235 GB, free: 10.9 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: 5.11192872794345] Failed to read output from testmodel.py, exit status != 0: 0.42075946601107717 0.43948460899999997 0.303158044 Calling exit ...