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.001751/0.001751, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00197/0.00197, allocations: 186 kB / 20.78 MB, free: 1.547 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.486/1.486, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.1057/0.1057, allocations: 22.69 MB / 327.2 MB, free: 7.23 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.001951/0.001951, allocations: 68.47 kB / 460.6 MB, free: 40.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 58.04 MB / 0.5065 GB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002425/0.1288, allocations: 1.946 MB / 0.5084 GB, free: 4.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005551/0.1294, allocations: 235.3 kB / 0.5086 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.1294, allocations: 0 / 0.5086 GB, free: 4.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1296, allocations: 27.78 kB / 0.5087 GB, free: 4.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.13, allocations: 123.4 kB / 0.5088 GB, free: 4.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.784e-05/0.1301, allocations: 51.86 kB / 0.5088 GB, free: 4.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.1303, allocations: 267.1 kB / 0.5091 GB, free: 4.012 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1304, allocations: 37.05 kB / 0.5091 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/0.1305, allocations: 103.7 kB / 0.5092 GB, free: 3.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.1307, allocations: 123.6 kB / 0.5093 GB, free: 3.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.1307, allocations: 24 kB / 0.5094 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1308, allocations: 79.86 kB / 0.5094 GB, free: 3.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.1309, allocations: 75.78 kB / 0.5095 GB, free: 3.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.131, allocations: 99.53 kB / 0.5096 GB, free: 3.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1312, allocations: 271 kB / 0.5099 GB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1312, allocations: 0 / 0.5099 GB, free: 3.215 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1312, allocations: 0 / 0.5099 GB, free: 3.215 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1312, allocations: 0 / 0.5099 GB, free: 3.215 MB / 366.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.0009464/0.1322, allocations: 0.5531 MB / 0.5104 GB, free: 2.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1322, allocations: 16.69 kB / 0.5104 GB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1323, allocations: 20.8 kB / 0.5104 GB, free: 2.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1326, allocations: 335.8 kB / 0.5108 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1326, allocations: 4.375 kB / 0.5108 GB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1326, allocations: 12.38 kB / 0.5108 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1328, allocations: 142.2 kB / 0.5109 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1328, allocations: 192 / 0.5109 GB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1329, allocations: 7.938 kB / 0.5109 GB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1329, allocations: 4 kB / 0.5109 GB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.133, allocations: 95.95 kB / 0.511 GB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.1338, allocations: 0.6593 MB / 0.5117 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.1345, allocations: 254.3 kB / 0.5119 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1346, allocations: 84.81 kB / 0.512 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1346, allocations: 0 / 0.512 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.1346, allocations: 38.81 kB / 0.512 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.1346, allocations: 0 / 0.512 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.000921/0.1356, allocations: 0.4933 MB / 0.5125 GB, free: 280 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1356, allocations: 55.41 kB / 0.5126 GB, free: 212 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.1359, allocations: 315.8 kB / 0.5129 GB, free: 15.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1359, allocations: 29.7 kB / 0.5129 GB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.916e-05/0.136, allocations: 124.1 kB / 0.513 GB, free: 15.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.1361, allocations: 59.47 kB / 0.5131 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.325e-05/0.1362, allocations: 33.7 kB / 0.5131 GB, free: 15.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1363, allocations: 334.8 kB / 0.5134 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1364, allocations: 67.95 kB / 0.5135 GB, free: 15.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.1366, allocations: 85.67 kB / 0.5136 GB, free: 15.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1381, allocations: 483.6 kB / 0.514 GB, free: 14.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1381, allocations: 0 / 0.514 GB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000567/0.1387, allocations: 309.5 kB / 0.5143 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1387, allocations: 7.984 kB / 0.5143 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1387, allocations: 0 / 0.5143 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/0.1389, allocations: 49.69 kB / 0.5144 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.1392, allocations: 63.81 kB / 0.5144 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.1416, allocations: 2.813 MB / 0.5172 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.1418, allocations: 19.91 kB / 0.5172 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1418, allocations: 12 kB / 0.5172 GB, free: 11.09 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.000241/0.142, allocations: 170.6 kB / 0.5174 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.1421, allocations: 19.86 kB / 0.5174 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.1421, allocations: 33.53 kB / 0.5174 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1421, allocations: 3.938 kB / 0.5174 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1421, allocations: 0 / 0.5174 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1421, allocations: 3.984 kB / 0.5174 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.1425, allocations: 285.5 kB / 0.5177 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1425, allocations: 0 / 0.5177 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.1428, allocations: 51.95 kB / 0.5177 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.143, allocations: 53.62 kB / 0.5178 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.143, allocations: 8 kB / 0.5178 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.1453, allocations: 2.817 MB / 0.5206 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1453, allocations: 0 / 0.5206 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.146, allocations: 417 kB / 0.521 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/0.1461, allocations: 105 kB / 0.5211 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.1461, allocations: 4 kB / 0.5211 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.1463, allocations: 11.98 kB / 0.5211 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1463, allocations: 7.984 kB / 0.5211 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1463, allocations: 7.938 kB / 0.5211 GB, free: 6.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002589/0.1466, allocations: 241.4 kB / 0.5213 GB, free: 6.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1466, allocations: 0 / 0.5213 GB, free: 6.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.147, allocations: 83.89 kB / 0.5214 GB, free: 6.422 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.0002027/0.1472, allocations: 111.2 kB / 0.5215 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.1479, allocations: 415.3 kB / 0.5219 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1479, allocations: 64 / 0.5219 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.1483, allocations: 321.2 kB / 0.5222 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.1487, allocations: 54.34 kB / 0.5223 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.1503, allocations: 0.862 MB / 0.5231 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.1508, allocations: 0.7518 MB / 0.5238 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.151, allocations: 33.53 kB / 0.5239 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.151, allocations: 23.42 kB / 0.5239 GB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.151, allocations: 0 / 0.5239 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Templates: time 0.009469/0.1605, allocations: 4.103 MB / 0.5279 GB, free: 15.7 MB / 398.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.080559081397951]