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.0008893/0.0008893, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.00093/0.00093, allocations: 173 kB / 24.17 MB, free: 332 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 0.9886/0.9886, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.08125/0.08125, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.263e-06/1.263e-06, allocations: 0 / 304.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.833e-05, allocations: 2.312 kB / 304.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_control): time 0.003811/0.003829, allocations: 3.129 MB / 307.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.005365, allocations: 0.9368 MB / 308.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.005571, allocations: 15.88 kB / 308.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.005778, allocations: 67.86 kB / 308.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.00602, allocations: 107.9 kB / 308.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.006359, allocations: 201.8 kB / 309 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.006714, allocations: 479.5 kB / 309.4 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.006926, allocations: 154.6 kB / 309.6 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.007057, allocations: 167.1 kB / 309.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.0072, allocations: 127.6 kB / 309.9 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.007245, allocations: 40 kB / 309.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.591e-05/0.007281, allocations: 40 kB / 310 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.007341, allocations: 95.61 kB / 310 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.081e-05/0.007422, allocations: 131.7 kB / 310.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.007684, allocations: 298.8 kB / 310.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007686, allocations: 3.938 kB / 310.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007687, allocations: 0 / 310.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.007691, allocations: 0 / 310.5 MB, free: 12.02 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.000569/0.00826, allocations: 0.6035 MB / 311.1 MB, free: 11.4 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.008289, allocations: 12.92 kB / 311.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.00835, allocations: 60.89 kB / 311.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.008578, allocations: 232.5 kB / 311.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.008601, allocations: 29.38 kB / 311.4 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.00864, allocations: 36.38 kB / 311.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.008924, allocations: 379 kB / 311.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.008936, allocations: 192 / 311.8 MB, free: 10.6 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.008956, allocations: 12.38 kB / 311.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.008965, allocations: 11.94 kB / 311.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.009084, allocations: 98.89 kB / 311.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.009916, allocations: 0.8683 MB / 312.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.01014, allocations: 147.2 kB / 312.9 MB, free: 9.418 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.147e-05/0.0102, allocations: 53.25 kB / 313 MB, free: 9.363 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.01021, allocations: 4.234 kB / 313 MB, free: 9.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.01023, allocations: 34.8 kB / 313 MB, free: 9.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.212e-06/0.01023, allocations: 0 / 313 MB, free: 9.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0001971/0.01043, allocations: 155.7 kB / 313.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.01047, allocations: 110.8 kB / 313.3 MB, free: 9.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.01059, allocations: 246.9 kB / 313.5 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01061, allocations: 29.7 kB / 313.6 MB, free: 8.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.051e-05/0.01068, allocations: 200.8 kB / 313.8 MB, free: 8.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.01072, allocations: 99.14 kB / 313.9 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.409e-05/0.01078, allocations: 53.69 kB / 313.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.01086, allocations: 346.7 kB / 314.2 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.0109, allocations: 32.84 kB / 314.3 MB, free: 7.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-05/0.01098, allocations: 151.5 kB / 314.4 MB, free: 7.809 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.0111, allocations: 142.8 kB / 314.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.0111, allocations: 0 / 314.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001452/0.01125, allocations: 159.5 kB / 314.7 MB, free: 7.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01126, allocations: 11.94 kB / 314.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01126, allocations: 0 / 314.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.01128, allocations: 4 kB / 314.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.01142, allocations: 72.03 kB / 314.8 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.01142, allocations: 8 kB / 314.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.0115, allocations: 27.78 kB / 314.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01151, allocations: 11.98 kB / 314.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.236e-05/0.01158, allocations: 112.1 kB / 315 MB, free: 7.242 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.099e-05/0.01166, allocations: 153.1 kB / 315.1 MB, free: 7.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001005/0.01176, allocations: 134.2 kB / 315.2 MB, free: 6.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.684e-06/0.01176, allocations: 4 kB / 315.2 MB, free: 6.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0001318/0.01189, allocations: 161.4 kB / 315.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/0.0119, allocations: 11.98 kB / 315.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.0119, allocations: 0 / 315.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.01191, allocations: 4 kB / 315.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01202, allocations: 67.92 kB / 315.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.01203, allocations: 8.109 kB / 315.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.267e-05/0.01209, allocations: 27.84 kB / 315.5 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.0121, allocations: 12 kB / 315.5 MB, free: 6.605 MB / 282.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 7.044e-05/0.01217, allocations: 192.2 kB / 315.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.0122, allocations: 27.97 kB / 315.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.01235, allocations: 162.4 kB / 315.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.01235, allocations: 4 kB / 315.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01236, allocations: 7.922 kB / 315.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01236, allocations: 0 / 315.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.01254, allocations: 193.6 kB / 316.1 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01254, allocations: 8 kB / 316.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.01267, allocations: 55.91 kB / 316.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.01267, allocations: 0 / 316.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.01268, allocations: 4 kB / 316.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01268, allocations: 4 kB / 316.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01268, allocations: 0 / 316.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.0129, allocations: 276.5 kB / 316.5 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.01295, allocations: 35.73 kB / 316.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.01297, allocations: 4 kB / 316.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.01305, allocations: 16 kB / 316.5 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.886e-05/0.01307, allocations: 19.91 kB / 316.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01308, allocations: 4 kB / 316.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.792e-05/0.01314, allocations: 92.56 kB / 316.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01314, allocations: 0 / 316.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.01337, allocations: 155.5 kB / 316.8 MB, free: 5.32 MB / 282.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 7.842e-05/0.01345, allocations: 88.34 kB / 316.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.01366, allocations: 202 kB / 317.1 MB, free: 5.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.01367, allocations: 4 kB / 317.1 MB, free: 5.016 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.01372, allocations: 68.73 kB / 317.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01395, allocations: 69.59 kB / 317.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.01472, allocations: 0.6482 MB / 317.8 MB, free: 4.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.436e-05/0.01478, allocations: 100.9 kB / 317.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.462e-05/0.01487, allocations: 34.27 kB / 318 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.01501, allocations: 103.3 kB / 318.1 MB, free: 3.953 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01501, allocations: 4 kB / 318.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of Templates: time 0.00497/0.01998, allocations: 3.381 MB / 321.5 MB, free: 0.6719 MB / 282.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.860616419930011]