Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 288.4 MB / 304.3 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 192.4 kB / 373 MB, free: 10.17 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 0.6317 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008398/0.0008399, allocations: 98.19 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004281, allocations: 12.69 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 115.3 MB / 0.9808 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.306, allocations: 412.3 MB / 1.383 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.307, allocations: 131.1 kB / 1.384 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.02/3.327, allocations: 474.1 MB / 1.846 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.204e-06/3.327, allocations: 0 / 1.846 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001482/3.327, allocations: 43.31 kB / 1.847 GB, free: 183.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.005538/3.333, allocations: 2.246 MB / 1.849 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/3.333, allocations: 8.375 kB / 1.849 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006293/3.333, allocations: 213.7 kB / 1.849 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/3.337, allocations: 1.702 MB / 1.851 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/3.337, allocations: 89.61 kB / 1.851 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/3.338, allocations: 106.7 kB / 1.851 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/3.339, allocations: 1.083 MB / 1.852 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/3.34, allocations: 3.719 kB / 1.852 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/3.34, allocations: 42.69 kB / 1.852 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/3.34, allocations: 27.47 kB / 1.852 GB, free: 181.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/3.341, allocations: 0.7959 MB / 1.853 GB, free: 181.6 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007654/3.349, allocations: 6.457 MB / 1.859 GB, free: 178 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/3.35, allocations: 0.5491 MB / 1.86 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004418/3.35, allocations: 348.9 kB / 1.86 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008644/3.351, allocations: 1.269 MB / 1.861 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/3.351, allocations: 45.47 kB / 1.861 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 3.416e-06/3.351, allocations: 1.5 kB / 1.861 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.001978/3.353, allocations: 1.153 MB / 1.862 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/3.353, allocations: 88.45 kB / 1.862 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/3.355, allocations: 1.512 MB / 1.864 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/3.355, allocations: 42.55 kB / 1.864 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/3.355, allocations: 0.7077 MB / 1.865 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/3.356, allocations: 241.3 kB / 1.865 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/3.356, allocations: 13.84 kB / 1.865 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/3.356, allocations: 343.5 kB / 1.865 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/3.356, allocations: 274.3 kB / 1.865 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/3.357, allocations: 0.4924 MB / 1.866 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00083/3.357, allocations: 0.689 MB / 1.867 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/3.357, allocations: 3.875 kB / 1.867 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001454/3.359, allocations: 0.9807 MB / 1.867 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/3.359, allocations: 196.5 kB / 1.868 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/3.359, allocations: 3.938 kB / 1.868 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/3.359, allocations: 76.3 kB / 1.868 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/3.36, allocations: 179.2 kB / 1.868 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/3.362, allocations: 2.98 MB / 1.871 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/3.363, allocations: 146 kB / 1.871 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/3.363, allocations: 40.02 kB / 1.871 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/3.363, allocations: 3.938 kB / 1.871 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001197/3.364, allocations: 0.8129 MB / 1.872 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/3.364, allocations: 10.44 kB / 1.872 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/3.365, allocations: 67.16 kB / 1.872 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/3.365, allocations: 182.2 kB / 1.872 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/3.367, allocations: 2.959 MB / 1.875 GB, free: 169 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/3.368, allocations: 133.2 kB / 1.875 GB, free: 168.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/3.368, allocations: 36.38 kB / 1.875 GB, free: 168.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008996/3.369, allocations: 455.3 kB / 1.876 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/3.369, allocations: 152.6 kB / 1.876 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/3.371, allocations: 0.9824 MB / 1.877 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/3.371, allocations: 10.19 kB / 1.877 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/3.371, allocations: 0 / 1.877 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000923/3.372, allocations: 0.7885 MB / 1.877 GB, free: 168.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/3.376, allocations: 2.632 MB / 1.88 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/3.376, allocations: 6.031 kB / 1.88 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005115/3.376, allocations: 130.5 kB / 1.88 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/3.376, allocations: 71 kB / 1.88 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/3.376, allocations: 23.12 kB / 1.88 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/3.378, allocations: 2.976 MB / 1.883 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/3.378, allocations: 7.781 kB / 1.883 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/3.38, allocations: 1.405 MB / 1.885 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007996/3.381, allocations: 367.9 kB / 1.885 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/3.381, allocations: 16.12 kB / 1.885 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007206/3.382, allocations: 58.95 kB / 1.885 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/3.382, allocations: 65.41 kB / 1.885 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/3.382, allocations: 29.33 kB / 1.885 GB, free: 164.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001535/3.383, allocations: 1.054 MB / 1.886 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/3.384, allocations: 0 / 1.886 GB, free: 164.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004227/3.388, allocations: 1.19 MB / 1.887 GB, free: 164.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * 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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002879/3.391, allocations: 1.248 MB / 1.888 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00247/3.393, allocations: 1.665 MB / 1.89 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/3.393, allocations: 0 / 1.89 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/3.394, allocations: 0.5911 MB / 1.891 GB, free: 163 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/3.399, allocations: 0.8209 MB / 1.891 GB, free: 163 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/3.404, allocations: 3.476 MB / 1.895 GB, free: 161.5 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/3.405, allocations: 1.276 MB / 1.896 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001684/3.406, allocations: 367.8 kB / 1.896 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/3.407, allocations: 125.5 kB / 1.897 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/3.407, allocations: 0 / 1.897 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.0651/3.472, allocations: 41.35 MB / 1.937 GB, free: 158.6 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)