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.00149/0.00149, allocations: 108 kB / 15.6 MB, free: 132 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.001718/0.001717, allocations: 197.2 kB / 16.53 MB, free: 6.391 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2568/0.2568, allocations: 22.35 MB / 312.7 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 59.91 kB / 380.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3223, allocations: 54.95 MB / 435.8 MB, free: 39.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002725/0.325, allocations: 1.924 MB / 437.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005431/0.3256, allocations: 236 kB / 437.9 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.3257, allocations: 6.75 kB / 437.9 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.3259, allocations: 24.92 kB / 438 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003444/0.3262, allocations: 107.8 kB / 438.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.771e-05/0.3263, allocations: 46.48 kB / 438.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.3265, allocations: 271.1 kB / 438.4 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3267, allocations: 50.98 kB / 438.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.3268, allocations: 103.6 kB / 438.5 MB, free: 38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.327, allocations: 119.3 kB / 438.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.327, allocations: 16.31 kB / 438.7 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3271, allocations: 71.55 kB / 438.7 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.3272, allocations: 76.81 kB / 438.8 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.3273, allocations: 99.44 kB / 438.9 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3276, allocations: 280.6 kB / 439.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3276, allocations: 0 / 439.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3276, allocations: 0 / 439.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3276, allocations: 0 / 439.2 MB, free: 37.77 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.0009428/0.3286, allocations: 0.5455 MB / 439.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3286, allocations: 10.69 kB / 439.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.3287, allocations: 17.38 kB / 439.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.329, allocations: 322.3 kB / 440.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.329, allocations: 10.28 kB / 440.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.3291, allocations: 10.56 kB / 440.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.3293, allocations: 146.7 kB / 440.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3293, allocations: 192 / 440.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.3293, allocations: 6.469 kB / 440.2 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3293, allocations: 2.531 kB / 440.2 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.3295, allocations: 114.9 kB / 440.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.3304, allocations: 0.6643 MB / 441 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007291/0.3311, allocations: 258.7 kB / 441.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3312, allocations: 83.5 kB / 441.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.3312, allocations: 2.625 kB / 441.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3313, allocations: 37.75 kB / 441.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3313, allocations: 7.938 kB / 441.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009389/0.3322, allocations: 0.4888 MB / 441.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.3323, allocations: 62.81 kB / 441.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3325, allocations: 315.6 kB / 442.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3325, allocations: 25.7 kB / 442.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.3326, allocations: 125.3 kB / 442.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3326, allocations: 53.5 kB / 442.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.3327, allocations: 32.7 kB / 442.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.3328, allocations: 330.9 kB / 442.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.3329, allocations: 66.81 kB / 442.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.333, allocations: 95.77 kB / 443 MB, free: 35.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.3343, allocations: 486.6 kB / 443.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3343, allocations: 0 / 443.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000465/0.3348, allocations: 306.8 kB / 443.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3348, allocations: 2.906 kB / 443.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3348, allocations: 2.875 kB / 443.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002092/0.335, allocations: 57.61 kB / 443.8 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.3353, allocations: 50.23 kB / 443.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3367, allocations: 2.819 MB / 446.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3369, allocations: 17.08 kB / 446.7 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3369, allocations: 9.188 kB / 446.7 MB, free: 31.9 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.0001884/0.3371, allocations: 166.1 kB / 446.9 MB, free: 31.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.3372, allocations: 18.39 kB / 446.9 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.3372, allocations: 34.33 kB / 446.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3372, allocations: 2.656 kB / 446.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3373, allocations: 0 / 446.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3373, allocations: 6.312 kB / 446.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.3375, allocations: 292.1 kB / 447.2 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3375, allocations: 0 / 447.2 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.3378, allocations: 59.98 kB / 447.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.338, allocations: 42.38 kB / 447.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.338, allocations: 13.25 kB / 447.3 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.3393, allocations: 2.805 MB / 450.1 MB, free: 28.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3393, allocations: 3.938 kB / 450.1 MB, free: 28.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.3398, allocations: 420.5 kB / 450.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.3399, allocations: 108.7 kB / 450.6 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.34, allocations: 11.09 kB / 450.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3401, allocations: 14.12 kB / 450.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.3402, allocations: 8.984 kB / 450.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3402, allocations: 6.938 kB / 450.7 MB, free: 28.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.3404, allocations: 246.2 kB / 450.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3404, allocations: 0 / 450.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003683/0.3407, allocations: 71.97 kB / 451 MB, free: 28.11 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.0001435/0.3409, allocations: 115.6 kB / 451.1 MB, free: 28.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.3414, allocations: 434.7 kB / 451.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3414, allocations: 0 / 451.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.3417, allocations: 316 kB / 451.8 MB, free: 27.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3421, allocations: 60.42 kB / 451.9 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3434, allocations: 0.8511 MB / 452.7 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.3435, allocations: 0.74 MB / 453.5 MB, free: 26.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.3437, allocations: 42.19 kB / 453.5 MB, free: 26.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.3437, allocations: 19.69 kB / 453.5 MB, free: 26.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3437, allocations: 0 / 453.5 MB, free: 26.15 MB / 350.1 MB Notification: Performance of Templates: time 0.006895/0.3506, allocations: 3.975 MB / 457.5 MB, free: 25.9 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)