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.00099/0.00099, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001015/0.001015, allocations: 173.3 kB / 24.16 MB, free: 336 kB / 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 0.9123/0.9123, allocations: 177.1 MB / 204.6 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.07941/0.07941, allocations: 18.14 MB / 279.2 MB, free: 11.2 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.303e-06/1.303e-06, allocations: 0 / 304.5 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.661e-05, allocations: 2.812 kB / 304.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002108/0.002125, allocations: 1.986 MB / 306.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004761/0.002601, allocations: 240.8 kB / 306.7 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.002659, allocations: 6.188 kB / 306.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.002793, allocations: 16.44 kB / 306.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.003143, allocations: 123 kB / 306.9 MB, free: 15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.003248, allocations: 62.25 kB / 306.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.003498, allocations: 279.6 kB / 307.2 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003599, allocations: 42.03 kB / 307.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.003696, allocations: 87.45 kB / 307.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.003862, allocations: 113 kB / 307.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.00389, allocations: 17.12 kB / 307.5 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.004018, allocations: 84.14 kB / 307.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.004088, allocations: 79.98 kB / 307.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.004155, allocations: 80.58 kB / 307.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.004395, allocations: 215.6 kB / 307.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004397, allocations: 0 / 307.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004398, allocations: 0.6562 kB / 307.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004402, allocations: 0 / 307.9 MB, free: 14.46 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.0005289/0.004931, allocations: 448.6 kB / 308.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.004957, allocations: 8.922 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.004997, allocations: 18 kB / 308.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.00516, allocations: 190.7 kB / 308.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.005169, allocations: 13.17 kB / 308.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.005194, allocations: 12.38 kB / 308.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005313, allocations: 89.48 kB / 308.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.005319, allocations: 192 / 308.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.005329, allocations: 8.312 kB / 308.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.005335, allocations: 4.891 kB / 308.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.005386, allocations: 31.53 kB / 308.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.005793, allocations: 308.5 kB / 309 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.006114, allocations: 211.9 kB / 309.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.006153, allocations: 28.86 kB / 309.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.006163, allocations: 0 / 309.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.006181, allocations: 34.56 kB / 309.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 8.12e-07/0.006182, allocations: 0 / 309.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003827/0.006565, allocations: 192.9 kB / 309.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.006588, allocations: 55.41 kB / 309.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.006711, allocations: 221.5 kB / 309.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.006725, allocations: 29.7 kB / 309.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.006766, allocations: 111.8 kB / 309.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.006795, allocations: 51.52 kB / 309.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.006833, allocations: 37.64 kB / 310 MB, free: 12.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.006909, allocations: 346.7 kB / 310.3 MB, free: 12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.006935, allocations: 18.83 kB / 310.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/0.006973, allocations: 36.5 kB / 310.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.007092, allocations: 107.5 kB / 310.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007094, allocations: 0 / 310.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001855/0.007279, allocations: 140.9 kB / 310.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.007291, allocations: 11.94 kB / 310.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.007296, allocations: 8.016 kB / 310.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.007477, allocations: 55.34 kB / 310.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.007592, allocations: 55.91 kB / 310.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009924/0.008584, allocations: 2.371 MB / 313.1 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.008652, allocations: 23.83 kB / 313.1 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.008659, allocations: 3.984 kB / 313.1 MB, free: 8.953 MB / 282.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.0001241/0.008783, allocations: 154.9 kB / 313.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.008812, allocations: 15.98 kB / 313.3 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.008835, allocations: 25.47 kB / 313.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.008836, allocations: 4 kB / 313.3 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.008839, allocations: 0 / 313.3 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008842, allocations: 7.922 kB / 313.3 MB, free: 8.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.008971, allocations: 129.7 kB / 313.5 MB, free: 8.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008973, allocations: 7.984 kB / 313.5 MB, free: 8.594 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.00913, allocations: 43.98 kB / 313.5 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001289/0.009258, allocations: 63.33 kB / 313.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.009269, allocations: 0 / 313.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009384/0.01021, allocations: 2.374 MB / 316 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.01021, allocations: 0 / 316 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.01046, allocations: 323 kB / 316.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.01048, allocations: 23.89 kB / 316.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.0105, allocations: 0 / 316.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.01057, allocations: 8 kB / 316.3 MB, free: 5.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.01059, allocations: 7.984 kB / 316.3 MB, free: 5.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.0106, allocations: 11.98 kB / 316.3 MB, free: 5.527 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.447e-05/0.01065, allocations: 66.06 kB / 316.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01065, allocations: 0 / 316.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.01086, allocations: 75.94 kB / 316.5 MB, free: 5.387 MB / 282.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.0001087/0.01097, allocations: 100.3 kB / 316.6 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.01123, allocations: 316.8 kB / 316.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01124, allocations: 4 kB / 316.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.01138, allocations: 270.1 kB / 317.1 MB, free: 4.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.01165, allocations: 51.64 kB / 317.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.01239, allocations: 0.5119 MB / 317.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01244, allocations: 92.17 kB / 317.8 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.01249, allocations: 21.47 kB / 317.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.0126, allocations: 83.34 kB / 317.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0126, allocations: 0 / 317.9 MB, free: 3.852 MB / 282.7 MB Notification: Performance of Templates: time 0.005319/0.01792, allocations: 4.432 MB / 322.3 MB, free: 15.52 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: 2.7350881760939956]