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.001065/0.001065, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001072/0.001072, allocations: 169.3 kB / 23.82 MB, free: 0.7539 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.001/1.001, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.06716/0.06716, allocations: 18.13 MB / 278.9 MB, free: 11.34 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.094e-06/2.094e-06, allocations: 0 / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.371e-05, allocations: 2.312 kB / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.01123/0.01127, allocations: 2.339 MB / 359.6 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.01249, allocations: 0.5491 MB / 360.2 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.01264, allocations: 4 kB / 360.2 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.01281, allocations: 27.7 kB / 360.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.01296, allocations: 63.41 kB / 360.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.01314, allocations: 39.95 kB / 360.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.0134, allocations: 230.8 kB / 360.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.01359, allocations: 73.38 kB / 360.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.0137, allocations: 75.84 kB / 360.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.01384, allocations: 67.78 kB / 360.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.01388, allocations: 20 kB / 360.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.183e-05/0.01392, allocations: 16 kB / 360.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.955e-05/0.01395, allocations: 39.84 kB / 360.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003123/0.01708, allocations: 71.83 kB / 360.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.01735, allocations: 143.5 kB / 361 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01735, allocations: 0 / 361 MB, free: 4.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01736, allocations: 4 kB / 361 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.01736, allocations: 0 / 361 MB, free: 4.055 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.0006449/0.01801, allocations: 0.5003 MB / 361.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.01805, allocations: 8.031 kB / 361.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.01813, allocations: 32.84 kB / 361.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.01837, allocations: 160.3 kB / 361.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.0184, allocations: 16.88 kB / 361.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.01844, allocations: 20.38 kB / 361.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.01875, allocations: 175.1 kB / 362 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01877, allocations: 192 / 362 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.01879, allocations: 12.38 kB / 362 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.0188, allocations: 7.938 kB / 362 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.01898, allocations: 74.94 kB / 362 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.01986, allocations: 0.6013 MB / 362.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/0.02316, allocations: 103 kB / 362.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.02325, allocations: 43.66 kB / 362.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.02326, allocations: 4 kB / 362.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.02329, allocations: 37.39 kB / 362.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.02329, allocations: 0 / 362.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003058/0.0236, allocations: 132.9 kB / 363 MB, free: 1.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.02363, allocations: 55.41 kB / 363 MB, free: 1.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.02374, allocations: 189.9 kB / 363.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.02376, allocations: 33.64 kB / 363.2 MB, free: 1.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.02385, allocations: 183.1 kB / 363.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.02389, allocations: 55.55 kB / 363.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.02395, allocations: 43.36 kB / 363.5 MB, free: 1.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.02408, allocations: 0.4922 MB / 364 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.403e-05/0.02414, allocations: 19.98 kB / 364 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/0.02422, allocations: 65.17 kB / 364.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.02435, allocations: 106.6 kB / 364.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.02435, allocations: 4 kB / 364.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002032/0.02456, allocations: 133.4 kB / 364.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.02457, allocations: 8 kB / 364.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.02458, allocations: 0 / 364.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.0246, allocations: 7.922 kB / 364.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.02476, allocations: 43.97 kB / 364.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.02477, allocations: 0 / 364.4 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.02482, allocations: 12.05 kB / 364.4 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.02484, allocations: 11.94 kB / 364.4 MB, free: 456 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 9.426e-05/0.02493, allocations: 164.5 kB / 364.6 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.02497, allocations: 19.91 kB / 364.6 MB, free: 260 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.02501, allocations: 20.77 kB / 364.6 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.02501, allocations: 3.938 kB / 364.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.02502, allocations: 0 / 364.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.02502, allocations: 0 / 364.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.02522, allocations: 176.6 kB / 364.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.02523, allocations: 0 / 364.8 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.0254, allocations: 39.98 kB / 364.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.0254, allocations: 4 kB / 364.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.02542, allocations: 7.938 kB / 364.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02542, allocations: 0 / 364.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.02542, allocations: 3.938 kB / 364.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.02875, allocations: 290.6 kB / 365.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.02877, allocations: 15.88 kB / 365.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.02879, allocations: 4 kB / 365.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.0289, allocations: 8 kB / 365.1 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.02894, allocations: 15.86 kB / 365.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.02895, allocations: 8.031 kB / 365.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.151e-05/0.02901, allocations: 143.1 kB / 365.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02901, allocations: 0 / 365.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.02932, allocations: 47.89 kB / 365.4 MB, free: 15.43 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.0001099/0.02943, allocations: 103.2 kB / 365.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.02963, allocations: 79.59 kB / 365.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.02963, allocations: 0 / 365.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.02971, allocations: 51.78 kB / 365.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.03, allocations: 20 kB / 365.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009726/0.03097, allocations: 424.3 kB / 366 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.171e-05/0.03102, allocations: 71.84 kB / 366.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.03107, allocations: 12.64 kB / 366.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.03112, allocations: 16.5 kB / 366.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.563e-06/0.03112, allocations: 0 / 366.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of Templates: time 0.009835/0.04095, allocations: 1.182 MB / 367.3 MB, free: 13.44 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: 2.8496050108224154]