Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.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.000944/0.000944, 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.0009755/0.0009755, allocations: 173 kB / 23.82 MB, free: 0.75 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.067/1.067, 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.06305/0.06305, allocations: 18.15 MB / 278.9 MB, free: 11.33 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_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.852e-05, allocations: 2.312 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003118/0.003137, allocations: 3.147 MB / 360.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.004631, allocations: 0.9189 MB / 361.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.004809, allocations: 11.94 kB / 361.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.005004, allocations: 71.25 kB / 361.4 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.005231, allocations: 103 kB / 361.6 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.005554, allocations: 203.6 kB / 361.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.005908, allocations: 490.6 kB / 362.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.006132, allocations: 150.5 kB / 362.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.006272, allocations: 151.6 kB / 362.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.006421, allocations: 127.5 kB / 362.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.609e-05/0.006467, allocations: 40 kB / 362.7 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.006505, allocations: 40 kB / 362.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.006555, allocations: 87.67 kB / 362.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.006642, allocations: 139.6 kB / 362.9 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.006918, allocations: 310.8 kB / 363.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006921, allocations: 0 / 363.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.006921, allocations: 0 / 363.3 MB, free: 1.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006926, allocations: 0 / 363.3 MB, free: 1.832 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0006831/0.007609, allocations: 0.7221 MB / 364 MB, free: 1.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.007642, allocations: 8.922 kB / 364 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/0.00773, allocations: 72.66 kB / 364.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.008014, allocations: 283.2 kB / 364.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.008041, allocations: 25.38 kB / 364.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.008084, allocations: 40.33 kB / 364.4 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.00849, allocations: 401.3 kB / 364.8 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.008505, allocations: 8.125 kB / 364.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.008527, allocations: 12.38 kB / 364.8 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.008539, allocations: 19.88 kB / 364.8 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.008741, allocations: 129.9 kB / 365 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.009926, allocations: 1.173 MB / 366.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.01027, allocations: 188.3 kB / 366.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.01037, allocations: 68.12 kB / 366.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.01039, allocations: 8.234 kB / 366.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.01042, allocations: 37.62 kB / 366.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.01042, allocations: 0 / 366.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004002/0.01082, allocations: 220.2 kB / 366.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.01086, allocations: 114.8 kB / 366.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.01104, allocations: 290.4 kB / 367 MB, free: 13.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.01106, allocations: 29.7 kB / 367.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01117, allocations: 271 kB / 367.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.01122, allocations: 99.16 kB / 367.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.01128, allocations: 71.31 kB / 367.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01141, allocations: 0.5079 MB / 368 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.01149, allocations: 47.66 kB / 368 MB, free: 12.76 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.01165, allocations: 192.9 kB / 368.2 MB, free: 12.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.01185, allocations: 183.1 kB / 368.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01185, allocations: 4.031 kB / 368.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002871/0.01214, allocations: 221.3 kB / 368.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01215, allocations: 4 kB / 368.6 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.01216, allocations: 7.938 kB / 368.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01218, allocations: 4 kB / 368.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.01236, allocations: 71.89 kB / 368.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01237, allocations: 4 kB / 368.7 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01247, allocations: 31.97 kB / 368.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.01249, allocations: 12 kB / 368.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001646/0.01265, allocations: 174.7 kB / 368.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001439/0.0128, allocations: 184.5 kB / 369.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001587/0.01296, allocations: 158 kB / 369.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.01296, allocations: 4.016 kB / 369.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003261/0.01329, allocations: 237.3 kB / 369.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.01329, allocations: 8 kB / 369.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.0133, allocations: 4 kB / 369.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.201e-06/0.0133, allocations: 7.938 kB / 369.5 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.01345, allocations: 63.91 kB / 369.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01346, allocations: 4 kB / 369.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.01353, allocations: 20.08 kB / 369.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01354, allocations: 15.98 kB / 369.6 MB, free: 11 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (PID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001178/0.01366, allocations: 288 kB / 369.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.0137, allocations: 35.81 kB / 369.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.01396, allocations: 202.8 kB / 370.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01396, allocations: 0 / 370.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01396, allocations: 0 / 370.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01397, allocations: 7.984 kB / 370.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.0142, allocations: 264.4 kB / 370.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.0142, allocations: 0 / 370.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.01435, allocations: 55.91 kB / 370.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01435, allocations: 4 kB / 370.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.01437, allocations: 8 kB / 370.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01437, allocations: 3.938 kB / 370.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01437, allocations: 0 / 370.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.0147, allocations: 396.8 kB / 370.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.01476, allocations: 39.73 kB / 370.9 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.01478, allocations: 8 kB / 370.9 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/0.01487, allocations: 19.92 kB / 370.9 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.01492, allocations: 15.97 kB / 370.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.01493, allocations: 8 kB / 371 MB, free: 9.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.01504, allocations: 214.9 kB / 371.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01504, allocations: 0 / 371.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004559/0.01549, allocations: 147.6 kB / 371.3 MB, free: 9.254 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Cbody.T,PID.I.y,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 (28): * Single equations (assignments): 28 * 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 8.87e-05/0.01558, allocations: 103.2 kB / 371.4 MB, free: 9.145 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.01591, allocations: 243.8 kB / 371.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01591, allocations: 8.125 kB / 371.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.01599, allocations: 83.56 kB / 371.7 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.01629, allocations: 81.36 kB / 371.8 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.01724, allocations: 0.6807 MB / 372.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.0173, allocations: 96.94 kB / 372.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.01741, allocations: 34.28 kB / 372.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.01746, allocations: 24.5 kB / 372.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01747, allocations: 0 / 372.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of Templates: time 0.005754/0.02322, allocations: 3.272 MB / 375.9 MB, free: 4.629 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.021232085302472]