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.001196/0.001196, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.328/1.328, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1998/0.1998, allocations: 22.35 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.89 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 54.94 MB / 435.7 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002578/0.2512, allocations: 1.983 MB / 437.7 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.2517, allocations: 242.3 kB / 437.9 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.2517, allocations: 0 / 437.9 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2519, allocations: 23.94 kB / 437.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.2522, allocations: 108.2 kB / 438.1 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.882e-05/0.2523, allocations: 35.81 kB / 438.1 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.2525, allocations: 376.5 kB / 438.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.2527, allocations: 39.22 kB / 438.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.122e-05/0.2527, allocations: 87.7 kB / 438.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.2529, allocations: 132.6 kB / 438.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.2529, allocations: 9.156 kB / 438.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2531, allocations: 63.06 kB / 438.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.2532, allocations: 66.7 kB / 438.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.2532, allocations: 96.45 kB / 438.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.2534, allocations: 209.1 kB / 439.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2534, allocations: 0 / 439.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2534, allocations: 0 / 439.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2535, allocations: 4 kB / 439.1 MB, free: 37.62 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.0009024/0.2544, allocations: 0.5442 MB / 439.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2544, allocations: 15.28 kB / 439.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.2545, allocations: 16.41 kB / 439.7 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.2547, allocations: 327.6 kB / 440 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2548, allocations: 9.719 kB / 440.1 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.2548, allocations: 12.81 kB / 440.1 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.255, allocations: 142.9 kB / 440.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.255, allocations: 4.125 kB / 440.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.255, allocations: 10.38 kB / 440.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2551, allocations: 2.594 kB / 440.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2552, allocations: 102.3 kB / 440.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.256, allocations: 0.6642 MB / 441 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.2568, allocations: 261.1 kB / 441.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.257, allocations: 83.2 kB / 441.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.257, allocations: 6.656 kB / 441.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.257, allocations: 30.56 kB / 441.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.257, allocations: 0 / 441.4 MB, free: 36.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009244/0.2579, allocations: 0.4956 MB / 441.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.258, allocations: 51.41 kB / 441.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.2582, allocations: 319.5 kB / 442.2 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2583, allocations: 29.7 kB / 442.2 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.2583, allocations: 121.7 kB / 442.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.2584, allocations: 56.53 kB / 442.4 MB, free: 35.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.2584, allocations: 39.64 kB / 442.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.192e-05/0.2585, allocations: 331.2 kB / 442.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.2586, allocations: 67.22 kB / 442.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.2587, allocations: 95.31 kB / 442.9 MB, free: 34.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.2601, allocations: 475.9 kB / 443.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2601, allocations: 0 / 443.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004962/0.2606, allocations: 299.7 kB / 443.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2606, allocations: 7.125 kB / 443.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2607, allocations: 7.281 kB / 443.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.2609, allocations: 54.95 kB / 443.8 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2611, allocations: 51.09 kB / 443.8 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.2625, allocations: 2.632 MB / 446.4 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.2627, allocations: 14.38 kB / 446.5 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.2627, allocations: 11.12 kB / 446.5 MB, free: 31.96 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.000182/0.2629, allocations: 172.9 kB / 446.6 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.2629, allocations: 16.41 kB / 446.7 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.263, allocations: 34.58 kB / 446.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.263, allocations: 0 / 446.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.263, allocations: 2.875 kB / 446.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.263, allocations: 0 / 446.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2633, allocations: 288.9 kB / 447 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2633, allocations: 0 / 447 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.2636, allocations: 54.5 kB / 447 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.2638, allocations: 51.05 kB / 447.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2638, allocations: 6.938 kB / 447.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/0.2651, allocations: 2.621 MB / 449.7 MB, free: 28.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2651, allocations: 7.875 kB / 449.7 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.2656, allocations: 421.1 kB / 450.1 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.2657, allocations: 102.2 kB / 450.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.2657, allocations: 6.203 kB / 450.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2659, allocations: 13.84 kB / 450.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.266, allocations: 12.28 kB / 450.3 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.266, allocations: 2.594 kB / 450.3 MB, free: 28.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.2661, allocations: 243.2 kB / 450.5 MB, free: 28.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2661, allocations: 0 / 450.5 MB, free: 28.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.2665, allocations: 77.44 kB / 450.6 MB, free: 28.36 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.0001472/0.2667, allocations: 122.1 kB / 450.7 MB, free: 28.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.2672, allocations: 420.4 kB / 451.1 MB, free: 27.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2672, allocations: 2.812 kB / 451.1 MB, free: 27.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.2675, allocations: 317.7 kB / 451.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.2679, allocations: 46.78 kB / 451.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2691, allocations: 0.9314 MB / 452.4 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.2693, allocations: 0.7448 MB / 453.1 MB, free: 26.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.2694, allocations: 17.09 kB / 453.2 MB, free: 26.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2694, allocations: 6.469 kB / 453.2 MB, free: 26.33 MB / 350.1 MB Notification: Performance of Templates: time 0.005671/0.275, allocations: 4.254 MB / 457.4 MB, free: 26.05 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)