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.0008979/0.0008979, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.001096/0.001096, allocations: 165.6 kB / 23.98 MB, free: 0.582 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 0.8979/0.8979, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.05967/0.05967, allocations: 18.13 MB / 278.8 MB, free: 11.55 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.473e-06/1.473e-06, allocations: 0 / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.27e-05, allocations: 10.22 kB / 416.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.001957/0.00198, allocations: 2.193 MB / 418.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006376/0.002618, allocations: 0.5291 MB / 419 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.002711, allocations: 3.875 kB / 419.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.002814, allocations: 26.58 kB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.291e-05/0.002907, allocations: 76.92 kB / 419.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.003029, allocations: 39.77 kB / 419.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.003187, allocations: 229 kB / 419.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.003324, allocations: 66.12 kB / 419.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.014e-05/0.003394, allocations: 71.75 kB / 419.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.003486, allocations: 67.95 kB / 419.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.00352, allocations: 18.72 kB / 419.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/0.003544, allocations: 17.28 kB / 419.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.003569, allocations: 44.5 kB / 419.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.197e-05/0.003621, allocations: 69.61 kB / 419.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.003821, allocations: 216.8 kB / 420 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003822, allocations: 0 / 420 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003823, allocations: 0.9375 kB / 420 MB, free: 10.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.003828, allocations: 0.7031 kB / 420 MB, free: 10.21 MB / 330.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.0004077/0.004236, allocations: 409.3 kB / 420.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.004266, allocations: 9.188 kB / 420.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.004306, allocations: 24.12 kB / 420.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.004476, allocations: 153.8 kB / 420.6 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.004493, allocations: 13.69 kB / 420.6 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.004521, allocations: 24.62 kB / 420.6 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.004753, allocations: 198.4 kB / 420.8 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.004765, allocations: 1.266 kB / 420.8 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.004779, allocations: 7.344 kB / 420.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.004784, allocations: 7.625 kB / 420.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.004948, allocations: 128.5 kB / 420.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.005504, allocations: 0.5518 MB / 421.5 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.005702, allocations: 119.5 kB / 421.6 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.162e-05/0.005773, allocations: 61.78 kB / 421.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.005786, allocations: 2.188 kB / 421.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.199e-05/0.005798, allocations: 37.58 kB / 421.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.005799, allocations: 0 / 421.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002501/0.006049, allocations: 169.9 kB / 421.9 MB, free: 8.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.573e-05/0.006065, allocations: 54.23 kB / 421.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.006117, allocations: 136 kB / 422.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.006125, allocations: 25.7 kB / 422.1 MB, free: 8.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.006162, allocations: 140.7 kB / 422.2 MB, free: 8.562 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.006184, allocations: 57.92 kB / 422.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.006219, allocations: 35.45 kB / 422.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.647e-05/0.006245, allocations: 330 kB / 422.6 MB, free: 8.164 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.339e-05/0.006298, allocations: 38.44 kB / 422.7 MB, free: 8.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.00636, allocations: 70.52 kB / 422.7 MB, free: 8.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.006481, allocations: 123.1 kB / 422.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006483, allocations: 1.625 kB / 422.9 MB, free: 8.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001564/0.00664, allocations: 163.1 kB / 423 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.00665, allocations: 5.156 kB / 423 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006655, allocations: 1.062 kB / 423 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006667, allocations: 6.188 kB / 423 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.006758, allocations: 39.98 kB / 423.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.006764, allocations: 2.062 kB / 423.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.006799, allocations: 19.98 kB / 423.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.006807, allocations: 13.42 kB / 423.1 MB, free: 7.918 MB / 330.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.845e-05/0.006855, allocations: 126.1 kB / 423.2 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.006872, allocations: 14.12 kB / 423.2 MB, free: 7.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.006895, allocations: 23.11 kB / 423.3 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.006897, allocations: 7.141 kB / 423.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.006902, allocations: 1.875 kB / 423.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.006905, allocations: 0.7031 kB / 423.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.007027, allocations: 167.6 kB / 423.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007028, allocations: 0 / 423.4 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.491e-05/0.007123, allocations: 39.05 kB / 423.5 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007124, allocations: 0.9375 kB / 423.5 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.007132, allocations: 5.156 kB / 423.5 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007133, allocations: 0.5156 kB / 423.5 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007135, allocations: 11.44 kB / 423.5 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.007361, allocations: 286.5 kB / 423.8 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.007372, allocations: 11.98 kB / 423.8 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.007385, allocations: 6.219 kB / 423.8 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.265e-05/0.007437, allocations: 5.234 kB / 423.8 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.007468, allocations: 14.55 kB / 423.8 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.007474, allocations: 7.719 kB / 423.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.576e-05/0.0075, allocations: 98.25 kB / 423.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0075, allocations: 0 / 423.9 MB, free: 7.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001692/0.007669, allocations: 55.47 kB / 424 MB, free: 7.285 MB / 330.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 5.582e-05/0.007725, allocations: 103.2 kB / 424.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.007886, allocations: 104.3 kB / 424.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.007887, allocations: 1.281 kB / 424.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.007944, allocations: 52.09 kB / 424.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.00812, allocations: 27.03 kB / 424.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.008604, allocations: 440 kB / 424.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.008664, allocations: 108.6 kB / 424.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.008696, allocations: 17.41 kB / 424.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.008696, allocations: 4 kB / 424.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of Templates: time 0.002658/0.01135, allocations: 1.869 MB / 426.7 MB, free: 6.543 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.434949338436127] Failed to read output from testmodel.py, exit status != 0: 0.015615790151059628 0.022828628 0.017376838000000002 Calling exit ...