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.001366/0.001366, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001665/0.001665, allocations: 155.6 kB / 23.01 MB, free: 4.602 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.469/1.469, allocations: 177.2 MB / 203.4 MB, free: 8.926 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.09684/0.09684, allocations: 17.79 MB / 277.6 MB, free: 15.36 MB / 270.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.002635/0.002635, allocations: 63.91 kB / 414.7 MB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1462, allocations: 59.55 MB / 474.2 MB, free: 8.828 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003959/0.1502, allocations: 1.887 MB / 476.1 MB, free: 6.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008677/0.151, allocations: 235.2 kB / 476.3 MB, free: 6.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1512, allocations: 4 kB / 476.3 MB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1514, allocations: 19.78 kB / 476.3 MB, free: 6.676 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005693/0.1519, allocations: 119.4 kB / 476.5 MB, free: 6.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.1521, allocations: 55.92 kB / 476.5 MB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.1526, allocations: 271.1 kB / 476.8 MB, free: 6.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1528, allocations: 33.08 kB / 476.8 MB, free: 6.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.153, allocations: 99.69 kB / 476.9 MB, free: 6.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.1533, allocations: 123.6 kB / 477 MB, free: 5.984 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/0.1533, allocations: 16 kB / 477 MB, free: 5.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.1536, allocations: 79.91 kB / 477.1 MB, free: 5.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1538, allocations: 75.72 kB / 477.2 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.154, allocations: 95.64 kB / 477.3 MB, free: 5.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.1545, allocations: 271 kB / 477.6 MB, free: 5.457 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.1545, allocations: 4 kB / 477.6 MB, free: 5.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1545, allocations: 0 / 477.6 MB, free: 5.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1545, allocations: 0 / 477.6 MB, free: 5.453 MB / 446.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.001511/0.1561, allocations: 0.4894 MB / 478.1 MB, free: 4.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.1561, allocations: 8.922 kB / 478.1 MB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1562, allocations: 24.8 kB / 478.1 MB, free: 4.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.1567, allocations: 262.7 kB / 478.3 MB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.1568, allocations: 8.375 kB / 478.3 MB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.1568, allocations: 20.31 kB / 478.4 MB, free: 4.586 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.1572, allocations: 145 kB / 478.5 MB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1572, allocations: 192 / 478.5 MB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1572, allocations: 7.938 kB / 478.5 MB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1572, allocations: 8 kB / 478.5 MB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.1574, allocations: 99.94 kB / 478.6 MB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.1586, allocations: 464.1 kB / 479.1 MB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/0.1594, allocations: 254.4 kB / 479.3 MB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.1596, allocations: 76.83 kB / 479.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.1596, allocations: 12.19 kB / 479.4 MB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1596, allocations: 34.5 kB / 479.4 MB, free: 3.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.1596, allocations: 0 / 479.4 MB, free: 3.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001143/0.1608, allocations: 358.4 kB / 479.8 MB, free: 3.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1608, allocations: 55.41 kB / 479.8 MB, free: 3.027 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.1612, allocations: 298.8 kB / 480.1 MB, free: 2.723 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1612, allocations: 29.7 kB / 480.2 MB, free: 2.688 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1613, allocations: 128 kB / 480.3 MB, free: 2.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.1614, allocations: 59.53 kB / 480.4 MB, free: 2.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.424e-05/0.1615, allocations: 41.64 kB / 480.4 MB, free: 2.453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1617, allocations: 330.8 kB / 480.7 MB, free: 2.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1618, allocations: 63.95 kB / 480.8 MB, free: 2.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1619, allocations: 93.67 kB / 480.9 MB, free: 1.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.1634, allocations: 492.4 kB / 481.4 MB, free: 1.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1634, allocations: 0 / 481.4 MB, free: 1.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006252/0.164, allocations: 303 kB / 481.6 MB, free: 1.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1641, allocations: 8 kB / 481.7 MB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1641, allocations: 0 / 481.7 MB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.1643, allocations: 53.7 kB / 481.7 MB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1646, allocations: 59.91 kB / 481.8 MB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2527/0.4173, allocations: 2.55 MB / 484.3 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4175, allocations: 20.55 kB / 484.3 MB, free: 50.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.4175, allocations: 9.781 kB / 484.3 MB, free: 50.02 MB / 446.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.0002376/0.4177, allocations: 167.7 kB / 484.5 MB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.4178, allocations: 18.27 kB / 484.5 MB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.4179, allocations: 31.22 kB / 484.6 MB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4179, allocations: 0 / 484.6 MB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4179, allocations: 3.719 kB / 484.6 MB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4179, allocations: 0 / 484.6 MB, free: 49.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.4181, allocations: 209.4 kB / 484.8 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4181, allocations: 0 / 484.8 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000294/0.4184, allocations: 54.16 kB / 484.8 MB, free: 49.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/0.4185, allocations: 49.12 kB / 484.9 MB, free: 49.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.4186, allocations: 9.188 kB / 484.9 MB, free: 49.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.4198, allocations: 2.557 MB / 487.4 MB, free: 47.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4198, allocations: 0 / 487.4 MB, free: 47.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.4203, allocations: 417.3 kB / 487.8 MB, free: 47.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.4204, allocations: 34.11 kB / 487.9 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4204, allocations: 5.031 kB / 487.9 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.4206, allocations: 16.95 kB / 487.9 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.4206, allocations: 13.59 kB / 487.9 MB, free: 47.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4206, allocations: 6.672 kB / 487.9 MB, free: 47.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.4208, allocations: 230.7 kB / 488.1 MB, free: 47.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4208, allocations: 0 / 488.1 MB, free: 47.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.4211, allocations: 80.81 kB / 488.2 MB, free: 47.16 MB / 446.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.0001372/0.4212, allocations: 116.4 kB / 488.3 MB, free: 47.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.4218, allocations: 414.1 kB / 488.7 MB, free: 46.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4218, allocations: 0 / 488.7 MB, free: 46.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.422, allocations: 311.5 kB / 489 MB, free: 46.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.4224, allocations: 51.5 kB / 489.1 MB, free: 46.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.4235, allocations: 0.8445 MB / 489.9 MB, free: 46.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.498e-05/0.4236, allocations: 132.6 kB / 490.1 MB, free: 46.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.4237, allocations: 41.8 kB / 490.1 MB, free: 46.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.4237, allocations: 18.47 kB / 490.1 MB, free: 46.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4237, allocations: 0 / 490.1 MB, free: 46.11 MB / 446.1 MB Notification: Performance of Templates: time 0.007206/0.431, allocations: 4.068 MB / 494.2 MB, free: 45.72 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.070780718931928] Failed to read output from testmodel.py, exit status != 0: 0.4396831350168213 0.44835541300000004 0.29141130600000004 Calling exit ...