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.0007995/0.0007995, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0008248/0.0008248, allocations: 165.2 kB / 23.98 MB, free: 0.5859 MB / 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.8534/0.8534, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.05941/0.05941, allocations: 18.12 MB / 278.8 MB, free: 11.53 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.373e-06/1.373e-06, allocations: 0.9844 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.216e-05, allocations: 6.219 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.001818/0.00184, allocations: 1.875 MB / 418.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.00224, allocations: 242 kB / 418.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.002296, allocations: 1.812 kB / 418.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.002433, allocations: 22.47 kB / 418.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.00276, allocations: 117.9 kB / 418.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.106e-05/0.002841, allocations: 54.89 kB / 418.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.003036, allocations: 276.1 kB / 418.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.003143, allocations: 39.84 kB / 418.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.003217, allocations: 88.23 kB / 419 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.003369, allocations: 117.7 kB / 419.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.003403, allocations: 17.53 kB / 419.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.00353, allocations: 88.25 kB / 419.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.003612, allocations: 91.56 kB / 419.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.00368, allocations: 73.91 kB / 419.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.003984, allocations: 283.1 kB / 419.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003987, allocations: 0 / 419.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003988, allocations: 0.7969 kB / 419.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.003992, allocations: 0 / 419.7 MB, free: 10.58 MB / 330.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.0006848/0.004677, allocations: 496.3 kB / 420.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.004712, allocations: 10.27 kB / 420.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.799e-05/0.00476, allocations: 24.39 kB / 420.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.005004, allocations: 263.9 kB / 420.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.005015, allocations: 8.641 kB / 420.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.005043, allocations: 12.41 kB / 420.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.005222, allocations: 145.3 kB / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.005229, allocations: 2.156 kB / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.005243, allocations: 384 / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005248, allocations: 3.156 kB / 420.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.005384, allocations: 106.2 kB / 420.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.005947, allocations: 474.8 kB / 421.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.006401, allocations: 255.9 kB / 421.4 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.00649, allocations: 85.41 kB / 421.5 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.006504, allocations: 1.219 kB / 421.5 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.113e-05/0.006515, allocations: 34.52 kB / 421.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.006516, allocations: 0 / 421.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005967/0.007113, allocations: 348.7 kB / 421.9 MB, free: 9.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.007136, allocations: 58.45 kB / 422 MB, free: 9.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.007368, allocations: 305.9 kB / 422.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.00738, allocations: 26.64 kB / 422.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.00743, allocations: 125.6 kB / 422.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.007462, allocations: 55.75 kB / 422.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.007506, allocations: 37.94 kB / 422.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.007544, allocations: 330.3 kB / 422.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/0.007624, allocations: 75.69 kB / 422.9 MB, free: 8.492 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/0.007713, allocations: 88.95 kB / 423 MB, free: 8.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008155/0.008528, allocations: 481.1 kB / 423.4 MB, free: 8.309 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.008531, allocations: 5 kB / 423.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003174/0.008848, allocations: 303.2 kB / 423.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.008862, allocations: 10.27 kB / 423.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.008866, allocations: 5.25 kB / 423.8 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001249/0.008991, allocations: 50 kB / 423.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.009125, allocations: 53.44 kB / 423.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008866/0.01001, allocations: 2.562 MB / 426.4 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.01009, allocations: 21.03 kB / 426.4 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.0101, allocations: 5.406 kB / 426.5 MB, free: 5.605 MB / 330.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.0001472/0.01025, allocations: 175.5 kB / 426.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.01027, allocations: 21.06 kB / 426.6 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.0103, allocations: 32.88 kB / 426.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.0103, allocations: 1 kB / 426.7 MB, free: 5.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.0103, allocations: 5.844 kB / 426.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.01031, allocations: 1.781 kB / 426.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.01046, allocations: 203.8 kB / 426.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01047, allocations: 1.344 kB / 426.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.01063, allocations: 49.53 kB / 426.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.064e-05/0.01072, allocations: 55.39 kB / 427 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01073, allocations: 4.547 kB / 427 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007218/0.01145, allocations: 2.556 MB / 429.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01145, allocations: 0 / 429.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.01181, allocations: 414 kB / 430 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.944e-05/0.01184, allocations: 27.58 kB / 430 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.01186, allocations: 8.609 kB / 430 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.01194, allocations: 7.594 kB / 430 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.01197, allocations: 18.84 kB / 430 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.01198, allocations: 6.812 kB / 430 MB, free: 2.441 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.01214, allocations: 245.5 kB / 430.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01214, allocations: 1 kB / 430.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002475/0.01239, allocations: 72.69 kB / 430.3 MB, free: 2.305 MB / 330.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.0001155/0.0125, allocations: 120.2 kB / 430.4 MB, free: 2.207 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.01288, allocations: 425.3 kB / 430.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01288, allocations: 0 / 430.9 MB, free: 1.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.01304, allocations: 314.4 kB / 431.2 MB, free: 1.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.0133, allocations: 48.7 kB / 431.2 MB, free: 1.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.01407, allocations: 0.7215 MB / 431.9 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01417, allocations: 133.9 kB / 432.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.01423, allocations: 24.05 kB / 432.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01423, allocations: 1.188 kB / 432.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of Templates: time 0.004613/0.01884, allocations: 4.406 MB / 436.5 MB, free: 28 kB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.958894611336291] Failed to read output from testmodel.py, exit status != 0: 0.023710080422461033 0.032794553000000004 0.026633471000000002 Calling exit ...