Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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.001678/0.001678, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002242/0.002242, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.1065/0.1065, allocations: 24.13 MB / 337.3 MB, free: 11.45 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_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") [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.003156/0.003156, allocations: 73.75 kB / 474.6 MB, free: 5.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3764, allocations: 59.6 MB / 0.5216 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.005905/0.3823, allocations: 2.319 MB / 0.5239 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.384, allocations: 0.5562 MB / 0.5244 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.3843, allocations: 8.125 kB / 0.5245 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.3845, allocations: 32.75 kB / 0.5245 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.3848, allocations: 54.72 kB / 0.5245 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3851, allocations: 47.2 kB / 0.5246 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004682/0.3856, allocations: 221.9 kB / 0.5248 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.3859, allocations: 75.33 kB / 0.5249 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.3861, allocations: 79.86 kB / 0.5249 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3864, allocations: 91.7 kB / 0.525 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.3864, allocations: 17.72 kB / 0.525 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.993e-05/0.3865, allocations: 18.47 kB / 0.5251 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.3866, allocations: 35.75 kB / 0.5251 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3867, allocations: 104.9 kB / 0.5252 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.3872, allocations: 212.7 kB / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3872, allocations: 0 / 0.5254 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3872, allocations: 5.094 kB / 0.5254 GB, free: 7.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.3872, allocations: 0 / 0.5254 GB, free: 7.949 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007897/0.388, allocations: 402.7 kB / 0.5258 GB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.388, allocations: 9.75 kB / 0.5258 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.3881, allocations: 24.25 kB / 0.5258 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.3884, allocations: 154.8 kB / 0.526 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.3885, allocations: 21.25 kB / 0.526 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.3885, allocations: 17.22 kB / 0.526 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.389, allocations: 174.7 kB / 0.5262 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.389, allocations: 2.625 kB / 0.5262 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.389, allocations: 10.22 kB / 0.5262 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.389, allocations: 4.625 kB / 0.5262 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.3894, allocations: 120.1 kB / 0.5263 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.3907, allocations: 0.6361 MB / 0.5269 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.3911, allocations: 132.5 kB / 0.5271 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3913, allocations: 61.81 kB / 0.5271 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3913, allocations: 6.031 kB / 0.5271 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.3913, allocations: 31.56 kB / 0.5271 GB, free: 6.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.3913, allocations: 1.219 kB / 0.5272 GB, free: 6.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005482/0.3919, allocations: 176.3 kB / 0.5273 GB, free: 6.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3919, allocations: 58 kB / 0.5274 GB, free: 6.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.392, allocations: 128.8 kB / 0.5275 GB, free: 6.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.392, allocations: 26.86 kB / 0.5275 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.3921, allocations: 139.8 kB / 0.5277 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.3921, allocations: 55.28 kB / 0.5277 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.3922, allocations: 35.09 kB / 0.5277 GB, free: 6.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.3923, allocations: 321.8 kB / 0.528 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.3924, allocations: 37.56 kB / 0.5281 GB, free: 5.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3926, allocations: 69.08 kB / 0.5282 GB, free: 5.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.3928, allocations: 127.3 kB / 0.5283 GB, free: 5.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3928, allocations: 5.594 kB / 0.5283 GB, free: 5.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003995/0.3932, allocations: 163.2 kB / 0.5284 GB, free: 5.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.3933, allocations: 9 kB / 0.5284 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3933, allocations: 1.906 kB / 0.5284 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.3933, allocations: 1.656 kB / 0.5284 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.3935, allocations: 42.52 kB / 0.5285 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3935, allocations: 2.156 kB / 0.5285 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3937, allocations: 16.84 kB / 0.5285 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.3937, allocations: 5.875 kB / 0.5285 GB, free: 5.633 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001109/0.3938, allocations: 132.8 kB / 0.5286 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.3938, allocations: 14.61 kB / 0.5286 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.3939, allocations: 22.72 kB / 0.5287 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3939, allocations: 2.266 kB / 0.5287 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3939, allocations: 1.406 kB / 0.5287 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3939, allocations: 0.6094 kB / 0.5287 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.3943, allocations: 226 kB / 0.5289 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3943, allocations: 4.5 kB / 0.5289 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.3945, allocations: 33.8 kB / 0.5289 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.3945, allocations: 1.156 kB / 0.5289 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3946, allocations: 5.625 kB / 0.5289 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3946, allocations: 1.062 kB / 0.5289 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3946, allocations: 7.938 kB / 0.5289 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.3951, allocations: 286 kB / 0.5292 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.3951, allocations: 16.91 kB / 0.5292 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3951, allocations: 1.062 kB / 0.5292 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3953, allocations: 9.953 kB / 0.5292 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.3954, allocations: 9.219 kB / 0.5293 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.3954, allocations: 6.875 kB / 0.5293 GB, free: 5.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.788e-05/0.3954, allocations: 100.6 kB / 0.5294 GB, free: 4.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3954, allocations: 0 / 0.5294 GB, free: 4.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004759/0.3959, allocations: 51.75 kB / 0.5294 GB, free: 4.953 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,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 (16): * Single equations (assignments): 16 * 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.000102/0.396, allocations: 109.4 kB / 0.5295 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.3964, allocations: 101.5 kB / 0.5296 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3964, allocations: 4.188 kB / 0.5296 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3965, allocations: 51.08 kB / 0.5297 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.397, allocations: 19.11 kB / 0.5297 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3981, allocations: 0.4902 MB / 0.5302 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3983, allocations: 0.7194 MB / 0.5309 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.3983, allocations: 16 kB / 0.5309 GB, free: 3.734 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3983, allocations: 0 / 0.5309 GB, free: 3.734 MB / 382.1 MB Notification: Performance of Templates: time 0.005763/0.4041, allocations: 1.787 MB / 0.5326 GB, free: 3.547 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4508634940721095] Failed to read output from testmodel.py, exit status != 0: 0.41609360999427736 0.43021897699999995 0.039701636000000005 Calling exit ...