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.0007943/0.0007943, allocations: 75.7 kB / 20.8 MB, free: 3.711 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.000758/0.000758, allocations: 165.7 kB / 24.09 MB, free: 428 kB / 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.9093/0.9093, allocations: 177.1 MB / 204.4 MB, free: 5.711 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.06339/0.06339, allocations: 18.12 MB / 279 MB, free: 11.5 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.783e-06/1.783e-06, allocations: 0 / 416.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.819e-05, allocations: 3.703 kB / 416.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002252/0.00228, allocations: 2.203 MB / 418.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007369/0.003017, allocations: 0.525 MB / 419.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.003134, allocations: 4.438 kB / 419.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.003268, allocations: 36.53 kB / 419.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.682e-05/0.003365, allocations: 65.91 kB / 419.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.003507, allocations: 43.75 kB / 419.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.003688, allocations: 226.2 kB / 419.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.003844, allocations: 67.62 kB / 419.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.003923, allocations: 75.31 kB / 419.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.004045, allocations: 63.81 kB / 419.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.004077, allocations: 17.69 kB / 419.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.004102, allocations: 18.25 kB / 419.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.004134, allocations: 43.27 kB / 419.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.004199, allocations: 70.09 kB / 420 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.004419, allocations: 221.6 kB / 420.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004422, allocations: 0 / 420.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004423, allocations: 0 / 420.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004428, allocations: 0 / 420.2 MB, free: 10.04 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.000441/0.004869, allocations: 401.6 kB / 420.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.004905, allocations: 9.531 kB / 420.6 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.004946, allocations: 19.47 kB / 420.6 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.005141, allocations: 159.3 kB / 420.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.005158, allocations: 20.97 kB / 420.8 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.005191, allocations: 21.86 kB / 420.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.005445, allocations: 197 kB / 421 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.005457, allocations: 1.656 kB / 421 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.005473, allocations: 10.58 kB / 421 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.005481, allocations: 9.469 kB / 421 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.005656, allocations: 124.2 kB / 421.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.006292, allocations: 0.5553 MB / 421.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.006522, allocations: 126 kB / 421.8 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.006604, allocations: 61 kB / 421.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.006619, allocations: 2.219 kB / 421.9 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.006634, allocations: 32.23 kB / 421.9 MB, free: 8.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.006635, allocations: 5.094 kB / 421.9 MB, free: 8.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002901/0.006925, allocations: 170.8 kB / 422.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.006946, allocations: 56.5 kB / 422.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.114e-05/0.007027, allocations: 126.8 kB / 422.3 MB, free: 8.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.007037, allocations: 31.69 kB / 422.3 MB, free: 8.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.00709, allocations: 135.8 kB / 422.5 MB, free: 8.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.00712, allocations: 59.09 kB / 422.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.007158, allocations: 31.81 kB / 422.5 MB, free: 8.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.007198, allocations: 329 kB / 422.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.007266, allocations: 37.02 kB / 422.9 MB, free: 7.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.007343, allocations: 78.05 kB / 423 MB, free: 7.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.007487, allocations: 122.7 kB / 423.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.00749, allocations: 2.016 kB / 423.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001759/0.007666, allocations: 155.4 kB / 423.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.007681, allocations: 6 kB / 423.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.007686, allocations: 4.891 kB / 423.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.0077, allocations: 6.688 kB / 423.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.007811, allocations: 46.33 kB / 423.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.007818, allocations: 1.719 kB / 423.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.007861, allocations: 13.72 kB / 423.3 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.00787, allocations: 7.938 kB / 423.3 MB, free: 7.75 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 5.857e-05/0.007928, allocations: 126 kB / 423.5 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.007949, allocations: 14.78 kB / 423.5 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.007977, allocations: 18.89 kB / 423.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.00798, allocations: 10.06 kB / 423.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.007986, allocations: 1.125 kB / 423.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.00799, allocations: 0.7969 kB / 423.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.008126, allocations: 171.9 kB / 423.7 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008128, allocations: 0 / 423.7 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.008239, allocations: 37.52 kB / 423.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.00824, allocations: 1 kB / 423.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.008249, allocations: 1.219 kB / 423.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.008251, allocations: 4.359 kB / 423.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008253, allocations: 3.938 kB / 423.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.008514, allocations: 294.6 kB / 424 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.008527, allocations: 7.969 kB / 424 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.008542, allocations: 6.281 kB / 424 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.943e-05/0.008602, allocations: 5.672 kB / 424 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.008645, allocations: 20.09 kB / 424 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.008651, allocations: 4.281 kB / 424.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.008681, allocations: 95.31 kB / 424.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008681, allocations: 0 / 424.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.008868, allocations: 55.41 kB / 424.2 MB, free: 7.117 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 7.332e-05/0.008941, allocations: 111.2 kB / 424.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001808/0.009122, allocations: 104 kB / 424.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.009124, allocations: 0 / 424.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.009186, allocations: 52.09 kB / 424.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.009386, allocations: 24.83 kB / 424.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.009952, allocations: 417.1 kB / 424.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.01002, allocations: 107.9 kB / 425 MB, free: 6.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.01007, allocations: 18.38 kB / 425 MB, free: 6.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.0101, allocations: 15.03 kB / 425 MB, free: 6.574 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0101, allocations: 0 / 425 MB, free: 6.574 MB / 330.7 MB Notification: Performance of Templates: time 0.003021/0.01312, allocations: 1.097 MB / 426.1 MB, free: 6.43 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.839387459680438] Failed to read output from testmodel.py, exit status != 0: 0.019096444360911846 0.027912805000000002 0.021318418000000002 Calling exit ...