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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 103.2 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 190.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.09897/0.09897, allocations: 22.7 MB / 325.4 MB, free: 3.559 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003104/0.003104, allocations: 67.89 kB / 457.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1554, allocations: 58.01 MB / 0.5036 GB, free: 7.164 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003361/0.1588, allocations: 1.944 MB / 0.5055 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006348/0.1594, allocations: 247.2 kB / 0.5057 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.704e-05/0.1595, allocations: 0 / 0.5057 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1596, allocations: 23.78 kB / 0.5057 GB, free: 4.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.1601, allocations: 111.4 kB / 0.5058 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.1602, allocations: 55.92 kB / 0.5059 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.1605, allocations: 259.1 kB / 0.5061 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.1606, allocations: 49.02 kB / 0.5062 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1608, allocations: 95.75 kB / 0.5063 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.161, allocations: 131.5 kB / 0.5064 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.161, allocations: 16 kB / 0.5064 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1612, allocations: 71.94 kB / 0.5065 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.1613, allocations: 71.78 kB / 0.5066 GB, free: 4.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1614, allocations: 115.4 kB / 0.5067 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1618, allocations: 271 kB / 0.5069 GB, free: 3.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1618, allocations: 4 kB / 0.5069 GB, free: 3.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1618, allocations: 3.938 kB / 0.5069 GB, free: 3.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1618, allocations: 0 / 0.5069 GB, free: 3.711 MB / 382.1 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.001175/0.1629, allocations: 0.5492 MB / 0.5075 GB, free: 3.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.163, allocations: 8.031 kB / 0.5075 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.699e-05/0.1631, allocations: 24.8 kB / 0.5075 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.1635, allocations: 327.8 kB / 0.5078 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1635, allocations: 8.375 kB / 0.5078 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.1635, allocations: 12.38 kB / 0.5078 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1638, allocations: 142.2 kB / 0.508 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1638, allocations: 4.188 kB / 0.508 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1638, allocations: 3.938 kB / 0.508 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.1638, allocations: 4 kB / 0.508 GB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.164, allocations: 95.94 kB / 0.5081 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1651, allocations: 0.667 MB / 0.5087 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.166, allocations: 258.4 kB / 0.509 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.1662, allocations: 85.06 kB / 0.5091 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1662, allocations: 4 kB / 0.5091 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1662, allocations: 38.5 kB / 0.5091 GB, free: 1.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.592e-06/0.1662, allocations: 0 / 0.5091 GB, free: 1.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.00111/0.1673, allocations: 0.4928 MB / 0.5096 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1674, allocations: 55.41 kB / 0.5096 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003529/0.1677, allocations: 315.8 kB / 0.5099 GB, free: 392 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.1677, allocations: 29.7 kB / 0.51 GB, free: 356 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.1678, allocations: 116.1 kB / 0.5101 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.1679, allocations: 59.48 kB / 0.5101 GB, free: 176 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.168, allocations: 37.7 kB / 0.5102 GB, free: 132 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.2803/0.4482, allocations: 325.1 kB / 0.5105 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.4485, allocations: 67.86 kB / 0.5105 GB, free: 15.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.4486, allocations: 86.94 kB / 0.5106 GB, free: 15.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.4505, allocations: 473.9 kB / 0.5111 GB, free: 15.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4505, allocations: 1.156 kB / 0.5111 GB, free: 15.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007428/0.4512, allocations: 309.1 kB / 0.5114 GB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.4513, allocations: 5.375 kB / 0.5114 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4513, allocations: 2.375 kB / 0.5114 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.4516, allocations: 48.92 kB / 0.5114 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.4519, allocations: 56.95 kB / 0.5115 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.454, allocations: 2.808 MB / 0.5142 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4542, allocations: 20.94 kB / 0.5142 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.4542, allocations: 8.125 kB / 0.5143 GB, free: 12.98 MB / 382.1 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.0002945/0.4545, allocations: 173.2 kB / 0.5144 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.4546, allocations: 18.25 kB / 0.5144 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.4546, allocations: 28.55 kB / 0.5145 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.4546, allocations: 6.656 kB / 0.5145 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.4546, allocations: 0 / 0.5145 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4546, allocations: 2.75 kB / 0.5145 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.4549, allocations: 297.5 kB / 0.5148 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4549, allocations: 3.281 kB / 0.5148 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.4553, allocations: 50.09 kB / 0.5148 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.4554, allocations: 55.11 kB / 0.5149 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.4554, allocations: 5.469 kB / 0.5149 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/0.4569, allocations: 2.815 MB / 0.5176 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4569, allocations: 6.938 kB / 0.5176 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.4574, allocations: 424.8 kB / 0.518 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.4575, allocations: 105.2 kB / 0.5181 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.4575, allocations: 8.094 kB / 0.5181 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.4577, allocations: 10.7 kB / 0.5181 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.4577, allocations: 13.22 kB / 0.5182 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4577, allocations: 2.5 kB / 0.5182 GB, free: 9.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.4579, allocations: 241.2 kB / 0.5184 GB, free: 9.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4579, allocations: 0.9375 kB / 0.5184 GB, free: 9.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003611/0.4583, allocations: 69.53 kB / 0.5185 GB, free: 9.613 MB / 382.1 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.0001561/0.4585, allocations: 117.9 kB / 0.5186 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005512/0.459, allocations: 417.5 kB / 0.519 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.459, allocations: 0 / 0.519 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.4593, allocations: 315.1 kB / 0.5193 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.4597, allocations: 63.86 kB / 0.5193 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.461, allocations: 0.852 MB / 0.5202 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.4612, allocations: 0.7448 MB / 0.5209 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.4613, allocations: 43.84 kB / 0.5209 GB, free: 7.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.4614, allocations: 19.09 kB / 0.5209 GB, free: 7.895 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4614, allocations: 0 / 0.5209 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Templates: time 0.009739/0.4711, allocations: 4.061 MB / 0.5249 GB, free: 7.684 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.142802445217967] Failed to read output from testmodel.py, exit status != 0: 0.4812467461451888 0.49402288099999997 0.32782674399999995 Calling exit ...