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.001001/0.001001, allocations: 77.09 kB / 20.67 MB, free: 3.828 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.0009504/0.0009504, allocations: 181 kB / 24.08 MB, free: 432 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 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.06606/0.06606, allocations: 18.14 MB / 279.2 MB, free: 11.16 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.553e-06/1.553e-06, allocations: 0 / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.435e-05, allocations: 2.312 kB / 357.8 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.01211/0.01214, allocations: 3.108 MB / 360.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.0137, allocations: 0.915 MB / 361.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002432/0.01394, allocations: 11.94 kB / 361.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.01416, allocations: 71.25 kB / 361.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.01441, allocations: 107 kB / 362 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.0148, allocations: 211.5 kB / 362.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003514/0.01831, allocations: 478.8 kB / 362.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.01858, allocations: 146.5 kB / 362.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.01877, allocations: 163.5 kB / 363 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.01896, allocations: 135.5 kB / 363.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.01901, allocations: 40 kB / 363.1 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.01906, allocations: 36 kB / 363.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.01912, allocations: 87.66 kB / 363.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.01922, allocations: 135.6 kB / 363.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.01956, allocations: 298.8 kB / 363.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.01956, allocations: 0 / 363.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01957, allocations: 0 / 363.7 MB, free: 1.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.01957, allocations: 4 kB / 363.7 MB, free: 1.562 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.001001/0.02057, allocations: 0.7298 MB / 364.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.02061, allocations: 12.92 kB / 364.4 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.086e-05/0.0207, allocations: 76.66 kB / 364.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.02404, allocations: 279.3 kB / 364.8 MB, free: 416 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.02407, allocations: 29.38 kB / 364.8 MB, free: 384 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.02412, allocations: 36.33 kB / 364.8 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.02456, allocations: 377.3 kB / 365.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.02458, allocations: 192 / 365.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.0246, allocations: 20.31 kB / 365.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.02461, allocations: 11.94 kB / 365.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.0248, allocations: 114.8 kB / 365.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.02604, allocations: 1.127 MB / 366.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.02636, allocations: 172.3 kB / 366.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.02644, allocations: 60.11 kB / 366.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.02646, allocations: 4.234 kB / 366.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.02649, allocations: 41.62 kB / 366.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.02649, allocations: 0 / 366.7 MB, free: 14.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.003358/0.02985, allocations: 204.1 kB / 366.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.02989, allocations: 106.8 kB / 367.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.03007, allocations: 294.2 kB / 367.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.0301, allocations: 33.7 kB / 367.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.03021, allocations: 267 kB / 367.6 MB, free: 13.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.03027, allocations: 95.16 kB / 367.7 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.101e-05/0.03035, allocations: 67.28 kB / 367.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.03048, allocations: 0.5156 MB / 368.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.03054, allocations: 35.66 kB / 368.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.03066, allocations: 184.8 kB / 368.5 MB, free: 12.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.03084, allocations: 167.2 kB / 368.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.03084, allocations: 0 / 368.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002616/0.0311, allocations: 205.5 kB / 368.9 MB, free: 12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.03111, allocations: 15.97 kB / 368.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.03112, allocations: 0 / 368.9 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.03113, allocations: 7.938 kB / 368.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.03135, allocations: 67.91 kB / 369 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.03135, allocations: 4 kB / 369 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.03146, allocations: 35.77 kB / 369 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.03147, allocations: 15.94 kB / 369 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001075/0.03158, allocations: 154.9 kB / 369.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001128/0.03169, allocations: 172.5 kB / 369.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001542/0.03185, allocations: 161.9 kB / 369.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.542e-06/0.03185, allocations: 0 / 369.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0002361/0.03208, allocations: 205.3 kB / 369.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.715e-06/0.03209, allocations: 8.188 kB / 369.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.0321, allocations: 4 kB / 369.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.0321, allocations: 7.984 kB / 369.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.03227, allocations: 59.92 kB / 369.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.03228, allocations: 15.86 kB / 369.8 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.723e-05/0.03237, allocations: 23.89 kB / 369.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.03239, allocations: 4 kB / 369.8 MB, free: 10.97 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.0001025/0.03249, allocations: 280 kB / 370.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.03254, allocations: 39.81 kB / 370.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.03424, allocations: 178.9 kB / 370.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.03424, allocations: 11.94 kB / 370.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.03424, allocations: 0 / 370.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.03425, allocations: 3.984 kB / 370.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.03452, allocations: 225 kB / 370.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.03452, allocations: 0 / 370.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.03471, allocations: 59.91 kB / 370.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.03471, allocations: 4 kB / 370.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.03473, allocations: 4 kB / 370.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.03473, allocations: 0 / 370.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.03473, allocations: 0 / 370.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.03506, allocations: 376.7 kB / 371 MB, free: 9.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.409e-05/0.03514, allocations: 47.72 kB / 371 MB, free: 9.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.03516, allocations: 8 kB / 371 MB, free: 9.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.03528, allocations: 8 kB / 371 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.03531, allocations: 19.95 kB / 371.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.03533, allocations: 7.938 kB / 371.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.03542, allocations: 195 kB / 371.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03542, allocations: 0 / 371.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.03583, allocations: 155.6 kB / 371.4 MB, free: 9.32 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.955e-05/0.03592, allocations: 111.2 kB / 371.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.03621, allocations: 215.2 kB / 371.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.03621, allocations: 0 / 371.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/0.0363, allocations: 75.52 kB / 371.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.03668, allocations: 83.25 kB / 371.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.03767, allocations: 0.6728 MB / 372.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.516e-05/0.03773, allocations: 104.9 kB / 372.7 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.03786, allocations: 38.28 kB / 372.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.03804, allocations: 138.1 kB / 372.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of SimCode: time 6.82e-07/0.03804, allocations: 0 / 372.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of Templates: time 0.005696/0.04374, allocations: 3.396 MB / 376.2 MB, free: 4.504 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: 2.9249167712405324]