Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003") translateModel(AES.Coursework.ThermSys_Transport.HE_simple_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08667/0.08667, allocations: 17.69 MB / 33.64 MB, free: 1.742 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 173.6 kB / 38.91 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 249.5 MB, free: 2.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007793, allocations: 90.31 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006604/0.0006605, allocations: 12 kB / 366.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2364, allocations: 51.98 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3394, allocations: 79.86 MB / 498.8 MB, free: 8.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3397, allocations: 79.95 kB / 498.9 MB, free: 8.332 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid HE.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Hsnk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Hsrc.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed$Hsrc. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Csrc.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed$Csrc. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Csnk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid dpHE.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.dp_quadratic$dpHE. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid V.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Valve_linear$V. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.01439/0.3541, allocations: 5.223 MB / 0.4923 GB, free: 3.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3541, allocations: 0 / 0.4923 GB, free: 3.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.3541, allocations: 4 kB / 0.4923 GB, free: 3.098 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001138/0.3553, allocations: 0.6433 MB / 0.4929 GB, free: 2.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3553, allocations: 8.031 kB / 0.4929 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.3555, allocations: 48.38 kB / 0.493 GB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.3561, allocations: 374.9 kB / 0.4933 GB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.3562, allocations: 24.94 kB / 0.4933 GB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.3562, allocations: 28.28 kB / 0.4934 GB, free: 1.895 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.3567, allocations: 276.8 kB / 0.4936 GB, free: 1.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.3568, allocations: 7.922 kB / 0.4936 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.3568, allocations: 12 kB / 0.4936 GB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.3568, allocations: 4 kB / 0.4937 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.3572, allocations: 193.7 kB / 0.4938 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.359, allocations: 0.963 MB / 0.4948 GB, free: 376 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.3594, allocations: 162.7 kB / 0.4949 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.3595, allocations: 92.83 kB / 0.495 GB, free: 108 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.3596, allocations: 4 kB / 0.495 GB, free: 104 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3596, allocations: 38.5 kB / 0.4951 GB, free: 56 kB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.2039/0.5635, allocations: 60.11 kB / 0.4951 GB, free: 81.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 7.273e-06/0.5636, allocations: 0 / 0.4951 GB, free: 81.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001852/0.5655, allocations: 437.2 kB / 0.4955 GB, free: 81.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5655, allocations: 56.84 kB / 0.4956 GB, free: 81.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/0.5661, allocations: 376.3 kB / 0.4959 GB, free: 81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.5661, allocations: 29.14 kB / 0.496 GB, free: 80.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.5663, allocations: 209.2 kB / 0.4962 GB, free: 80.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.5664, allocations: 59.84 kB / 0.4962 GB, free: 80.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.5664, allocations: 4.656 kB / 0.4962 GB, free: 80.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.5665, allocations: 352.8 kB / 0.4966 GB, free: 80.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.5666, allocations: 74.84 kB / 0.4966 GB, free: 80.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.5668, allocations: 97.83 kB / 0.4967 GB, free: 80.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/0.5708, allocations: 0.7517 MB / 0.4975 GB, free: 80.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5708, allocations: 0.625 kB / 0.4975 GB, free: 80.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001479/0.5723, allocations: 431.5 kB / 0.4979 GB, free: 80.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5724, allocations: 6.438 kB / 0.4979 GB, free: 80.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5724, allocations: 0 / 0.4979 GB, free: 80.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.5734, allocations: 179.5 kB / 0.4981 GB, free: 80.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.5737, allocations: 47.97 kB / 0.4981 GB, free: 80.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.5763, allocations: 2.191 MB / 0.5002 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.5766, allocations: 5.188 kB / 0.5003 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.5767, allocations: 11.94 kB / 0.5003 GB, free: 78.61 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: HE.Tco:VARIABLE(min = 0.0 start = 313.15 unit = "K" fixed = true nominal = 300.0 ) type: Real 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.577, allocations: 152.5 kB / 0.5004 GB, free: 78.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.5771, allocations: 36.41 kB / 0.5004 GB, free: 78.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/0.578, allocations: 351.8 kB / 0.5008 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.578, allocations: 7.828 kB / 0.5008 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.578, allocations: 0.6094 kB / 0.5008 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5781, allocations: 5.844 kB / 0.5008 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.5794, allocations: 0.7502 MB / 0.5015 GB, free: 77.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5794, allocations: 0 / 0.5015 GB, free: 77.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.5797, allocations: 42.06 kB / 0.5016 GB, free: 77.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005577/0.5802, allocations: 112.1 kB / 0.5017 GB, free: 77.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.5803, allocations: 7.391 kB / 0.5017 GB, free: 77.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00027/0.5805, allocations: 0.5878 MB / 0.5023 GB, free: 77.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5806, allocations: 1.125 kB / 0.5023 GB, free: 77.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008519/0.5814, allocations: 0.5065 MB / 0.5027 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.5815, allocations: 122.2 kB / 0.5029 GB, free: 76.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.5816, allocations: 6.203 kB / 0.5029 GB, free: 76.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.5817, allocations: 3.234 kB / 0.5029 GB, free: 76.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.5818, allocations: 23.55 kB / 0.5029 GB, free: 76.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.5818, allocations: 7.547 kB / 0.5029 GB, free: 76.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000281/0.5821, allocations: 267.6 kB / 0.5032 GB, free: 76.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5821, allocations: 0 / 0.5032 GB, free: 76.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.5825, allocations: 96.38 kB / 0.5033 GB, free: 76.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.5827, allocations: 112.2 kB / 0.5034 GB, free: 76.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.5834, allocations: 348.1 kB / 0.5037 GB, free: 76.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5834, allocations: 0 / 0.5037 GB, free: 76.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.5837, allocations: 109.1 kB / 0.5038 GB, free: 76.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.5842, allocations: 87.81 kB / 0.5039 GB, free: 76.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.5856, allocations: 0.928 MB / 0.5048 GB, free: 75.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.5858, allocations: 0.7915 MB / 0.5056 GB, free: 75.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.5861, allocations: 46.16 kB / 0.5056 GB, free: 75.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.5862, allocations: 33.06 kB / 0.5056 GB, free: 75.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5862, allocations: 0 / 0.5056 GB, free: 75.11 MB / 362.7 MB Notification: Performance of Templates: time 0.009256/0.5954, allocations: 4.9 MB / 0.5104 GB, free: 74.11 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_003.pipe 2>&1)