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.0009847/0.0009847, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002377, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001024/0.001024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002396, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9484/0.9484, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09307/1.041, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.06384/0.06384, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01262/0.07646, allocations: 6.793 MB / 269.1 MB, free: 6.227 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.124e-06/2.124e-06, allocations: 0 / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.31e-05, allocations: 2.312 kB / 270.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002559/0.002582, allocations: 2.379 MB / 272.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.003389, allocations: 0.5569 MB / 273.5 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.003492, allocations: 11.94 kB / 273.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.737e-05/0.003579, allocations: 31.72 kB / 273.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.003683, allocations: 63.36 kB / 273.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.003792, allocations: 47.92 kB / 273.6 MB, free: 1.652 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004313/0.004223, allocations: 222.9 kB / 273.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.004377, allocations: 77.75 kB / 273.9 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.004531, allocations: 123.8 kB / 274 MB, free: 1.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.004642, allocations: 71.8 kB / 274.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.004672, allocations: 20 kB / 274.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.004697, allocations: 19.94 kB / 274.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.004727, allocations: 31.88 kB / 274.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.26e-05/0.004779, allocations: 59.88 kB / 274.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.004952, allocations: 131.5 kB / 274.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.004966, allocations: 0 / 274.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.004966, allocations: 0 / 274.3 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.004977, allocations: 0 / 274.3 MB, free: 0.9062 MB / 266.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.0004549/0.005432, allocations: 424.3 kB / 274.8 MB, free: 480 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.005464, allocations: 15.89 kB / 274.8 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.005513, allocations: 32.91 kB / 274.8 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.005669, allocations: 137.5 kB / 274.9 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.005688, allocations: 12.88 kB / 275 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.005716, allocations: 24.36 kB / 275 MB, free: 232 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.005887, allocations: 171 kB / 275.1 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005896, allocations: 192 / 275.1 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005908, allocations: 4.375 kB / 275.2 MB, free: 40 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.005914, allocations: 15.94 kB / 275.2 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1609/0.1669, allocations: 46.75 kB / 275.2 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.1675, allocations: 471.8 kB / 275.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1676, allocations: 84.34 kB / 275.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.1677, allocations: 36.53 kB / 275.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1677, allocations: 3.688 kB / 275.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1677, allocations: 37.5 kB / 275.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1677, allocations: 0 / 275.8 MB, free: 3.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001496/0.1678, allocations: 96.27 kB / 275.9 MB, free: 3.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.585e-05/0.1679, allocations: 53.47 kB / 276 MB, free: 3.129 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.106e-05/0.1679, allocations: 134.8 kB / 276.1 MB, free: 3.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.1679, allocations: 26.86 kB / 276.1 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.168, allocations: 132.8 kB / 276.3 MB, free: 2.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.168, allocations: 62.42 kB / 276.3 MB, free: 2.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.168, allocations: 34.08 kB / 276.4 MB, free: 2.844 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.1681, allocations: 327 kB / 276.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.1681, allocations: 13.69 kB / 276.7 MB, free: 2.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.773e-05/0.1681, allocations: 51.5 kB / 276.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.02e-05/0.1682, allocations: 79.03 kB / 276.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1682, allocations: 1.828 kB / 276.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001074/0.1683, allocations: 103 kB / 276.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1683, allocations: 7.656 kB / 276.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1683, allocations: 2.734 kB / 276.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1683, allocations: 2.719 kB / 276.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1685, allocations: 59.09 kB / 277 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1685, allocations: 2.031 kB / 277 MB, free: 2.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.1686, allocations: 15.44 kB / 277 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.1686, allocations: 7.125 kB / 277 MB, free: 2.422 MB / 266.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 4.706e-05/0.1686, allocations: 121.2 kB / 277.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.25e-05/0.1686, allocations: 14.77 kB / 277.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.1687, allocations: 17.47 kB / 277.2 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1687, allocations: 5.375 kB / 277.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1687, allocations: 1.156 kB / 277.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1687, allocations: 0.75 kB / 277.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1688, allocations: 122.9 kB / 277.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1688, allocations: 5.438 kB / 277.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1689, allocations: 46.48 kB / 277.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.1689, allocations: 9.297 kB / 277.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1689, allocations: 3.406 kB / 277.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1689, allocations: 5.188 kB / 277.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1689, allocations: 1.891 kB / 277.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1689, allocations: 0.6562 kB / 277.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1691, allocations: 213.9 kB / 277.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1691, allocations: 5.562 kB / 277.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.1691, allocations: 6.906 kB / 277.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1692, allocations: 18.2 kB / 277.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1692, allocations: 2.219 kB / 277.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.988e-05/0.1692, allocations: 23.42 kB / 277.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1692, allocations: 0 / 277.6 MB, free: 2.062 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001479/0.1693, allocations: 51.23 kB / 277.7 MB, free: 2.055 MB / 266.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.419e-05/0.1694, allocations: 83.08 kB / 277.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1695, allocations: 75.48 kB / 277.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.1695, allocations: 3.562 kB / 277.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.1696, allocations: 57.08 kB / 277.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.1698, allocations: 163.8 kB / 278.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1718, allocations: 387.8 kB / 278.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.1719, allocations: 74.73 kB / 278.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.1719, allocations: 15.72 kB / 278.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.172, allocations: 75.02 kB / 278.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.172, allocations: 0.875 kB / 278.6 MB, free: 1.488 MB / 266.7 MB Notification: Performance of Templates: time 0.003092/0.1751, allocations: 1.303 MB / 279.9 MB, free: 1.438 MB / 266.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.631284235045314]