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.001254/0.001254, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001465/0.001465, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.257/0.257, allocations: 22.32 MB / 313.3 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 12 kB / 381.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3448, allocations: 55.98 MB / 437.8 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.001963/0.3468, allocations: 1.521 MB / 439.3 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.3474, allocations: 254.8 kB / 439.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.3474, allocations: 2.438 kB / 439.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.3476, allocations: 13.48 kB / 439.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.3479, allocations: 82.72 kB / 439.7 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.533e-05/0.348, allocations: 31.67 kB / 439.7 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.3483, allocations: 162.3 kB / 439.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.3484, allocations: 43.2 kB / 439.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.3485, allocations: 79.58 kB / 440 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3487, allocations: 86.27 kB / 440.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3487, allocations: 7.938 kB / 440.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.3488, allocations: 57.97 kB / 440.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-05/0.3489, allocations: 58.55 kB / 440.2 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.349, allocations: 60.33 kB / 440.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3492, allocations: 205.1 kB / 440.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3493, allocations: 0 / 440.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3493, allocations: 0 / 440.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3493, allocations: 2.938 kB / 440.5 MB, free: 37.95 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.000999/0.3503, allocations: 0.5209 MB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3503, allocations: 8.031 kB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.3504, allocations: 22.31 kB / 441 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.3508, allocations: 308.1 kB / 441.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3508, allocations: 2.75 kB / 441.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3508, allocations: 12.44 kB / 441.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.3511, allocations: 148.3 kB / 441.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3511, allocations: 0 / 441.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.3511, allocations: 7.953 kB / 441.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.3511, allocations: 3.094 kB / 441.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3513, allocations: 101.9 kB / 441.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.3522, allocations: 0.6727 MB / 442.2 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.3529, allocations: 262.8 kB / 442.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3529, allocations: 0 / 442.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3529, allocations: 40.88 kB / 442.5 MB, free: 36.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.353, allocations: 4 kB / 442.5 MB, free: 36.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000942/0.3539, allocations: 0.4885 MB / 443 MB, free: 36.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3539, allocations: 59.36 kB / 443.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.3542, allocations: 314.7 kB / 443.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3543, allocations: 32.64 kB / 443.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3543, allocations: 119.1 kB / 443.5 MB, free: 35.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.3544, allocations: 58.83 kB / 443.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.3544, allocations: 4 kB / 443.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.3545, allocations: 331.4 kB / 443.9 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.3546, allocations: 68.06 kB / 444 MB, free: 35.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3547, allocations: 86.09 kB / 444.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3548, allocations: 89.05 kB / 444.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3548, allocations: 0 / 444.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00047/0.3553, allocations: 309.6 kB / 444.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3553, allocations: 7 kB / 444.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3554, allocations: 0 / 444.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/0.3556, allocations: 53.38 kB / 444.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.3558, allocations: 52.7 kB / 444.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3572, allocations: 2.635 MB / 447.2 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.3574, allocations: 14.12 kB / 447.2 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.3574, allocations: 7.328 kB / 447.2 MB, free: 32.48 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: nonhomogeneous.T[3]: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[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] homogeneous.T[4]: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[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.3577, allocations: 183.8 kB / 447.4 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.3577, allocations: 16.66 kB / 447.4 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.3578, allocations: 27.62 kB / 447.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3578, allocations: 2.844 kB / 447.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3578, allocations: 0 / 447.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3578, allocations: 3.031 kB / 447.5 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.3581, allocations: 293.9 kB / 447.8 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3581, allocations: 3.094 kB / 447.8 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.3584, allocations: 48.86 kB / 447.8 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.3585, allocations: 48.44 kB / 447.9 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.3586, allocations: 14.44 kB / 447.9 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.3599, allocations: 2.636 MB / 450.5 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3599, allocations: 3.188 kB / 450.5 MB, free: 29.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.3604, allocations: 416.2 kB / 450.9 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3604, allocations: 105 kB / 451 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3605, allocations: 6.375 kB / 451 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.3607, allocations: 12.72 kB / 451 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3607, allocations: 6.938 kB / 451 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3607, allocations: 3.094 kB / 451 MB, free: 29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001812/0.3609, allocations: 247.4 kB / 451.3 MB, free: 28.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3609, allocations: 0 / 451.3 MB, free: 28.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.3613, allocations: 74.27 kB / 451.4 MB, free: 28.87 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001653/0.3615, allocations: 115.9 kB / 451.5 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.362, allocations: 423.6 kB / 451.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.362, allocations: 0 / 451.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.3623, allocations: 321.9 kB / 452.2 MB, free: 28.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3626, allocations: 47.86 kB / 452.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.3641, allocations: 1.005 MB / 453.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3644, allocations: 0.7542 MB / 454 MB, free: 26.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.3646, allocations: 52.94 kB / 454.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.3646, allocations: 14.22 kB / 454.1 MB, free: 26.84 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3646, allocations: 2.562 kB / 454.1 MB, free: 26.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007115/0.3718, allocations: 3.635 MB / 457.7 MB, free: 26.61 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: