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.0011/0.001101, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001443/0.001443, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1987/0.1987, allocations: 22.34 MB / 312.3 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 380.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 54.94 MB / 435 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002586/0.2645, allocations: 1.99 MB / 437 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005194/0.265, allocations: 238.6 kB / 437.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.2651, allocations: 2.844 kB / 437.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.2653, allocations: 20.83 kB / 437.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.2656, allocations: 105.5 kB / 437.4 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.508e-05/0.2657, allocations: 42.38 kB / 437.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.266, allocations: 379.2 kB / 437.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.2662, allocations: 41.19 kB / 437.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2663, allocations: 86.73 kB / 437.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002059/0.2665, allocations: 132.8 kB / 438.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2665, allocations: 8.094 kB / 438.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.2667, allocations: 63.97 kB / 438.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.2668, allocations: 66.55 kB / 438.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2669, allocations: 97.47 kB / 438.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.2671, allocations: 263.3 kB / 438.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2671, allocations: 0 / 438.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2671, allocations: 0 / 438.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2671, allocations: 0 / 438.5 MB, free: 37.48 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.0009187/0.2681, allocations: 0.5488 MB / 439.1 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2681, allocations: 16.25 kB / 439.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.2682, allocations: 17.16 kB / 439.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2685, allocations: 318.7 kB / 439.4 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2685, allocations: 13.84 kB / 439.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2685, allocations: 16.53 kB / 439.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.2687, allocations: 146.4 kB / 439.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2688, allocations: 192 / 439.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.2688, allocations: 7.938 kB / 439.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.2688, allocations: 2.625 kB / 439.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2689, allocations: 101.9 kB / 439.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.2697, allocations: 0.6668 MB / 440.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.2705, allocations: 258.3 kB / 440.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2706, allocations: 83.11 kB / 440.7 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.2707, allocations: 7.469 kB / 440.7 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.2707, allocations: 37.38 kB / 440.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.2707, allocations: 3.938 kB / 440.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009078/0.2716, allocations: 0.4911 MB / 441.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.2716, allocations: 54.5 kB / 441.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.2719, allocations: 314.6 kB / 441.6 MB, free: 35.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.2719, allocations: 25.7 kB / 441.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.272, allocations: 126 kB / 441.8 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.272, allocations: 59.23 kB / 441.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.2721, allocations: 32.06 kB / 441.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.2721, allocations: 338 kB / 442.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.2722, allocations: 67.98 kB / 442.2 MB, free: 34.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2724, allocations: 93.95 kB / 442.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.2737, allocations: 470.3 kB / 442.8 MB, free: 34.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2737, allocations: 4 kB / 442.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004613/0.2741, allocations: 306 kB / 443.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2742, allocations: 3.062 kB / 443.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2742, allocations: 2.969 kB / 443.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002112/0.2744, allocations: 56.17 kB / 443.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.2746, allocations: 51.66 kB / 443.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.276, allocations: 2.619 MB / 445.8 MB, free: 31.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2762, allocations: 20.89 kB / 445.9 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.2762, allocations: 9.406 kB / 445.9 MB, free: 31.82 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.0001824/0.2764, allocations: 169.9 kB / 446 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.2764, allocations: 20.62 kB / 446 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.2765, allocations: 28.56 kB / 446.1 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2765, allocations: 4 kB / 446.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2765, allocations: 3.781 kB / 446.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2765, allocations: 3.141 kB / 446.1 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.2768, allocations: 291.2 kB / 446.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2768, allocations: 0 / 446.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.2771, allocations: 55.5 kB / 446.4 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001541/0.2773, allocations: 45.94 kB / 446.5 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2773, allocations: 14.14 kB / 446.5 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.2785, allocations: 2.615 MB / 449.1 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2785, allocations: 2.688 kB / 449.1 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.2791, allocations: 422.6 kB / 449.5 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.2791, allocations: 102 kB / 449.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.2792, allocations: 9.156 kB / 449.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.2794, allocations: 6.906 kB / 449.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.2794, allocations: 12.58 kB / 449.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.2794, allocations: 6.844 kB / 449.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2796, allocations: 242 kB / 449.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2796, allocations: 0 / 449.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003708/0.28, allocations: 82.72 kB / 450 MB, free: 28.22 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.0001606/0.2802, allocations: 107.5 kB / 450.1 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.2807, allocations: 425.9 kB / 450.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2807, allocations: 2.625 kB / 450.5 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.281, allocations: 314.2 kB / 450.8 MB, free: 27.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.2814, allocations: 58.7 kB / 450.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2826, allocations: 0.9031 MB / 451.8 MB, free: 26.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.2828, allocations: 0.7475 MB / 452.5 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.283, allocations: 42.11 kB / 452.5 MB, free: 26.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.2831, allocations: 15.56 kB / 452.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2831, allocations: 6.75 kB / 452.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006586/0.2896, allocations: 3.799 MB / 456.4 MB, free: 25.97 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)