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.001051/0.001051, allocations: 97.78 kB / 16.02 MB, free: 76 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.00112/0.00112, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2069/0.2069, allocations: 22.35 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003335, allocations: 12 kB / 383.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2505, allocations: 55.98 MB / 439.2 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.001469/0.252, allocations: 1.625 MB / 440.9 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004762/0.2525, allocations: 248.4 kB / 441.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.2525, allocations: 0 / 441.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.2526, allocations: 20.91 kB / 441.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.2529, allocations: 98.34 kB / 441.2 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.07e-05/0.253, allocations: 45.11 kB / 441.3 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.2533, allocations: 365.7 kB / 441.6 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2534, allocations: 45.28 kB / 441.7 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.2535, allocations: 81.06 kB / 441.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2537, allocations: 123.2 kB / 441.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.2537, allocations: 8.688 kB / 441.9 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.2538, allocations: 64.27 kB / 441.9 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.2539, allocations: 66.58 kB / 442 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.664e-05/0.254, allocations: 119.2 kB / 442.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2541, allocations: 205.8 kB / 442.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2541, allocations: 0 / 442.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2542, allocations: 0 / 442.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.2542, allocations: 0 / 442.3 MB, free: 37.61 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.0007876/0.255, allocations: 0.5157 MB / 442.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.255, allocations: 13.28 kB / 442.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.255, allocations: 24.56 kB / 442.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2553, allocations: 327.1 kB / 443.2 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2553, allocations: 11.28 kB / 443.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.2554, allocations: 15.84 kB / 443.2 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.2556, allocations: 144.3 kB / 443.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2556, allocations: 192 / 443.4 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2556, allocations: 10.72 kB / 443.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2556, allocations: 2.781 kB / 443.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2558, allocations: 101.9 kB / 443.5 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007341/0.2565, allocations: 0.6647 MB / 444.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.2572, allocations: 257.4 kB / 444.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2574, allocations: 87.14 kB / 444.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.2574, allocations: 0 / 444.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2574, allocations: 45.56 kB / 444.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.2574, allocations: 0 / 444.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009114/0.2584, allocations: 0.4977 MB / 445 MB, free: 35.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.2584, allocations: 54.06 kB / 445.1 MB, free: 35.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.2586, allocations: 316.2 kB / 445.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2587, allocations: 29.7 kB / 445.4 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.2587, allocations: 122.8 kB / 445.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.2588, allocations: 58.14 kB / 445.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.2588, allocations: 23.38 kB / 445.6 MB, free: 35.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.2589, allocations: 335.4 kB / 445.9 MB, free: 35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.259, allocations: 65.45 kB / 446 MB, free: 34.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2591, allocations: 93.05 kB / 446.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.2604, allocations: 469.8 kB / 446.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2604, allocations: 0 / 446.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004612/0.2609, allocations: 312 kB / 446.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2609, allocations: 7.312 kB / 446.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2609, allocations: 4 kB / 446.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001984/0.2611, allocations: 52.25 kB / 446.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.2613, allocations: 58.5 kB / 447 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.2627, allocations: 2.612 MB / 449.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.2628, allocations: 21.12 kB / 449.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2629, allocations: 9.438 kB / 449.6 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.0001781/0.263, allocations: 178.3 kB / 449.8 MB, free: 31.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.2631, allocations: 21.53 kB / 449.8 MB, free: 31.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.217e-05/0.2632, allocations: 30.59 kB / 449.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2632, allocations: 4 kB / 449.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2632, allocations: 3.031 kB / 449.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2632, allocations: 0 / 449.8 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.2634, allocations: 294.7 kB / 450.1 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2634, allocations: 4 kB / 450.1 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.2637, allocations: 52.42 kB / 450.2 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.2639, allocations: 45.33 kB / 450.2 MB, free: 31.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.2639, allocations: 10.97 kB / 450.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.2652, allocations: 2.614 MB / 452.9 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2652, allocations: 3.281 kB / 452.9 MB, free: 28.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.2658, allocations: 424.4 kB / 453.3 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.2658, allocations: 101.6 kB / 453.4 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.2659, allocations: 2.844 kB / 453.4 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2661, allocations: 14.22 kB / 453.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.2661, allocations: 10.98 kB / 453.4 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2661, allocations: 10.94 kB / 453.4 MB, free: 28.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.2663, allocations: 245 kB / 453.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2663, allocations: 0 / 453.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000355/0.2667, allocations: 68.34 kB / 453.7 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.000146/0.2668, allocations: 127.2 kB / 453.8 MB, free: 28.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.2673, allocations: 419.8 kB / 454.3 MB, free: 27.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2673, allocations: 2.75 kB / 454.3 MB, free: 27.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.2676, allocations: 313.4 kB / 454.6 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.0003838/0.268, allocations: 58.52 kB / 454.6 MB, free: 27.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2692, allocations: 1.045 MB / 455.7 MB, free: 26.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2694, allocations: 0.7436 MB / 456.4 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.873e-05/0.2695, allocations: 23.88 kB / 456.4 MB, free: 26.28 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2695, allocations: 0 / 456.4 MB, free: 26.28 MB / 350.1 MB Notification: Performance of Templates: time 0.005449/0.2749, allocations: 4.223 MB / 460.7 MB, free: 26.02 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)