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.001183/0.001183, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001764/0.002946, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001097/0.001097, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001494/0.002592, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9401/0.9401, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08714/1.027, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06726/0.06726, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01433/0.08159, allocations: 6.785 MB / 268.9 MB, free: 6.355 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.012e-06/1.012e-06, allocations: 0 / 270.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.252e-05, allocations: 2.312 kB / 270.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.00191/0.001923, allocations: 2.031 MB / 272.3 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003015/0.002224, allocations: 243.2 kB / 272.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.002274, allocations: 0 / 272.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.02e-05/0.002354, allocations: 23.8 kB / 272.6 MB, free: 2.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.0026, allocations: 119.3 kB / 272.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.282e-05/0.002673, allocations: 47.92 kB / 272.8 MB, free: 2.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.002877, allocations: 286.9 kB / 273 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.002969, allocations: 33.88 kB / 273.1 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.003099, allocations: 155.5 kB / 273.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.003238, allocations: 111.7 kB / 273.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.003264, allocations: 20 kB / 273.4 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.003393, allocations: 83.84 kB / 273.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.003454, allocations: 67.84 kB / 273.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.003518, allocations: 63.88 kB / 273.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.003726, allocations: 187.4 kB / 273.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.003736, allocations: 0 / 273.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.003737, allocations: 0 / 273.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.003747, allocations: 7.938 kB / 273.8 MB, free: 1.434 MB / 266.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.0005894/0.004337, allocations: 483.5 kB / 274.2 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.708e-05/0.004364, allocations: 8.031 kB / 274.2 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.004405, allocations: 20.92 kB / 274.3 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.004573, allocations: 196.1 kB / 274.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.004583, allocations: 8.234 kB / 274.5 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.004604, allocations: 12.38 kB / 274.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.004713, allocations: 104 kB / 274.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.004719, allocations: 4.125 kB / 274.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.00473, allocations: 7.938 kB / 274.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.004734, allocations: 0 / 274.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.004781, allocations: 27.98 kB / 274.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.005174, allocations: 310.7 kB / 274.9 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1005/0.1056, allocations: 202 kB / 275.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1057, allocations: 25.78 kB / 275.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1057, allocations: 2 kB / 275.1 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1058, allocations: 33.94 kB / 275.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/0.1058, allocations: 0 / 275.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.000489/0.1063, allocations: 192.5 kB / 275.4 MB, free: 3.527 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1063, allocations: 57 kB / 275.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1064, allocations: 216.6 kB / 275.6 MB, free: 3.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1064, allocations: 28.98 kB / 275.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.1065, allocations: 113.9 kB / 275.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.1065, allocations: 62.3 kB / 275.8 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.1066, allocations: 38.8 kB / 275.9 MB, free: 3.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.1066, allocations: 331.5 kB / 276.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.1066, allocations: 17.7 kB / 276.2 MB, free: 2.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.1067, allocations: 34.89 kB / 276.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1068, allocations: 110.6 kB / 276.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1068, allocations: 0 / 276.3 MB, free: 2.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002166/0.107, allocations: 154.3 kB / 276.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.107, allocations: 5.688 kB / 276.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.107, allocations: 1.094 kB / 276.5 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.1072, allocations: 60.97 kB / 276.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.1076, allocations: 111.7 kB / 276.7 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008394/0.1084, allocations: 2.353 MB / 279 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.1085, allocations: 15.89 kB / 279 MB, free: 16.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.1085, allocations: 3.875 kB / 279 MB, free: 16.45 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.000155/0.1086, allocations: 158.6 kB / 279.2 MB, free: 16.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.258e-05/0.1087, allocations: 20.36 kB / 279.2 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.1087, allocations: 31.27 kB / 279.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1087, allocations: 3.672 kB / 279.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1087, allocations: 1.781 kB / 279.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1087, allocations: 2 kB / 279.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.1089, allocations: 128.5 kB / 279.4 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1089, allocations: 0 / 279.4 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.1092, allocations: 117.4 kB / 279.5 MB, free: 16.24 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.1092, allocations: 22.12 kB / 279.5 MB, free: 16.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001385/0.1093, allocations: 58.53 kB / 279.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1093, allocations: 10.42 kB / 279.6 MB, free: 16.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008702/0.1102, allocations: 2.359 MB / 281.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1102, allocations: 1.859 kB / 281.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1105, allocations: 324.2 kB / 282.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1105, allocations: 9.344 kB / 282.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.1106, allocations: 3.062 kB / 282.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.1106, allocations: 14.19 kB / 282.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1106, allocations: 2.578 kB / 282.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.738e-05/0.1107, allocations: 75.09 kB / 282.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1107, allocations: 0 / 282.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.1109, allocations: 71.44 kB / 282.4 MB, free: 13.7 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.0001284/0.111, allocations: 99.64 kB / 282.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.1113, allocations: 314.7 kB / 282.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.1114, allocations: 2.906 kB / 282.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1115, allocations: 278.6 kB / 283.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.1117, allocations: 73.42 kB / 283.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.1149, allocations: 483.4 kB / 283.7 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.984e-05/0.1149, allocations: 90.3 kB / 283.7 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.682e-05/0.115, allocations: 19.41 kB / 283.8 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1151, allocations: 90.62 kB / 283.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1151, allocations: 0 / 283.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of Templates: time 0.007007/0.1222, allocations: 4.926 MB / 288.8 MB, free: 12.12 MB / 282.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.624007945880294]