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.002271/0.002271, allocations: 84.98 kB / 20.23 MB, free: 4.191 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.002646/0.002646, allocations: 165.3 kB / 23.55 MB, free: 0.875 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.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.1181/0.1181, allocations: 18.15 MB / 278.5 MB, free: 11.31 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.314e-06/2.314e-06, allocations: 0 / 356.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.26e-05, allocations: 2.312 kB / 356.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.005165/0.005198, allocations: 2.305 MB / 358.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.006486, allocations: 0.5298 MB / 359.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.006592, allocations: 4 kB / 359.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.006749, allocations: 35.66 kB / 359.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.006903, allocations: 63.41 kB / 359.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.00706, allocations: 43.88 kB / 359.5 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.007344, allocations: 230.8 kB / 359.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.007519, allocations: 69.41 kB / 359.8 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.007636, allocations: 75.83 kB / 359.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.007783, allocations: 67.8 kB / 359.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.00782, allocations: 16 kB / 360 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.007873, allocations: 20 kB / 360 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.007927, allocations: 43.83 kB / 360 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.492e-05/0.008021, allocations: 67.84 kB / 360.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.008334, allocations: 215.3 kB / 360.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.008342, allocations: 7.984 kB / 360.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008343, allocations: 0 / 360.3 MB, free: 4.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.008348, allocations: 4 kB / 360.3 MB, free: 4.391 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.0007682/0.009116, allocations: 0.4961 MB / 360.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.009151, allocations: 8.031 kB / 360.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.668e-05/0.009238, allocations: 36.84 kB / 360.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.009499, allocations: 164.2 kB / 361 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.009525, allocations: 16.88 kB / 361 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.009569, allocations: 20.38 kB / 361 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/0.009959, allocations: 198.3 kB / 361.2 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.009974, allocations: 4.188 kB / 361.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.009994, allocations: 4.375 kB / 361.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.01, allocations: 7.938 kB / 361.2 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.0103, allocations: 117.9 kB / 361.4 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.0115, allocations: 0.6678 MB / 362 MB, free: 2.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.01182, allocations: 127 kB / 362.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.01195, allocations: 63.66 kB / 362.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.01198, allocations: 4 kB / 362.2 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.01201, allocations: 37.39 kB / 362.3 MB, free: 2.285 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.01201, allocations: 0 / 362.3 MB, free: 2.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004259/0.01244, allocations: 165.3 kB / 362.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.01248, allocations: 63.34 kB / 362.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.01265, allocations: 193.9 kB / 362.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.01268, allocations: 29.7 kB / 362.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01281, allocations: 183.1 kB / 362.9 MB, free: 1.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.01287, allocations: 63.48 kB / 362.9 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.01294, allocations: 39.38 kB / 363 MB, free: 1.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002752/0.01321, allocations: 0.504 MB / 363.5 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.01331, allocations: 39.97 kB / 363.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.01345, allocations: 77.36 kB / 363.6 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.01369, allocations: 137.8 kB / 363.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.0137, allocations: 0 / 363.7 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000356/0.01405, allocations: 165.5 kB / 363.9 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.01407, allocations: 8 kB / 363.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01408, allocations: 0 / 363.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.0141, allocations: 7.938 kB / 363.9 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.01429, allocations: 47.89 kB / 364 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.0143, allocations: 3.938 kB / 364 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.01437, allocations: 15.89 kB / 364 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.01438, allocations: 8 kB / 364 MB, free: 472 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 0.0001532/0.01454, allocations: 172.5 kB / 364.2 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.0146, allocations: 28 kB / 364.2 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.01465, allocations: 12.78 kB / 364.2 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.01466, allocations: 11.92 kB / 364.2 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01466, allocations: 0 / 364.2 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01466, allocations: 0 / 364.2 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.01495, allocations: 200.5 kB / 364.4 MB, free: 0 / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.01495, allocations: 0 / 364.4 MB, free: 0 / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.01516, allocations: 35.98 kB / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01516, allocations: 0 / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.01518, allocations: 4 kB / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01518, allocations: 0 / 364.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/0.01519, allocations: 11.88 kB / 364.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.0158, allocations: 335.7 kB / 364.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.01582, allocations: 7.953 kB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.01585, allocations: 8 kB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.01595, allocations: 12 kB / 364.8 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.01601, allocations: 15.91 kB / 364.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01602, allocations: 0 / 364.8 MB, free: 15.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01613, allocations: 147.2 kB / 365 MB, free: 15.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01613, allocations: 0 / 365 MB, free: 15.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002696/0.0164, allocations: 47.84 kB / 365 MB, free: 15.37 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 0.0001392/0.01654, allocations: 107.2 kB / 365.1 MB, free: 15.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.01685, allocations: 123.5 kB / 365.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01685, allocations: 0 / 365.2 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.01697, allocations: 63.59 kB / 365.3 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.0002702/0.01724, allocations: 18.97 kB / 365.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.01815, allocations: 429.3 kB / 365.7 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.01828, allocations: 108.1 kB / 365.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.01835, allocations: 20.59 kB / 365.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.0184, allocations: 12.5 kB / 365.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0184, allocations: 0 / 365.9 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Templates: time 0.004915/0.02331, allocations: 1.13 MB / 367 MB, free: 13.33 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: 4.616642317967489]