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.001436/0.001436, allocations: 108.8 kB / 17.15 MB, free: 6.02 MB / 14.72 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.001621/0.001621, allocations: 204.5 kB / 20.11 MB, free: 3.066 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1043/0.1043, allocations: 24.03 MB / 333.6 MB, free: 1.613 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.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 70.69 kB / 468.9 MB, free: 31.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1488, allocations: 59.55 MB / 0.5161 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003356/0.1522, allocations: 1.941 MB / 0.518 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.1528, allocations: 231.2 kB / 0.5182 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.1529, allocations: 4 kB / 0.5182 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.153, allocations: 23.78 kB / 0.5182 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.1535, allocations: 123.4 kB / 0.5183 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.1536, allocations: 47.92 kB / 0.5184 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1539, allocations: 267.1 kB / 0.5186 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1541, allocations: 47.16 kB / 0.5187 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1542, allocations: 103.7 kB / 0.5188 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.1544, allocations: 131.6 kB / 0.5189 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.1545, allocations: 16 kB / 0.5189 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.1546, allocations: 71.88 kB / 0.519 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1547, allocations: 75.78 kB / 0.519 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1548, allocations: 107.5 kB / 0.5191 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.1552, allocations: 267 kB / 0.5194 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1552, allocations: 0 / 0.5194 GB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1552, allocations: 0 / 0.5194 GB, free: 8.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1552, allocations: 0 / 0.5194 GB, free: 8.402 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.001155/0.1564, allocations: 0.5569 MB / 0.5199 GB, free: 7.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1564, allocations: 12.62 kB / 0.52 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.1565, allocations: 20.8 kB / 0.52 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.1569, allocations: 331.8 kB / 0.5203 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1569, allocations: 8.375 kB / 0.5203 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.744e-05/0.157, allocations: 12.38 kB / 0.5203 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.1573, allocations: 144.6 kB / 0.5204 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1573, allocations: 192 / 0.5204 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1573, allocations: 7.938 kB / 0.5205 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1573, allocations: 4 kB / 0.5205 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.1575, allocations: 99.95 kB / 0.5206 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1585, allocations: 0.663 MB / 0.5212 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.1593, allocations: 262.3 kB / 0.5215 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.1595, allocations: 84.81 kB / 0.5215 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1595, allocations: 0 / 0.5215 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1595, allocations: 34.81 kB / 0.5216 GB, free: 5.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.1595, allocations: 0 / 0.5216 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001079/0.1606, allocations: 0.4934 MB / 0.522 GB, free: 5.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1606, allocations: 51.41 kB / 0.5221 GB, free: 5.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.161, allocations: 308.8 kB / 0.5224 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.161, allocations: 37.69 kB / 0.5224 GB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/0.1611, allocations: 124 kB / 0.5225 GB, free: 4.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.1611, allocations: 51.52 kB / 0.5226 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/0.1612, allocations: 49.64 kB / 0.5226 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1614, allocations: 326.8 kB / 0.523 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1615, allocations: 67.95 kB / 0.523 GB, free: 4.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1616, allocations: 85.67 kB / 0.5231 GB, free: 4.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.1631, allocations: 483.5 kB / 0.5236 GB, free: 3.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1631, allocations: 0 / 0.5236 GB, free: 3.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000575/0.1636, allocations: 316.2 kB / 0.5239 GB, free: 3.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1636, allocations: 4 kB / 0.5239 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1637, allocations: 0 / 0.5239 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/0.1639, allocations: 49.72 kB / 0.5239 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.1641, allocations: 59.84 kB / 0.524 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.1666, allocations: 2.805 MB / 0.5267 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.1668, allocations: 23.91 kB / 0.5267 GB, free: 296 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1668, allocations: 4 kB / 0.5267 GB, free: 292 kB / 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.000271/0.167, allocations: 178.6 kB / 0.5269 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.1671, allocations: 15.91 kB / 0.5269 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.457e-05/0.1672, allocations: 29.53 kB / 0.527 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1672, allocations: 7.922 kB / 0.527 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1672, allocations: 0 / 0.527 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1672, allocations: 4 kB / 0.527 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.1676, allocations: 289.5 kB / 0.5272 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1676, allocations: 3.984 kB / 0.5272 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.1679, allocations: 51.97 kB / 0.5273 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001844/0.1681, allocations: 49.62 kB / 0.5273 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1681, allocations: 8 kB / 0.5273 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.1703, allocations: 2.812 MB / 0.5301 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1703, allocations: 4.031 kB / 0.5301 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.171, allocations: 418.9 kB / 0.5305 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1711, allocations: 97 kB / 0.5306 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.1712, allocations: 8 kB / 0.5306 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.1713, allocations: 7.984 kB / 0.5306 GB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.1714, allocations: 15.92 kB / 0.5306 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1714, allocations: 4 kB / 0.5306 GB, free: 11.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002671/0.1717, allocations: 244.4 kB / 0.5309 GB, free: 11.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1717, allocations: 4 kB / 0.5309 GB, free: 11.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.1721, allocations: 75.88 kB / 0.5309 GB, free: 11.61 MB / 398.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.0002197/0.1723, allocations: 111.2 kB / 0.531 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006857/0.173, allocations: 417.2 kB / 0.5314 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.173, allocations: 0 / 0.5314 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.1733, allocations: 321.2 kB / 0.5317 GB, free: 10.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1737, allocations: 67.86 kB / 0.5318 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1752, allocations: 0.8604 MB / 0.5326 GB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1756, allocations: 0.7363 MB / 0.5334 GB, free: 9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1758, allocations: 41.5 kB / 0.5334 GB, free: 8.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.1758, allocations: 27.44 kB / 0.5334 GB, free: 8.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1758, allocations: 0 / 0.5334 GB, free: 8.934 MB / 398.1 MB Notification: Performance of Templates: time 0.009445/0.1853, allocations: 4.064 MB / 0.5374 GB, free: 4.918 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.222278226166964] Failed to read output from testmodel.py, exit status != 0: 0.19546441733837128 0.209492653 0.051323204000000004 Calling exit ...