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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1971/0.1971, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 63.91 kB / 380.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.268, allocations: 54.94 MB / 435.2 MB, free: 39.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002656/0.2707, allocations: 1.979 MB / 437.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004561/0.2712, allocations: 242.9 kB / 437.5 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.2713, allocations: 3.938 kB / 437.5 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2714, allocations: 13.52 kB / 437.5 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.2718, allocations: 106.9 kB / 437.6 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.132e-05/0.2719, allocations: 47.8 kB / 437.6 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.2721, allocations: 265.5 kB / 437.9 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2722, allocations: 55.09 kB / 437.9 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.088e-05/0.2723, allocations: 100.7 kB / 438 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.2725, allocations: 131.9 kB / 438.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.2725, allocations: 16.41 kB / 438.2 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2726, allocations: 72.28 kB / 438.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.2727, allocations: 75.72 kB / 438.3 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.2728, allocations: 108.7 kB / 438.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.273, allocations: 276.2 kB / 438.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2731, allocations: 0 / 438.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2731, allocations: 0 / 438.7 MB, free: 37.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.2731, allocations: 0 / 438.7 MB, free: 37.66 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.0009234/0.274, allocations: 0.547 MB / 439.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.274, allocations: 8.719 kB / 439.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.2741, allocations: 21.25 kB / 439.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.2744, allocations: 322.7 kB / 439.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2744, allocations: 11.25 kB / 439.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.2744, allocations: 14.31 kB / 439.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.2747, allocations: 144.2 kB / 439.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2747, allocations: 192 / 439.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2747, allocations: 3.938 kB / 439.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2747, allocations: 3 kB / 439.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.2748, allocations: 100.6 kB / 439.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.2756, allocations: 0.6729 MB / 440.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.2763, allocations: 259.1 kB / 440.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2765, allocations: 85.23 kB / 440.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2765, allocations: 0 / 440.9 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.2765, allocations: 41.41 kB / 440.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.2765, allocations: 3.938 kB / 440.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009143/0.2774, allocations: 498.9 kB / 441.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.2775, allocations: 65.47 kB / 441.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.2777, allocations: 315.9 kB / 441.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2778, allocations: 25.7 kB / 441.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.2778, allocations: 120.2 kB / 441.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.2779, allocations: 57.91 kB / 442 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.2779, allocations: 33.53 kB / 442 MB, free: 35.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.278, allocations: 335.5 kB / 442.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.2781, allocations: 70.84 kB / 442.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.2782, allocations: 84.61 kB / 442.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.2795, allocations: 483.2 kB / 443 MB, free: 34.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2795, allocations: 0 / 443 MB, free: 34.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004546/0.28, allocations: 302.3 kB / 443.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.28, allocations: 9.125 kB / 443.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.28, allocations: 0 / 443.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.2802, allocations: 55.72 kB / 443.3 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2804, allocations: 53.55 kB / 443.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2819, allocations: 2.813 MB / 446.2 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.2821, allocations: 21.81 kB / 446.2 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.2821, allocations: 12.53 kB / 446.2 MB, free: 31.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.0001837/0.2823, allocations: 170.1 kB / 446.4 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.2823, allocations: 15.31 kB / 446.4 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.2824, allocations: 35.34 kB / 446.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2824, allocations: 0 / 446.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2824, allocations: 6.75 kB / 446.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2824, allocations: 0 / 446.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2827, allocations: 288.7 kB / 446.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2827, allocations: 0 / 446.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.283, allocations: 47 kB / 446.8 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/0.2831, allocations: 47.52 kB / 446.8 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.2832, allocations: 10.91 kB / 446.8 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.2844, allocations: 2.824 MB / 449.6 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2844, allocations: 0 / 449.6 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.2849, allocations: 419.2 kB / 450.1 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.285, allocations: 106.9 kB / 450.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.2851, allocations: 6.188 kB / 450.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.2852, allocations: 9.719 kB / 450.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.2853, allocations: 12.38 kB / 450.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.2853, allocations: 7.031 kB / 450.2 MB, free: 28.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.2855, allocations: 241.5 kB / 450.4 MB, free: 28.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2855, allocations: 0 / 450.4 MB, free: 28.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.2858, allocations: 75.75 kB / 450.5 MB, free: 28.01 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.000165/0.286, allocations: 132 kB / 450.6 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005225/0.2865, allocations: 434.6 kB / 451.1 MB, free: 27.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2865, allocations: 0 / 451.1 MB, free: 27.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.2868, allocations: 318.7 kB / 451.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2872, allocations: 55.38 kB / 451.4 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.2884, allocations: 0.8905 MB / 452.3 MB, free: 26.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.2886, allocations: 0.7412 MB / 453.1 MB, free: 26.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.2887, allocations: 44.84 kB / 453.1 MB, free: 26.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.2888, allocations: 17.69 kB / 453.1 MB, free: 26 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2888, allocations: 0 / 453.1 MB, free: 26 MB / 350.1 MB Notification: Performance of Templates: time 0.006598/0.2954, allocations: 3.981 MB / 457.1 MB, free: 25.75 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile (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)