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.001045/0.001045, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001271/0.001271, allocations: 163.2 kB / 24.86 MB, free: 8.766 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.06543/0.06543, allocations: 18.13 MB / 280 MB, free: 11.16 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 1.623e-06/1.623e-06, allocations: 0 / 358.5 MB, free: 7.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.752e-05, allocations: 2.312 kB / 358.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.00969/0.009718, allocations: 2.334 MB / 360.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.01069, allocations: 0.5414 MB / 361.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.01082, allocations: 4 kB / 361.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.01399, allocations: 27.72 kB / 361.5 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.01414, allocations: 71.34 kB / 361.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001636/0.0143, allocations: 43.94 kB / 361.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.01453, allocations: 222.8 kB / 361.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.0147, allocations: 69.39 kB / 361.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.0148, allocations: 83.77 kB / 361.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.01494, allocations: 59.86 kB / 362 MB, free: 4.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.01497, allocations: 16 kB / 362 MB, free: 4.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.065e-05/0.015, allocations: 20 kB / 362 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.01504, allocations: 43.83 kB / 362.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.01512, allocations: 75.83 kB / 362.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.01533, allocations: 143.5 kB / 362.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01533, allocations: 0 / 362.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01533, allocations: 0 / 362.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.01534, allocations: 0 / 362.3 MB, free: 3.758 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.0005611/0.0159, allocations: 0.5002 MB / 362.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.01593, allocations: 8.031 kB / 362.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.016, allocations: 36.84 kB / 362.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.01618, allocations: 156.4 kB / 363 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.01621, allocations: 12.88 kB / 363 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.01624, allocations: 24.38 kB / 363 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.01648, allocations: 163.1 kB / 363.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01649, allocations: 4.188 kB / 363.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.01651, allocations: 4.375 kB / 363.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01651, allocations: 7.938 kB / 363.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.01664, allocations: 65.38 kB / 363.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.02041, allocations: 0.5707 MB / 363.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.0206, allocations: 99 kB / 363.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.02066, allocations: 35.66 kB / 364 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.02067, allocations: 7.938 kB / 364 MB, free: 1.941 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.0207, allocations: 45.33 kB / 364 MB, free: 1.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.0207, allocations: 4 kB / 364 MB, free: 1.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002316/0.02093, allocations: 109.8 kB / 364.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.02096, allocations: 55.41 kB / 364.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.02106, allocations: 189.3 kB / 364.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.02107, allocations: 25.7 kB / 364.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.02115, allocations: 191.1 kB / 364.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.02119, allocations: 51.53 kB / 364.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.02125, allocations: 47.34 kB / 364.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.02138, allocations: 0.4922 MB / 365.2 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.02142, allocations: 15.98 kB / 365.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.02148, allocations: 78.62 kB / 365.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.02159, allocations: 85.78 kB / 365.3 MB, free: 476 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02159, allocations: 0 / 365.3 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001739/0.02176, allocations: 129.4 kB / 365.5 MB, free: 340 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.02178, allocations: 4 kB / 365.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.02178, allocations: 0 / 365.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.02179, allocations: 8.094 kB / 365.5 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.02193, allocations: 39.92 kB / 365.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.02193, allocations: 7.938 kB / 365.5 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.435e-05/0.02199, allocations: 15.94 kB / 365.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.022, allocations: 0 / 365.5 MB, free: 264 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.576e-05/0.02208, allocations: 168.5 kB / 365.7 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.02212, allocations: 15.91 kB / 365.7 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.02215, allocations: 20.78 kB / 365.7 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02216, allocations: 3.938 kB / 365.7 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.02216, allocations: 3.938 kB / 365.8 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02216, allocations: 8 kB / 365.8 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.02236, allocations: 141.2 kB / 365.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.02236, allocations: 0 / 365.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.0225, allocations: 39.97 kB / 365.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.0225, allocations: 4 kB / 365.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.02251, allocations: 0 / 365.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.02251, allocations: 0 / 365.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02251, allocations: 0 / 365.9 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.02427, allocations: 289.2 kB / 366.2 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.02429, allocations: 11.89 kB / 366.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.02431, allocations: 4.031 kB / 366.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02441, allocations: 8 kB / 366.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.02445, allocations: 11.97 kB / 366.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.02446, allocations: 8 kB / 366.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.02451, allocations: 139.2 kB / 366.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02451, allocations: 0 / 366.4 MB, free: 15.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.02483, allocations: 51.83 kB / 366.5 MB, free: 15.29 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 9.779e-05/0.02492, allocations: 99.25 kB / 366.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.02508, allocations: 78.08 kB / 366.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02508, allocations: 3.938 kB / 366.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.02514, allocations: 43.66 kB / 366.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.0254, allocations: 19.98 kB / 366.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.02627, allocations: 409.4 kB / 367.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.02632, allocations: 71.83 kB / 367.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.02638, allocations: 16.64 kB / 367.2 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.02648, allocations: 98.12 kB / 367.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02649, allocations: 0 / 367.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of Templates: time 0.00388/0.03037, allocations: 1.268 MB / 368.5 MB, free: 13.16 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: 2.948340408038348]