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.002067/0.002067, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001756/0.001756, allocations: 210.7 kB / 23.01 MB, free: 4.992 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1068/0.1068, allocations: 24.04 MB / 337.2 MB, free: 11.36 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.002451/0.002451, allocations: 75.89 kB / 474.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4481, allocations: 59.58 MB / 0.5214 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003539/0.4517, allocations: 2.195 MB / 0.5235 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.4527, allocations: 0.5283 MB / 0.5241 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.4529, allocations: 4.438 kB / 0.5241 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.453, allocations: 27.3 kB / 0.5241 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.4532, allocations: 63.92 kB / 0.5241 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.4533, allocations: 46.84 kB / 0.5242 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.4536, allocations: 218.1 kB / 0.5244 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.4538, allocations: 67.11 kB / 0.5245 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.454, allocations: 80.23 kB / 0.5245 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.4541, allocations: 75.53 kB / 0.5246 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.4542, allocations: 17.62 kB / 0.5246 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.4542, allocations: 17.94 kB / 0.5246 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.4543, allocations: 44.3 kB / 0.5247 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.4544, allocations: 89.08 kB / 0.5248 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.4547, allocations: 214.2 kB / 0.525 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4547, allocations: 2.391 kB / 0.525 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4547, allocations: 1.062 kB / 0.525 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.4547, allocations: 0 / 0.525 GB, free: 8.113 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.0007641/0.4555, allocations: 405.5 kB / 0.5254 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.4555, allocations: 9.062 kB / 0.5254 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.4556, allocations: 27.77 kB / 0.5254 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.4559, allocations: 151 kB / 0.5255 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.4559, allocations: 13.59 kB / 0.5256 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.456, allocations: 20.84 kB / 0.5256 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.4565, allocations: 200.5 kB / 0.5258 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4565, allocations: 1.125 kB / 0.5258 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4565, allocations: 6.938 kB / 0.5258 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.4565, allocations: 8.844 kB / 0.5258 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.4568, allocations: 123.1 kB / 0.5259 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.4578, allocations: 0.5551 MB / 0.5264 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4582, allocations: 120.1 kB / 0.5266 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.4583, allocations: 61.52 kB / 0.5266 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4583, allocations: 5.969 kB / 0.5266 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.4584, allocations: 41.42 kB / 0.5267 GB, free: 6.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.4584, allocations: 0 / 0.5267 GB, free: 6.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004458/0.4588, allocations: 172.6 kB / 0.5268 GB, free: 6.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.4588, allocations: 54.34 kB / 0.5269 GB, free: 6.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4589, allocations: 131.3 kB / 0.527 GB, free: 6.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.459, allocations: 27.14 kB / 0.527 GB, free: 6.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.459, allocations: 139.4 kB / 0.5272 GB, free: 6.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.4591, allocations: 59.2 kB / 0.5272 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.4591, allocations: 35.58 kB / 0.5273 GB, free: 6.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.4592, allocations: 324.8 kB / 0.5276 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4593, allocations: 38.75 kB / 0.5276 GB, free: 6.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4594, allocations: 74.91 kB / 0.5277 GB, free: 6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.4597, allocations: 115.2 kB / 0.5278 GB, free: 5.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4597, allocations: 0 / 0.5278 GB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002907/0.4599, allocations: 172.5 kB / 0.5279 GB, free: 5.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.46, allocations: 9.016 kB / 0.528 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.46, allocations: 5.453 kB / 0.528 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.46, allocations: 1.469 kB / 0.528 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4602, allocations: 42.77 kB / 0.528 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4602, allocations: 3.297 kB / 0.528 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.4603, allocations: 16.45 kB / 0.528 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.4603, allocations: 5.141 kB / 0.528 GB, free: 5.816 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 9.189e-05/0.4604, allocations: 125.9 kB / 0.5281 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.4604, allocations: 17.56 kB / 0.5282 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.4605, allocations: 23.83 kB / 0.5282 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4605, allocations: 2.906 kB / 0.5282 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4605, allocations: 0 / 0.5282 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4605, allocations: 1.453 kB / 0.5282 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.4607, allocations: 170.7 kB / 0.5284 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4607, allocations: 0 / 0.5284 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.4609, allocations: 38.42 kB / 0.5284 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.4609, allocations: 0.9375 kB / 0.5284 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4609, allocations: 9.031 kB / 0.5284 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4609, allocations: 2 kB / 0.5284 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4609, allocations: 4.781 kB / 0.5284 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004266/0.4613, allocations: 285.4 kB / 0.5287 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.4613, allocations: 11.56 kB / 0.5287 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.4614, allocations: 9.5 kB / 0.5287 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4615, allocations: 9.594 kB / 0.5287 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.4615, allocations: 13.27 kB / 0.5287 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.4616, allocations: 3.625 kB / 0.5287 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.274e-05/0.4616, allocations: 101.5 kB / 0.5288 GB, free: 5.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4616, allocations: 0 / 0.5288 GB, free: 5.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.4619, allocations: 60.19 kB / 0.5289 GB, free: 5.172 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 9.359e-05/0.462, allocations: 98.38 kB / 0.529 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.4623, allocations: 101.1 kB / 0.5291 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4623, allocations: 0 / 0.5291 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.4624, allocations: 54.2 kB / 0.5291 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4627, allocations: 17.83 kB / 0.5291 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009927/0.4637, allocations: 481.8 kB / 0.5296 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.4638, allocations: 111.8 kB / 0.5297 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.62e-05/0.4639, allocations: 14.09 kB / 0.5297 GB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.4639, allocations: 18.62 kB / 0.5297 GB, free: 4.602 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4639, allocations: 0 / 0.5297 GB, free: 4.602 MB / 382.1 MB Notification: Performance of Templates: time 0.005266/0.4692, allocations: 1.328 MB / 0.531 GB, free: 4.426 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: 5.218327134847641] Failed to read output from testmodel.py, exit status != 0: 0.4791115988045931 0.493495241 0.035451805 Calling exit ...