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.001801/0.001801, allocations: 75.88 kB / 19.96 MB, free: 1.746 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.002089/0.002089, allocations: 169.7 kB / 23.24 MB, free: 4.859 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.604/1.604, allocations: 177.1 MB / 203.5 MB, free: 9.176 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.1061/0.1061, allocations: 18.12 MB / 278.1 MB, free: 15.06 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: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 0 / 415.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.611e-05, allocations: 2.281 kB / 415.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003566/0.003602, allocations: 1.882 MB / 417.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.004398, allocations: 223.4 kB / 417.7 MB, free: 456 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.004538, allocations: 11.94 kB / 417.7 MB, free: 444 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.004745, allocations: 19.78 kB / 417.7 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.005323, allocations: 123.2 kB / 417.8 MB, free: 300 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.005488, allocations: 55.84 kB / 417.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.005946, allocations: 275.1 kB / 418.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.006102, allocations: 37.06 kB / 418.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.006291, allocations: 91.8 kB / 418.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.006566, allocations: 123.7 kB / 418.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.006615, allocations: 16 kB / 418.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.00683, allocations: 79.91 kB / 418.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.006951, allocations: 79.73 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.007079, allocations: 79.88 kB / 418.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.007526, allocations: 283.1 kB / 418.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.007532, allocations: 7.938 kB / 418.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.841e-06/0.007538, allocations: 3.984 kB / 418.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.007546, allocations: 0 / 418.9 MB, free: 15.18 MB / 350.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.001244/0.00879, allocations: 493.2 kB / 419.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.008829, allocations: 8.922 kB / 419.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.00891, allocations: 28.8 kB / 419.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.00934, allocations: 262 kB / 419.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.009358, allocations: 8.375 kB / 419.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.009401, allocations: 12.38 kB / 419.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.009699, allocations: 142 kB / 419.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.009716, allocations: 192 / 419.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.009739, allocations: 4.375 kB / 419.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.009744, allocations: 4.375 kB / 419.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.009951, allocations: 103.9 kB / 420 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.011, allocations: 472.1 kB / 420.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.01194, allocations: 258.4 kB / 420.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.01209, allocations: 76.83 kB / 420.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01211, allocations: 0 / 420.8 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.01215, allocations: 42.5 kB / 420.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.01215, allocations: 0 / 420.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001143/0.0133, allocations: 357.4 kB / 421.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.01334, allocations: 55.34 kB / 421.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.01371, allocations: 307.7 kB / 421.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.01374, allocations: 25.7 kB / 421.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.01385, allocations: 132 kB / 421.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.01391, allocations: 63.47 kB / 421.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.01399, allocations: 33.7 kB / 421.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.01416, allocations: 326.8 kB / 422.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.01429, allocations: 71.95 kB / 422.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.01444, allocations: 85.61 kB / 422.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.01611, allocations: 488.2 kB / 422.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.01612, allocations: 7.938 kB / 422.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006879/0.01681, allocations: 303.1 kB / 423 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.01683, allocations: 6.656 kB / 423 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01684, allocations: 0 / 423 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.0171, allocations: 53.67 kB / 423.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.01738, allocations: 51.91 kB / 423.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/0.01994, allocations: 2.564 MB / 425.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.02013, allocations: 11.94 kB / 425.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.02015, allocations: 8.312 kB / 425.7 MB, free: 8 MB / 350.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.0002503/0.0204, allocations: 184.5 kB / 425.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.02046, allocations: 19.86 kB / 425.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.02052, allocations: 25.47 kB / 425.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02053, allocations: 4 kB / 425.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.02053, allocations: 0 / 425.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02054, allocations: 3.984 kB / 425.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.02084, allocations: 205.2 kB / 426.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02084, allocations: 0 / 426.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.02118, allocations: 51.97 kB / 426.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002067/0.02139, allocations: 49.67 kB / 426.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.02141, allocations: 4 kB / 426.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.02383, allocations: 2.556 MB / 428.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02383, allocations: 0 / 428.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.02464, allocations: 416.9 kB / 429.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.0247, allocations: 24.08 kB / 429.2 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.02474, allocations: 12 kB / 429.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.02493, allocations: 11.98 kB / 429.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.02497, allocations: 11.98 kB / 429.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.02498, allocations: 0 / 429.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.02525, allocations: 243.2 kB / 429.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02525, allocations: 0 / 429.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004164/0.02566, allocations: 71.94 kB / 429.6 MB, free: 3.867 MB / 350.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.0002093/0.02587, allocations: 131 kB / 429.7 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007089/0.02658, allocations: 416.2 kB / 430.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.02658, allocations: 0 / 430.1 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.027, allocations: 312.1 kB / 430.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.02741, allocations: 63.89 kB / 430.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.0288, allocations: 0.6892 MB / 431.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.02896, allocations: 131.9 kB / 431.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001244/0.02908, allocations: 33.47 kB / 431.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.02915, allocations: 28.48 kB / 431.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.02915, allocations: 0 / 431.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Templates: time 0.009377/0.03853, allocations: 4.024 MB / 435.4 MB, free: 14.04 MB / 366.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.071352049708366] Failed to read output from testmodel.py, exit status != 0: 0.048297423869371414 0.23804957599999996 0.052472559 Calling exit ...