Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001081/0.001081, allocations: 180.5 kB / 373 MB, free: 10.14 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.466/1.466, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0009075/0.0009075, allocations: 112.8 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003832, allocations: 11.53 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2021, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8945/1.097, allocations: 421.7 MB / 1.393 GB, free: 7.164 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.097, allocations: 111.9 kB / 1.393 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.942/3.039, allocations: 0.5519 GB / 1.945 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.395e-06/3.039, allocations: 0 / 1.945 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000133/3.039, allocations: 32.19 kB / 1.945 GB, free: 180.1 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003358/3.042, allocations: 1.623 MB / 1.946 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/3.042, allocations: 11.31 kB / 1.946 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/3.043, allocations: 150.9 kB / 1.946 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/3.045, allocations: 1.352 MB / 1.948 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/3.045, allocations: 64.16 kB / 1.948 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/3.045, allocations: 89.75 kB / 1.948 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/3.046, allocations: 0.8884 MB / 1.949 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/3.046, allocations: 3.938 kB / 1.949 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/3.046, allocations: 38.09 kB / 1.949 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/3.046, allocations: 25.31 kB / 1.949 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/3.047, allocations: 0.6226 MB / 1.949 GB, free: 176.9 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.004099/3.051, allocations: 4.3 MB / 1.954 GB, free: 173.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007462/3.052, allocations: 0.5034 MB / 1.954 GB, free: 173 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/3.053, allocations: 323.8 kB / 1.954 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/3.053, allocations: 0.6042 MB / 1.955 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/3.053, allocations: 38.94 kB / 1.955 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.394e-06/3.053, allocations: 0 / 1.955 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.002223/3.055, allocations: 1.249 MB / 1.956 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/3.055, allocations: 63.08 kB / 1.956 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/3.056, allocations: 0.8513 MB / 1.957 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/3.056, allocations: 41.55 kB / 1.957 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/3.057, allocations: 0.5213 MB / 1.958 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/3.057, allocations: 198.1 kB / 1.958 GB, free: 170 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/3.057, allocations: 11.94 kB / 1.958 GB, free: 170 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/3.057, allocations: 333.8 kB / 1.958 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/3.057, allocations: 195.1 kB / 1.958 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/3.058, allocations: 398 kB / 1.959 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/3.058, allocations: 0.555 MB / 1.959 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/3.058, allocations: 3.75 kB / 1.959 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001224/3.06, allocations: 0.8201 MB / 1.96 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.403e-05/3.06, allocations: 189.8 kB / 1.96 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/3.06, allocations: 2.938 kB / 1.96 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005156/3.06, allocations: 160.5 kB / 1.96 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/3.061, allocations: 120.4 kB / 1.96 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/3.063, allocations: 4.827 MB / 1.965 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009455/3.064, allocations: 111.9 kB / 1.965 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/3.064, allocations: 24.34 kB / 1.965 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/3.064, allocations: 3.594 kB / 1.965 GB, free: 163.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/3.065, allocations: 0.6786 MB / 1.966 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/3.065, allocations: 14.78 kB / 1.966 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/3.065, allocations: 124.6 kB / 1.966 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/3.066, allocations: 123 kB / 1.966 GB, free: 162.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003144/3.069, allocations: 5.837 MB / 1.972 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009912/3.07, allocations: 102.6 kB / 1.972 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/3.07, allocations: 28 kB / 1.972 GB, free: 156.3 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 (71): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006634/3.071, allocations: 363.6 kB / 1.972 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/3.071, allocations: 102.7 kB / 1.973 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/3.072, allocations: 0.7321 MB / 1.973 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/3.072, allocations: 4 kB / 1.973 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/3.072, allocations: 4 kB / 1.973 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007563/3.073, allocations: 0.6709 MB / 1.974 GB, free: 154.4 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 postOpt removeSimpleEquations (simulation): time 0.002361/3.075, allocations: 1.841 MB / 1.976 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/3.075, allocations: 3.984 kB / 1.976 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/3.076, allocations: 103.8 kB / 1.976 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002698/3.076, allocations: 122.6 kB / 1.976 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/3.076, allocations: 16 kB / 1.976 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/3.078, allocations: 4.819 MB / 1.981 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/3.078, allocations: 4.031 kB / 1.981 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/3.08, allocations: 1.063 MB / 1.982 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/3.08, allocations: 263.7 kB / 1.982 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/3.08, allocations: 15.94 kB / 1.982 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/3.081, allocations: 67.16 kB / 1.982 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/3.081, allocations: 47.59 kB / 1.982 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/3.081, allocations: 23.98 kB / 1.982 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007117/3.082, allocations: 0.5864 MB / 1.983 GB, free: 144.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.8e-07/3.082, allocations: 0 / 1.983 GB, free: 144.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002453/3.084, allocations: 0.7601 MB / 1.983 GB, free: 144.1 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/3.085, allocations: 0.6381 MB / 1.984 GB, free: 143.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00203/3.087, allocations: 1.739 MB / 1.986 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/3.087, allocations: 4 kB / 1.986 GB, free: 141.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005554/3.088, allocations: 0.6223 MB / 1.986 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/3.091, allocations: 0.5477 MB / 1.987 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/3.094, allocations: 2.497 MB / 1.989 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/3.094, allocations: 1.093 MB / 1.99 GB, free: 137.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008826/3.095, allocations: 219.5 kB / 1.991 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/3.095, allocations: 79.42 kB / 1.991 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of SimCode: time 6.21e-07/3.095, allocations: 4 kB / 1.991 GB, free: 136.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.03558/3.131, allocations: 25.7 MB / 2.016 GB, free: 111.8 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)