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.001176/0.001176, allocations: 104.6 kB / 15.98 MB, free: 5.891 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.001277/0.001277, allocations: 187.5 kB / 16.91 MB, free: 5.746 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.244/1.244, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1814/0.1814, allocations: 22.35 MB / 313.1 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 381 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2187, allocations: 54.94 MB / 435.9 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.00223/0.221, allocations: 1.981 MB / 437.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004083/0.2214, allocations: 245.5 kB / 438.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.2215, allocations: 0 / 438.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.2216, allocations: 13.25 kB / 438.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.2219, allocations: 107.5 kB / 438.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.648e-05/0.222, allocations: 43.81 kB / 438.3 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.2222, allocations: 268.1 kB / 438.5 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2223, allocations: 55.19 kB / 438.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.2224, allocations: 98.7 kB / 438.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.2225, allocations: 133.3 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2226, allocations: 17.97 kB / 438.8 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2227, allocations: 72.61 kB / 438.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.706e-05/0.2227, allocations: 79.95 kB / 439 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.2228, allocations: 106.4 kB / 439.1 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.223, allocations: 200.8 kB / 439.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.223, allocations: 7.938 kB / 439.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.223, allocations: 0 / 439.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.223, allocations: 0 / 439.3 MB, free: 37.5 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.0007974/0.2238, allocations: 0.5473 MB / 439.8 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.2239, allocations: 8.719 kB / 439.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.2239, allocations: 17.72 kB / 439.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.2241, allocations: 319.7 kB / 440.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.2242, allocations: 14.62 kB / 440.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.2242, allocations: 19.41 kB / 440.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.2244, allocations: 139 kB / 440.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2244, allocations: 192 / 440.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.2244, allocations: 7.938 kB / 440.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2244, allocations: 3.938 kB / 440.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.2246, allocations: 103.2 kB / 440.5 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006832/0.2253, allocations: 0.6654 MB / 441.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007108/0.226, allocations: 265.7 kB / 441.4 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2261, allocations: 93.83 kB / 441.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2261, allocations: 0 / 441.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.022e-05/0.2262, allocations: 38 kB / 441.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.62e-07/0.2262, allocations: 0 / 441.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008318/0.227, allocations: 0.4897 MB / 442 MB, free: 35.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.71e-05/0.227, allocations: 54.47 kB / 442.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2273, allocations: 313.3 kB / 442.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2273, allocations: 32.8 kB / 442.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.2273, allocations: 126 kB / 442.5 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.2274, allocations: 53.45 kB / 442.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.2274, allocations: 39.05 kB / 442.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.2275, allocations: 335.4 kB / 442.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.2276, allocations: 67.53 kB / 443 MB, free: 34.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.2277, allocations: 86.02 kB / 443.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.2289, allocations: 474 kB / 443.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2289, allocations: 0 / 443.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004322/0.2293, allocations: 306.7 kB / 443.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2294, allocations: 7.906 kB / 443.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2294, allocations: 4.031 kB / 443.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.2296, allocations: 54.34 kB / 443.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2298, allocations: 49.2 kB / 444 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.231, allocations: 2.816 MB / 446.8 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.2312, allocations: 28.52 kB / 446.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2312, allocations: 3.625 kB / 446.8 MB, free: 31.64 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.0001528/0.2314, allocations: 163.2 kB / 447 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.2314, allocations: 22.53 kB / 447 MB, free: 31.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.2315, allocations: 34.38 kB / 447 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2315, allocations: 4 kB / 447 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2315, allocations: 0 / 447 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2315, allocations: 6.203 kB / 447 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.2317, allocations: 291.6 kB / 447.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2317, allocations: 0 / 447.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.232, allocations: 46.66 kB / 447.4 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.2322, allocations: 52.59 kB / 447.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2322, allocations: 14.06 kB / 447.4 MB, free: 31.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.2334, allocations: 2.818 MB / 450.3 MB, free: 28.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2334, allocations: 0 / 450.3 MB, free: 28.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.2339, allocations: 424.2 kB / 450.7 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.234, allocations: 97.72 kB / 450.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.234, allocations: 6.094 kB / 450.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.2342, allocations: 13.45 kB / 450.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.2342, allocations: 9.094 kB / 450.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.2342, allocations: 2.875 kB / 450.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.2344, allocations: 240.2 kB / 451 MB, free: 27.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2344, allocations: 0 / 451 MB, free: 27.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.2347, allocations: 80.12 kB / 451.1 MB, free: 27.84 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.0001266/0.2349, allocations: 121.2 kB / 451.2 MB, free: 27.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.2353, allocations: 435.3 kB / 451.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2354, allocations: 0 / 451.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.2356, allocations: 321.3 kB / 452 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.236, allocations: 57.53 kB / 452 MB, free: 27.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.2374, allocations: 0.9272 MB / 452.9 MB, free: 26.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.2376, allocations: 0.7427 MB / 453.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.822e-05/0.2377, allocations: 20.19 kB / 453.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2377, allocations: 0 / 453.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of Templates: time 0.005258/0.2429, allocations: 4.264 MB / 458 MB, free: 25.52 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)