Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.678/1.678, allocations: 293 MB / 309 MB, free: 4.836 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.001022/0.001022, allocations: 171.7 kB / 378.7 MB, free: 1.035 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.726/1.726, allocations: 205.4 MB / 0.6383 GB, free: 9.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008258/0.0008259, allocations: 86 kB / 0.7527 GB, free: 62.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.0004201, allocations: 20 kB / 0.8768 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2919, allocations: 116.4 MB / 0.9905 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.6/1.892, allocations: 413.3 MB / 1.394 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/1.892, allocations: 127.2 kB / 1.394 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.487/3.38, allocations: 474.1 MB / 1.857 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.845e-06/3.38, allocations: 3.938 kB / 1.857 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001974/3.38, allocations: 52.88 kB / 1.857 GB, free: 157.6 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.006386/3.386, allocations: 2.236 MB / 1.859 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/3.386, allocations: 14.88 kB / 1.859 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/3.387, allocations: 210.1 kB / 1.86 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/3.39, allocations: 1.708 MB / 1.861 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-05/3.39, allocations: 82.89 kB / 1.861 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/3.391, allocations: 114.6 kB / 1.862 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/3.393, allocations: 1.081 MB / 1.863 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/3.393, allocations: 0 / 1.863 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/3.393, allocations: 46.06 kB / 1.863 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/3.393, allocations: 30 kB / 1.863 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/3.394, allocations: 0.7896 MB / 1.863 GB, free: 155.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.009071/3.403, allocations: 6.463 MB / 1.87 GB, free: 152 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/3.404, allocations: 0.5549 MB / 1.87 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/3.405, allocations: 352.3 kB / 1.871 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009007/3.405, allocations: 1.26 MB / 1.872 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/3.406, allocations: 41.62 kB / 1.872 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 2.986e-06/3.406, allocations: 0.8438 kB / 1.872 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.002117/3.408, allocations: 1.165 MB / 1.873 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/3.408, allocations: 84.95 kB / 1.873 GB, free: 150 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/3.41, allocations: 1.501 MB / 1.875 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/3.41, allocations: 46.45 kB / 1.875 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005224/3.41, allocations: 0.7025 MB / 1.875 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/3.411, allocations: 250.4 kB / 1.876 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/3.411, allocations: 15.81 kB / 1.876 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.898e-05/3.411, allocations: 342 kB / 1.876 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/3.411, allocations: 267.9 kB / 1.876 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/3.412, allocations: 0.4932 MB / 1.877 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/3.413, allocations: 0.6926 MB / 1.877 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/3.413, allocations: 2.938 kB / 1.877 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001621/3.414, allocations: 0.9836 MB / 1.878 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/3.414, allocations: 189.2 kB / 1.878 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/3.414, allocations: 10.72 kB / 1.878 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/3.415, allocations: 81.41 kB / 1.879 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/3.415, allocations: 173.2 kB / 1.879 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/3.417, allocations: 2.976 MB / 1.882 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/3.419, allocations: 140.4 kB / 1.882 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/3.419, allocations: 45.33 kB / 1.882 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/3.419, allocations: 3.344 kB / 1.882 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/3.42, allocations: 0.8155 MB / 1.883 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/3.42, allocations: 7.219 kB / 1.883 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/3.42, allocations: 65.97 kB / 1.883 GB, free: 145 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/3.421, allocations: 183.1 kB / 1.883 GB, free: 145 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/3.422, allocations: 2.954 MB / 1.886 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/3.423, allocations: 131.2 kB / 1.886 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/3.424, allocations: 38.86 kB / 1.886 GB, free: 142.1 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.0009486/3.425, allocations: 454.7 kB / 1.886 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/3.425, allocations: 152.7 kB / 1.886 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/3.426, allocations: 0.9702 MB / 1.887 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/3.426, allocations: 18.47 kB / 1.887 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/3.426, allocations: 6.906 kB / 1.887 GB, free: 141.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00091/3.427, allocations: 0.7855 MB / 1.888 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/3.431, allocations: 2.633 MB / 1.891 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/3.431, allocations: 2.5 kB / 1.891 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/3.432, allocations: 135.9 kB / 1.891 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/3.432, allocations: 76.89 kB / 1.891 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/3.432, allocations: 24.34 kB / 1.891 GB, free: 139.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/3.434, allocations: 2.972 MB / 1.894 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/3.434, allocations: 3.781 kB / 1.894 GB, free: 136.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/3.436, allocations: 1.4 MB / 1.895 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007568/3.436, allocations: 369.2 kB / 1.896 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/3.436, allocations: 19.03 kB / 1.896 GB, free: 135.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/3.437, allocations: 56.03 kB / 1.896 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/3.437, allocations: 63.62 kB / 1.896 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-05/3.437, allocations: 33.23 kB / 1.896 GB, free: 135.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001567/3.439, allocations: 1.049 MB / 1.897 GB, free: 135 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.7e-07/3.439, allocations: 0 / 1.897 GB, free: 135 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004144/3.443, allocations: 1.188 MB / 1.898 GB, free: 134.7 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.003144/3.446, allocations: 1.261 MB / 1.899 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002572/3.449, allocations: 1.659 MB / 1.901 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/3.449, allocations: 2.625 kB / 1.901 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006585/3.45, allocations: 0.5862 MB / 1.901 GB, free: 133.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004648/3.454, allocations: 0.8129 MB / 1.902 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/3.459, allocations: 3.479 MB / 1.906 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/3.459, allocations: 1.265 MB / 1.907 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001651/3.461, allocations: 368.8 kB / 1.907 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/3.461, allocations: 135 kB / 1.907 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of SimCode: time 9.62e-07/3.461, allocations: 2.844 kB / 1.907 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.06358/3.525, allocations: 41.31 MB / 1.948 GB, free: 120.1 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)