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.0009537/0.0009537, allocations: 91.56 kB / 20.45 MB, free: 4.121 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.0009718/0.0009718, allocations: 165 kB / 23.82 MB, free: 0.7539 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.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.06717/0.06717, allocations: 18.14 MB / 278.9 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_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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.76e-05, allocations: 2.312 kB / 357.3 MB, free: 7.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.006562/0.00659, allocations: 2.343 MB / 359.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.007502, allocations: 0.5414 MB / 360.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.007621, allocations: 4 kB / 360.2 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.00776, allocations: 35.64 kB / 360.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.0109, allocations: 67.41 kB / 360.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.01107, allocations: 39.95 kB / 360.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.01129, allocations: 226.8 kB / 360.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.01147, allocations: 69.39 kB / 360.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.01156, allocations: 75.83 kB / 360.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.01169, allocations: 71.78 kB / 360.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/0.01172, allocations: 16 kB / 360.8 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.094e-05/0.01175, allocations: 20 kB / 360.8 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.01179, allocations: 39.84 kB / 360.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.01187, allocations: 75.83 kB / 360.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.01208, allocations: 139.5 kB / 361 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.01209, allocations: 0 / 361 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01209, allocations: 4 kB / 361 MB, free: 4.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.01209, allocations: 0 / 361 MB, free: 4.039 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005628/0.01266, allocations: 0.4925 MB / 361.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.01271, allocations: 16.02 kB / 361.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.01279, allocations: 32.84 kB / 361.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.01299, allocations: 164.3 kB / 361.7 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.01302, allocations: 16.88 kB / 361.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.01305, allocations: 16.38 kB / 361.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.01329, allocations: 175.1 kB / 361.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.0133, allocations: 192 / 361.9 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.01331, allocations: 8.375 kB / 362 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01332, allocations: 11.94 kB / 362 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.01345, allocations: 70.94 kB / 362 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.01414, allocations: 0.6013 MB / 362.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.01435, allocations: 103 kB / 362.7 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.01441, allocations: 47.66 kB / 362.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.01442, allocations: 0 / 362.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.01445, allocations: 41.39 kB / 362.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.01445, allocations: 3.984 kB / 362.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002256/0.01467, allocations: 136.7 kB / 363 MB, free: 1.965 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.0147, allocations: 51.41 kB / 363 MB, free: 1.902 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.0148, allocations: 189.7 kB / 363.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.01482, allocations: 33.7 kB / 363.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.01489, allocations: 183.1 kB / 363.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.01493, allocations: 51.55 kB / 363.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.01497, allocations: 43.36 kB / 363.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.0151, allocations: 0.4961 MB / 364 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.01514, allocations: 23.92 kB / 364 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.719e-05/0.01521, allocations: 65.17 kB / 364.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01533, allocations: 109.7 kB / 364.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01533, allocations: 0 / 364.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001655/0.01549, allocations: 133.4 kB / 364.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01551, allocations: 4 kB / 364.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.01552, allocations: 4 kB / 364.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.01554, allocations: 4.031 kB / 364.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01565, allocations: 47.97 kB / 364.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.01566, allocations: 4 kB / 364.4 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.822e-05/0.0157, allocations: 11.89 kB / 364.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.01571, allocations: 8 kB / 364.4 MB, free: 440 kB / 282.7 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 8.223e-05/0.01579, allocations: 164.5 kB / 364.6 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.01582, allocations: 19.91 kB / 364.6 MB, free: 244 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.01585, allocations: 16.77 kB / 364.6 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01585, allocations: 7.938 kB / 364.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01585, allocations: 0 / 364.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01586, allocations: 0 / 364.6 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.016, allocations: 180.6 kB / 364.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.016, allocations: 0 / 364.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.01611, allocations: 35.92 kB / 364.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01612, allocations: 4 kB / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01613, allocations: 4 kB / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01613, allocations: 4 kB / 364.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01613, allocations: 3.938 kB / 364.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.01688, allocations: 283.8 kB / 365.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.01689, allocations: 15.89 kB / 365.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.01691, allocations: 8.016 kB / 365.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.491e-05/0.01696, allocations: 8 kB / 365.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.017, allocations: 15.86 kB / 365.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.01701, allocations: 4 kB / 365.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.659e-05/0.01705, allocations: 143.2 kB / 365.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01705, allocations: 0 / 365.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.01723, allocations: 47.89 kB / 365.3 MB, free: 15.42 MB / 298.7 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 7.797e-05/0.01731, allocations: 99.23 kB / 365.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01746, allocations: 87.59 kB / 365.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01746, allocations: 3.938 kB / 365.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.403e-05/0.01751, allocations: 55.25 kB / 365.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.01772, allocations: 12 kB / 365.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007546/0.01848, allocations: 429.3 kB / 366 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.43e-05/0.01852, allocations: 67.84 kB / 366.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.714e-05/0.01857, allocations: 16.64 kB / 366.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.0186, allocations: 12.5 kB / 366.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0186, allocations: 0 / 366.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of Templates: time 0.002881/0.02148, allocations: 1.132 MB / 367.2 MB, free: 13.48 MB / 298.7 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=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1391367241740227]