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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.9 MB, free: 3.234 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09628/0.09628, allocations: 22.69 MB / 327.7 MB, free: 7.301 MB / 254.1 MB [Timeout remaining time 90] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001915/0.001915, allocations: 64.55 kB / 461 MB, free: 41.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07797/0.07988, allocations: 58.03 MB / 0.5069 GB, free: 6.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002615/0.0825, allocations: 2.295 MB / 0.5091 GB, free: 4.504 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.08315, allocations: 0.5181 MB / 0.5096 GB, free: 3.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.578e-05/0.08324, allocations: 4 kB / 0.5096 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.08337, allocations: 31.66 kB / 0.5097 GB, free: 3.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.08347, allocations: 63.47 kB / 0.5097 GB, free: 3.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.08362, allocations: 47.94 kB / 0.5098 GB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.08378, allocations: 214.9 kB / 0.51 GB, free: 3.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.08393, allocations: 75.97 kB / 0.51 GB, free: 3.547 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.083e-05/0.08401, allocations: 79.78 kB / 0.5101 GB, free: 3.469 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.08412, allocations: 87.62 kB / 0.5102 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.08415, allocations: 19.94 kB / 0.5102 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.012e-05/0.08418, allocations: 24 kB / 0.5102 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.08421, allocations: 43.78 kB / 0.5103 GB, free: 3.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.743e-05/0.08428, allocations: 99.55 kB / 0.5104 GB, free: 3.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.08446, allocations: 211.1 kB / 0.5106 GB, free: 2.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.08446, allocations: 0 / 0.5106 GB, free: 2.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08446, allocations: 0 / 0.5106 GB, free: 2.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.08447, allocations: 0 / 0.5106 GB, free: 2.992 MB / 366.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.0004899/0.08496, allocations: 487.1 kB / 0.511 GB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.08499, allocations: 8.031 kB / 0.511 GB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.08503, allocations: 20.84 kB / 0.5111 GB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.08522, allocations: 208.1 kB / 0.5113 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.08524, allocations: 12.81 kB / 0.5113 GB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.08527, allocations: 20.38 kB / 0.5113 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.08556, allocations: 179.5 kB / 0.5115 GB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.08557, allocations: 0 / 0.5115 GB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.08559, allocations: 7.984 kB / 0.5115 GB, free: 1.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.0856, allocations: 8 kB / 0.5115 GB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.08582, allocations: 125.7 kB / 0.5116 GB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.08658, allocations: 0.672 MB / 0.5123 GB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.08684, allocations: 118.5 kB / 0.5124 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.08694, allocations: 65.11 kB / 0.5124 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.08696, allocations: 0 / 0.5124 GB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.08697, allocations: 38.5 kB / 0.5125 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.08697, allocations: 0 / 0.5125 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003389/0.08731, allocations: 168 kB / 0.5126 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.08734, allocations: 59.34 kB / 0.5127 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.0874, allocations: 121.8 kB / 0.5128 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.08741, allocations: 29.7 kB / 0.5128 GB, free: 480 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.08745, allocations: 140.2 kB / 0.513 GB, free: 336 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.08747, allocations: 71.34 kB / 0.513 GB, free: 264 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.08751, allocations: 33.7 kB / 0.5131 GB, free: 224 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.311e-05/0.08761, allocations: 326.8 kB / 0.5134 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.08771, allocations: 39.98 kB / 0.5134 GB, free: 15.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.08785, allocations: 73.84 kB / 0.5135 GB, free: 15.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.08807, allocations: 117.1 kB / 0.5136 GB, free: 15.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.08807, allocations: 0 / 0.5136 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002942/0.08837, allocations: 167.4 kB / 0.5138 GB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.08838, allocations: 7.938 kB / 0.5138 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.08838, allocations: 0 / 0.5138 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.0884, allocations: 4 kB / 0.5138 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.08858, allocations: 43.92 kB / 0.5138 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.08859, allocations: 4 kB / 0.5138 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.263e-05/0.08867, allocations: 15.98 kB / 0.5138 GB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.08868, allocations: 8 kB / 0.5138 GB, free: 15.39 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.00012/0.0888, allocations: 130.5 kB / 0.514 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.08884, allocations: 15.88 kB / 0.514 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.08889, allocations: 24.84 kB / 0.514 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.08889, allocations: 0 / 0.514 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.0889, allocations: 0 / 0.514 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.0889, allocations: 0 / 0.514 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.0892, allocations: 257.5 kB / 0.5142 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.0892, allocations: 7.938 kB / 0.5143 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.08939, allocations: 35.97 kB / 0.5143 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.08939, allocations: 4 kB / 0.5143 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.08941, allocations: 4 kB / 0.5143 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.08941, allocations: 0 / 0.5143 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.08941, allocations: 0 / 0.5143 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.08984, allocations: 287.3 kB / 0.5146 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.0899, allocations: 97.03 kB / 0.5147 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.08992, allocations: 0 / 0.5147 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.09003, allocations: 11.98 kB / 0.5147 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.09007, allocations: 7.984 kB / 0.5147 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.09008, allocations: 8 kB / 0.5147 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.09015, allocations: 98.02 kB / 0.5148 GB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09015, allocations: 0 / 0.5148 GB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.09043, allocations: 51.83 kB / 0.5148 GB, free: 14.29 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.0001141/0.09054, allocations: 103.2 kB / 0.5149 GB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.09081, allocations: 106.6 kB / 0.515 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09082, allocations: 0 / 0.515 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.09092, allocations: 51.92 kB / 0.5151 GB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.0912, allocations: 29.73 kB / 0.5151 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009194/0.09212, allocations: 498.4 kB / 0.5156 GB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.09249, allocations: 0.7201 MB / 0.5163 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.09254, allocations: 19.38 kB / 0.5163 GB, free: 12.71 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.09254, allocations: 0 / 0.5163 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Templates: time 0.003601/0.09614, allocations: 1.78 MB / 0.518 GB, free: 10.93 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]