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.001446/0.001446, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001603/0.001603, allocations: 165 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.036/1.036, allocations: 177.1 MB / 204.2 MB, free: 5.219 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.08936/0.08936, allocations: 18.14 MB / 278.9 MB, free: 11.15 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.824e-06/1.824e-06, allocations: 0 / 357.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.93e-05, allocations: 2.312 kB / 357.3 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.01301/0.01303, allocations: 3.158 MB / 360.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.01476, allocations: 0.9035 MB / 361.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.01508, allocations: 19.88 kB / 361.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.01532, allocations: 67.31 kB / 361.5 MB, free: 4.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.01566, allocations: 106.9 kB / 361.6 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.01615, allocations: 203.6 kB / 361.8 MB, free: 4.363 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.01668, allocations: 486.7 kB / 362.2 MB, free: 3.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.01699, allocations: 138.6 kB / 362.4 MB, free: 3.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.01727, allocations: 159.5 kB / 362.5 MB, free: 3.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.01746, allocations: 131.5 kB / 362.6 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.0175, allocations: 40 kB / 362.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.01755, allocations: 40 kB / 362.7 MB, free: 3.387 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.0176, allocations: 91.66 kB / 362.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.01771, allocations: 131.6 kB / 362.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.0181, allocations: 306.8 kB / 363.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.0181, allocations: 4 kB / 363.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.0181, allocations: 0 / 363.2 MB, free: 2.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.01811, allocations: 0 / 363.2 MB, free: 2.863 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.0008169/0.01893, allocations: 0.7221 MB / 364 MB, free: 2.105 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.01897, allocations: 16.92 kB / 364 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.01908, allocations: 76.66 kB / 364.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.01944, allocations: 271.3 kB / 364.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.01948, allocations: 33.3 kB / 364.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.01954, allocations: 36.38 kB / 364.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.02003, allocations: 397.3 kB / 364.8 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.02004, allocations: 4.188 kB / 364.8 MB, free: 1.219 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.02007, allocations: 12.38 kB / 364.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.02008, allocations: 11.94 kB / 364.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.02031, allocations: 137.8 kB / 364.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.0216, allocations: 1.181 MB / 366.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.02198, allocations: 184.3 kB / 366.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.02208, allocations: 76.05 kB / 366.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.02211, allocations: 8.234 kB / 366.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.02214, allocations: 41.56 kB / 366.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.02214, allocations: 0 / 366.4 MB, free: 15.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.0003522/0.02249, allocations: 221.4 kB / 366.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.02253, allocations: 106.8 kB / 366.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.02274, allocations: 298.3 kB / 367 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.02277, allocations: 29.7 kB / 367.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.0229, allocations: 271 kB / 367.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.02296, allocations: 95.17 kB / 367.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.02303, allocations: 63.31 kB / 367.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.02316, allocations: 0.5157 MB / 368 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.02324, allocations: 47.53 kB / 368.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.02338, allocations: 192.9 kB / 368.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.02356, allocations: 174.7 kB / 368.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02356, allocations: 0 / 368.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002607/0.02382, allocations: 233.3 kB / 368.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.02384, allocations: 5.25 kB / 368.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.02385, allocations: 7.938 kB / 368.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.02386, allocations: 0 / 368.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.02404, allocations: 71.91 kB / 368.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.02405, allocations: 0 / 368.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.02413, allocations: 35.77 kB / 368.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.02415, allocations: 12 kB / 368.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001269/0.02428, allocations: 167 kB / 368.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001252/0.0244, allocations: 192.3 kB / 369.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000165/0.02457, allocations: 174 kB / 369.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.02457, allocations: 0 / 369.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0002434/0.02481, allocations: 225.3 kB / 369.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.02482, allocations: 7.984 kB / 369.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.02482, allocations: 7.938 kB / 369.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/0.02483, allocations: 7.938 kB / 369.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.02498, allocations: 63.91 kB / 369.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.02498, allocations: 4 kB / 369.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.02505, allocations: 23.89 kB / 369.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.02507, allocations: 12 kB / 369.6 MB, free: 12.02 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.0001257/0.02519, allocations: 288.2 kB / 369.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.02523, allocations: 35.81 kB / 370 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.02549, allocations: 200.5 kB / 370.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.0255, allocations: 4 kB / 370.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.0255, allocations: 0 / 370.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.02551, allocations: 0 / 370.2 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.02575, allocations: 272.4 kB / 370.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.02576, allocations: 4 kB / 370.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.02592, allocations: 55.97 kB / 370.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.02592, allocations: 0 / 370.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.02594, allocations: 8 kB / 370.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.02594, allocations: 11.88 kB / 370.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.02594, allocations: 0 / 370.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.0263, allocations: 392.8 kB / 370.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.02636, allocations: 47.72 kB / 370.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.02639, allocations: 8 kB / 370.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.02648, allocations: 11.94 kB / 370.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.02652, allocations: 23.95 kB / 371 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.02653, allocations: 4 kB / 371 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.02664, allocations: 211 kB / 371.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02664, allocations: 4 kB / 371.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003468/0.02699, allocations: 147.6 kB / 371.3 MB, free: 10.27 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 9.584e-05/0.02709, allocations: 107.2 kB / 371.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.02744, allocations: 243 kB / 371.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02744, allocations: 0.75 kB / 371.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.02753, allocations: 75.59 kB / 371.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.02785, allocations: 72.92 kB / 371.8 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.02896, allocations: 0.6691 MB / 372.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.394e-05/0.02902, allocations: 100.9 kB / 372.6 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.02913, allocations: 34.27 kB / 372.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.0292, allocations: 28.44 kB / 372.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0292, allocations: 0 / 372.6 MB, free: 8.871 MB / 346.7 MB Notification: Performance of Templates: time 0.005585/0.03478, allocations: 3.092 MB / 375.7 MB, free: 5.848 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.250535345170647]