Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Containment_elements.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.001431/0.001431, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001016/0.001016, allocations: 161.9 kB / 24.86 MB, free: 8.766 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.1232/0.1232, allocations: 18.14 MB / 280 MB, free: 11.14 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.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 358.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.994e-05, allocations: 5.125 kB / 358.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002441/0.002461, allocations: 1.973 MB / 360.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004402/0.002902, allocations: 235.2 kB / 360.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.00296, allocations: 4 kB / 360.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.003097, allocations: 23.78 kB / 360.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.003425, allocations: 111.3 kB / 360.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.412e-05/0.00352, allocations: 59.84 kB / 361 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.003737, allocations: 275 kB / 361.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003841, allocations: 37.27 kB / 361.3 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.155e-05/0.003922, allocations: 99.73 kB / 361.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.004078, allocations: 119.7 kB / 361.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.004104, allocations: 16 kB / 361.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.004227, allocations: 83.84 kB / 361.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.004293, allocations: 75.81 kB / 361.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.004355, allocations: 79.81 kB / 361.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.00457, allocations: 207.4 kB / 361.9 MB, free: 4.129 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.004572, allocations: 3.938 kB / 361.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004573, allocations: 3.938 kB / 361.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004577, allocations: 4 kB / 361.9 MB, free: 4.117 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006308/0.005208, allocations: 0.5659 MB / 362.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.005236, allocations: 8.922 kB / 362.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.005286, allocations: 32.8 kB / 362.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.005465, allocations: 196.9 kB / 362.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005475, allocations: 8.234 kB / 362.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.005498, allocations: 16.36 kB / 362.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.00561, allocations: 86.94 kB / 362.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005617, allocations: 192 / 362.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005628, allocations: 4.375 kB / 362.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.005633, allocations: 4.375 kB / 362.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.005687, allocations: 34.75 kB / 362.9 MB, free: 3.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.006188, allocations: 424 kB / 363.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.006527, allocations: 166.9 kB / 363.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.00657, allocations: 31.92 kB / 363.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.006581, allocations: 4 kB / 363.5 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.006603, allocations: 45.31 kB / 363.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.006604, allocations: 4 kB / 363.6 MB, free: 2.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004563/0.00706, allocations: 216.2 kB / 363.8 MB, free: 2.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.007082, allocations: 59.33 kB / 363.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.007223, allocations: 282 kB / 364.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.007237, allocations: 25.7 kB / 364.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.0073, allocations: 174.7 kB / 364.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.007335, allocations: 63.47 kB / 364.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.63e-05/0.007381, allocations: 43.33 kB / 364.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.00749, allocations: 0.5079 MB / 364.9 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.847e-05/0.007518, allocations: 15.98 kB / 364.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.007562, allocations: 43.34 kB / 365 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.007689, allocations: 118.4 kB / 365.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007691, allocations: 0 / 365.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002425/0.007933, allocations: 188.7 kB / 365.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.007945, allocations: 6.656 kB / 365.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00795, allocations: 0 / 365.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/0.008133, allocations: 63.33 kB / 365.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.008252, allocations: 43.98 kB / 365.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.009843, allocations: 3.446 MB / 368.8 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.009943, allocations: 15.92 kB / 368.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.009957, allocations: 8 kB / 368.8 MB, free: 12.75 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 variables: homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [4] nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = \"K\" fixed = true nominal = 300.0 ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.01014, allocations: 193.3 kB / 369 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01017, allocations: 27.84 kB / 369.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.0102, allocations: 29.45 kB / 369.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.0102, allocations: 3.984 kB / 369.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01021, allocations: 4 kB / 369.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.01021, allocations: 0 / 369.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.01036, allocations: 161.1 kB / 369.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01036, allocations: 4 kB / 369.3 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.01052, allocations: 47.97 kB / 369.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.01066, allocations: 63.27 kB / 369.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01067, allocations: 8 kB / 369.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.012, allocations: 3.426 MB / 372.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.012, allocations: 0 / 372.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.0123, allocations: 354.7 kB / 373.1 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.01232, allocations: 23.89 kB / 373.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01234, allocations: 7.938 kB / 373.2 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.011e-05/0.01243, allocations: 7.984 kB / 373.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.01246, allocations: 11.92 kB / 373.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.01247, allocations: 7.984 kB / 373.2 MB, free: 8.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.953e-05/0.01256, allocations: 204.1 kB / 373.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01256, allocations: 0 / 373.4 MB, free: 7.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000271/0.01283, allocations: 75.94 kB / 373.5 MB, free: 7.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[3]) * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.01296, allocations: 107.2 kB / 373.6 MB, free: 7.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003704/0.01333, allocations: 442 kB / 374 MB, free: 7.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01333, allocations: 4.062 kB / 374 MB, free: 7.238 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.01353, allocations: 391.3 kB / 374.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.01377, allocations: 54.83 kB / 374.5 MB, free: 6.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.01466, allocations: 0.6386 MB / 375.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.091e-05/0.01471, allocations: 88.17 kB / 375.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.525e-05/0.01478, allocations: 13.48 kB / 375.2 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.01489, allocations: 114.2 kB / 375.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01489, allocations: 0 / 375.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of Templates: time 0.005638/0.02053, allocations: 4.5 MB / 379.8 MB, free: 1.434 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Containment_elements.sim & ./AES_AES.Coursework.ThermSys_component_models.Containment_elements -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.051491867750883]