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.0008334/0.0008335, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006822/0.006822, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2114/0.2114, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 55.97 MB / 438.6 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.001596/0.2882, allocations: 1.632 MB / 440.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005071/0.2887, allocations: 246.2 kB / 440.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2888, allocations: 2.312 kB / 440.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.289, allocations: 18.53 kB / 440.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.2893, allocations: 102.4 kB / 440.6 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.527e-05/0.2894, allocations: 48.64 kB / 440.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.2897, allocations: 364.8 kB / 441 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2898, allocations: 42 kB / 441 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.2899, allocations: 80.31 kB / 441.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.2901, allocations: 123.4 kB / 441.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2901, allocations: 12.31 kB / 441.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.2902, allocations: 64.83 kB / 441.3 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.2903, allocations: 70.72 kB / 441.3 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.899e-05/0.2904, allocations: 115.4 kB / 441.5 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2906, allocations: 259.8 kB / 441.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2906, allocations: 4 kB / 441.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2906, allocations: 0 / 441.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2907, allocations: 0 / 441.7 MB, free: 37.48 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.0008265/0.2915, allocations: 0.5128 MB / 442.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.2915, allocations: 18.83 kB / 442.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.2916, allocations: 24.97 kB / 442.3 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.2919, allocations: 320.5 kB / 442.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2919, allocations: 9.469 kB / 442.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.292, allocations: 14.66 kB / 442.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.2922, allocations: 142.4 kB / 442.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2922, allocations: 192 / 442.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.2922, allocations: 3.938 kB / 442.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2922, allocations: 2.812 kB / 442.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.2924, allocations: 104.2 kB / 442.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.2932, allocations: 0.6696 MB / 443.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.2939, allocations: 267.1 kB / 443.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.294, allocations: 81.53 kB / 443.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.2941, allocations: 3.75 kB / 443.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.2941, allocations: 38.5 kB / 443.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.2941, allocations: 0 / 443.9 MB, free: 35.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009172/0.295, allocations: 0.4976 MB / 444.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.295, allocations: 61.94 kB / 444.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.2953, allocations: 315.2 kB / 444.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2953, allocations: 25.7 kB / 444.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.2954, allocations: 129.1 kB / 444.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.2954, allocations: 55.77 kB / 445 MB, free: 35.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.2955, allocations: 24.81 kB / 445 MB, free: 35.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.2955, allocations: 331.5 kB / 445.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.352e-05/0.2956, allocations: 65.86 kB / 445.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2957, allocations: 89.03 kB / 445.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.297, allocations: 478.8 kB / 445.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2971, allocations: 0 / 445.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004943/0.2976, allocations: 310.2 kB / 446.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2976, allocations: 2.906 kB / 446.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2976, allocations: 2.906 kB / 446.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.2978, allocations: 52.56 kB / 446.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.2981, allocations: 55.8 kB / 446.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.2996, allocations: 2.61 MB / 449 MB, free: 31.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.2997, allocations: 21.05 kB / 449 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.2998, allocations: 6.969 kB / 449 MB, free: 31.84 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.0001932/0.3, allocations: 178.4 kB / 449.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.3, allocations: 19.66 kB / 449.2 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.274e-05/0.3001, allocations: 31.25 kB / 449.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3001, allocations: 0 / 449.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.3001, allocations: 3.031 kB / 449.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3001, allocations: 0 / 449.2 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3004, allocations: 295.9 kB / 449.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3004, allocations: 4 kB / 449.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.3007, allocations: 54.81 kB / 449.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.3008, allocations: 50.98 kB / 449.6 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3008, allocations: 6.906 kB / 449.6 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3021, allocations: 2.619 MB / 452.2 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3022, allocations: 0 / 452.2 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.3027, allocations: 418.3 kB / 452.7 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3027, allocations: 97.7 kB / 452.8 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.3028, allocations: 18.59 kB / 452.8 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.303, allocations: 12.91 kB / 452.8 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.303, allocations: 12.33 kB / 452.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.303, allocations: 2.844 kB / 452.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3032, allocations: 247.2 kB / 453 MB, free: 28.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3032, allocations: 0 / 453 MB, free: 28.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003582/0.3036, allocations: 70.78 kB / 453.1 MB, free: 28.23 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.0001659/0.3038, allocations: 128.2 kB / 453.2 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.3043, allocations: 417.2 kB / 453.6 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3043, allocations: 0 / 453.6 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002824/0.3046, allocations: 321.7 kB / 454 MB, free: 27.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.305, allocations: 46.45 kB / 454 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3062, allocations: 1.013 MB / 455 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.3064, allocations: 0.7471 MB / 455.8 MB, free: 26.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3066, allocations: 40.56 kB / 455.8 MB, free: 26.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.3066, allocations: 20.06 kB / 455.8 MB, free: 26.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3066, allocations: 0 / 455.8 MB, free: 26.19 MB / 350.1 MB Notification: Performance of Templates: time 0.006761/0.3134, allocations: 3.741 MB / 459.6 MB, free: 25.96 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)