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.001456/0.001456, allocations: 77.88 kB / 21.46 MB, free: 3.047 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.001743/0.001743, allocations: 168.5 kB / 24.86 MB, free: 9.254 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.9999/0.9999, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.06521/0.06521, allocations: 18.14 MB / 280 MB, free: 11.17 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.393e-06/1.393e-06, allocations: 0 / 358.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.648e-05, allocations: 2.312 kB / 358.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003632/0.003658, allocations: 3.127 MB / 361.7 MB, free: 5.402 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.005101, allocations: 0.9034 MB / 362.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.00535, allocations: 15.94 kB / 362.6 MB, free: 4.477 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.005534, allocations: 63.31 kB / 362.7 MB, free: 4.414 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.005779, allocations: 114.9 kB / 362.8 MB, free: 4.301 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.006136, allocations: 195.6 kB / 363 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.006518, allocations: 490.6 kB / 363.5 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.006755, allocations: 142.6 kB / 363.6 MB, free: 3.488 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.006918, allocations: 159.6 kB / 363.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.007079, allocations: 135.5 kB / 363.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.007123, allocations: 36 kB / 363.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.007163, allocations: 40 kB / 364 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.007218, allocations: 91.66 kB / 364 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.00731, allocations: 131.7 kB / 364.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.007638, allocations: 310.7 kB / 364.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.007642, allocations: 0 / 364.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007643, allocations: 0 / 364.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.007649, allocations: 0 / 364.5 MB, free: 2.602 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0007347/0.008383, allocations: 0.7259 MB / 365.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.008427, allocations: 8.922 kB / 365.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.851e-05/0.008526, allocations: 76.66 kB / 365.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.008854, allocations: 287.2 kB / 365.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.008883, allocations: 25.38 kB / 365.6 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.008931, allocations: 36.38 kB / 365.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.009309, allocations: 377.3 kB / 366 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.009322, allocations: 192 / 366 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.009347, allocations: 16.31 kB / 366 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.009357, allocations: 15.92 kB / 366 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.00951, allocations: 114.9 kB / 366.1 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.01063, allocations: 1.123 MB / 367.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.01095, allocations: 180.2 kB / 367.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.14e-05/0.01102, allocations: 60.05 kB / 367.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.01105, allocations: 8.234 kB / 367.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.01108, allocations: 37.62 kB / 367.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.284e-06/0.01108, allocations: 0 / 367.5 MB, free: 15.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.000317/0.0114, allocations: 201.4 kB / 367.7 MB, free: 15.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.01145, allocations: 106.8 kB / 367.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.01165, allocations: 294.2 kB / 368.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.01167, allocations: 29.7 kB / 368.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.01181, allocations: 271 kB / 368.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.01187, allocations: 95.16 kB / 368.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.01194, allocations: 71.28 kB / 368.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.01212, allocations: 0.5156 MB / 369.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.01219, allocations: 43.52 kB / 369.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.01231, allocations: 177 kB / 369.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01246, allocations: 166.7 kB / 369.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01246, allocations: 0 / 369.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002212/0.01268, allocations: 205.3 kB / 369.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01269, allocations: 8.188 kB / 369.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.0127, allocations: 4 kB / 369.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01271, allocations: 7.938 kB / 369.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.01288, allocations: 67.91 kB / 369.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01289, allocations: 4 kB / 369.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.01298, allocations: 31.77 kB / 369.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.01299, allocations: 4 kB / 369.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001034/0.01309, allocations: 162.8 kB / 370 MB, free: 12.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001018/0.01319, allocations: 176.3 kB / 370.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001371/0.01333, allocations: 162 kB / 370.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.01333, allocations: 0 / 370.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0002044/0.01353, allocations: 205.3 kB / 370.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.01354, allocations: 7.984 kB / 370.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01355, allocations: 12.19 kB / 370.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.01355, allocations: 4 kB / 370.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.0137, allocations: 63.86 kB / 370.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.0137, allocations: 11.92 kB / 370.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.01378, allocations: 19.89 kB / 370.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.01379, allocations: 12 kB / 370.6 MB, free: 12.01 MB / 346.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.0001116/0.0139, allocations: 280 kB / 370.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.01395, allocations: 39.81 kB / 370.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.01417, allocations: 180.5 kB / 371.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01417, allocations: 15.92 kB / 371.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01417, allocations: 0 / 371.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01418, allocations: 0 / 371.1 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.0144, allocations: 221 kB / 371.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01441, allocations: 4 kB / 371.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.01456, allocations: 55.91 kB / 371.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01456, allocations: 0 / 371.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.01458, allocations: 8 kB / 371.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01458, allocations: 0 / 371.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01458, allocations: 0 / 371.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.0149, allocations: 376.7 kB / 371.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.01496, allocations: 51.72 kB / 371.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.01499, allocations: 4 kB / 371.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.137e-05/0.01508, allocations: 15.98 kB / 371.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.01511, allocations: 19.97 kB / 371.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01512, allocations: 7.938 kB / 371.9 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.129e-05/0.01522, allocations: 199 kB / 372.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01522, allocations: 0 / 372.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.01553, allocations: 147.6 kB / 372.2 MB, free: 10.36 MB / 346.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 0.0001008/0.01563, allocations: 107.2 kB / 372.3 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.01591, allocations: 223 kB / 372.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01591, allocations: 0 / 372.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.01598, allocations: 67.59 kB / 372.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.0163, allocations: 76.36 kB / 372.7 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.01722, allocations: 0.6614 MB / 373.3 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.971e-05/0.01728, allocations: 100.9 kB / 373.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.01739, allocations: 42.27 kB / 373.5 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.01756, allocations: 146.1 kB / 373.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01756, allocations: 0 / 373.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of Templates: time 0.00553/0.02309, allocations: 3.467 MB / 377.1 MB, free: 5.477 MB / 346.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.033613775856793]