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.001392/0.001392, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001861/0.001861, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 8 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.1131/0.1131, allocations: 24.12 MB / 337.3 MB, free: 11.43 MB / 270.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.002864/0.002864, allocations: 71.89 kB / 474.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3659, allocations: 59.6 MB / 0.5216 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.004121/0.37, allocations: 3.215 MB / 0.5248 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3716, allocations: 0.9473 MB / 0.5257 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.3718, allocations: 16.12 kB / 0.5257 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.3721, allocations: 68.12 kB / 0.5258 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.3723, allocations: 100.8 kB / 0.5259 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.3727, allocations: 211.8 kB / 0.5261 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.3732, allocations: 475.3 kB / 0.5265 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.3734, allocations: 159.4 kB / 0.5267 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3736, allocations: 168.2 kB / 0.5269 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.3738, allocations: 182 kB / 0.527 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.019e-05/0.3739, allocations: 39.09 kB / 0.5271 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.374, allocations: 40 kB / 0.5271 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.374, allocations: 88.56 kB / 0.5272 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.3742, allocations: 203.3 kB / 0.5274 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3747, allocations: 465.9 kB / 0.5278 GB, free: 6.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3747, allocations: 4.562 kB / 0.5278 GB, free: 6.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3747, allocations: 1.125 kB / 0.5278 GB, free: 6.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.3747, allocations: 3.938 kB / 0.5278 GB, free: 6.391 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.0009335/0.3756, allocations: 0.6267 MB / 0.5284 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3757, allocations: 10.14 kB / 0.5285 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.3758, allocations: 49.66 kB / 0.5285 GB, free: 5.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3762, allocations: 267.1 kB / 0.5288 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.3762, allocations: 26.94 kB / 0.5288 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.3763, allocations: 35.47 kB / 0.5288 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.3768, allocations: 381 kB / 0.5292 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.3768, allocations: 1.031 kB / 0.5292 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.3769, allocations: 15.25 kB / 0.5292 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3769, allocations: 8.938 kB / 0.5292 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.3774, allocations: 263.8 kB / 0.5295 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.379, allocations: 1.251 MB / 0.5307 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006052/0.3796, allocations: 278.9 kB / 0.5309 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.3798, allocations: 120.1 kB / 0.5311 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3799, allocations: 4.578 kB / 0.5311 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.983e-05/0.3799, allocations: 40.8 kB / 0.5311 GB, free: 4.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.333e-06/0.3799, allocations: 1.125 kB / 0.5311 GB, free: 4.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006423/0.3805, allocations: 322.9 kB / 0.5314 GB, free: 4.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3806, allocations: 107.7 kB / 0.5315 GB, free: 4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.3808, allocations: 270.5 kB / 0.5318 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3808, allocations: 32.05 kB / 0.5318 GB, free: 3.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.3809, allocations: 225 kB / 0.532 GB, free: 3.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.381, allocations: 98.23 kB / 0.5321 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.3811, allocations: 60.5 kB / 0.5322 GB, free: 3.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.3811, allocations: 339.4 kB / 0.5325 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3813, allocations: 91.39 kB / 0.5326 GB, free: 3.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.3815, allocations: 159.3 kB / 0.5327 GB, free: 3.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.3819, allocations: 245.1 kB / 0.533 GB, free: 2.879 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3819, allocations: 1.25 kB / 0.533 GB, free: 2.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005067/0.3824, allocations: 302 kB / 0.5333 GB, free: 2.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3824, allocations: 8.906 kB / 0.5333 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3824, allocations: 1.938 kB / 0.5333 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3824, allocations: 3.656 kB / 0.5333 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.3827, allocations: 66.67 kB / 0.5333 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3828, allocations: 8.5 kB / 0.5333 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3829, allocations: 31.8 kB / 0.5334 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.383, allocations: 8.406 kB / 0.5334 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000244/0.3832, allocations: 182.9 kB / 0.5335 GB, free: 2.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001856/0.3834, allocations: 147.8 kB / 0.5337 GB, free: 2.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003246/0.3837, allocations: 221.5 kB / 0.5339 GB, free: 2.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.3837, allocations: 0 / 0.5339 GB, free: 2.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003989/0.3841, allocations: 279.5 kB / 0.5342 GB, free: 2.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.3841, allocations: 5.656 kB / 0.5342 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3841, allocations: 2.172 kB / 0.5342 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.3841, allocations: 7.812 kB / 0.5342 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.3844, allocations: 65.22 kB / 0.5342 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3844, allocations: 4.016 kB / 0.5342 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3846, allocations: 29.7 kB / 0.5343 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3846, allocations: 11.53 kB / 0.5343 GB, free: 2.16 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 8.31e-05/0.3847, allocations: 198.2 kB / 0.5345 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3847, allocations: 30.69 kB / 0.5345 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.3852, allocations: 282.3 kB / 0.5348 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3852, allocations: 3.406 kB / 0.5348 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3852, allocations: 4.453 kB / 0.5348 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3852, allocations: 2.422 kB / 0.5348 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.3857, allocations: 368.9 kB / 0.5351 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3857, allocations: 0.5156 kB / 0.5351 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.386, allocations: 65.81 kB / 0.5352 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.386, allocations: 1.734 kB / 0.5352 GB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.386, allocations: 6.875 kB / 0.5352 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.386, allocations: 4.656 kB / 0.5352 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.386, allocations: 1.531 kB / 0.5352 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.3866, allocations: 462.6 kB / 0.5357 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.3867, allocations: 54.3 kB / 0.5357 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.3868, allocations: 7.078 kB / 0.5357 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.387, allocations: 19.05 kB / 0.5357 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.387, allocations: 13.97 kB / 0.5357 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.387, allocations: 10.3 kB / 0.5358 GB, free: 1.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3872, allocations: 191.4 kB / 0.5359 GB, free: 1.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3872, allocations: 0 / 0.5359 GB, free: 1.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004997/0.3877, allocations: 152.2 kB / 0.5361 GB, free: 1.062 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 8.702e-05/0.3878, allocations: 103.3 kB / 0.5362 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.3884, allocations: 326.8 kB / 0.5365 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3884, allocations: 2.25 kB / 0.5365 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.3886, allocations: 104.2 kB / 0.5366 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.3891, allocations: 79.91 kB / 0.5367 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3903, allocations: 0.7856 MB / 0.5374 GB, free: 296 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.3907, allocations: 0.7944 MB / 0.5382 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.344e-05/0.3908, allocations: 26.42 kB / 0.5382 GB, free: 15.58 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3908, allocations: 0 / 0.5382 GB, free: 15.58 MB / 398.1 MB Notification: Performance of Templates: time 0.008056/0.3989, allocations: 3.918 MB / 0.5421 GB, free: 14.83 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: 7.718877579085529] Failed to read output from testmodel.py, exit status != 0: 0.4097545971162617 0.42456552299999994 0.046410980000000004 Calling exit ...