Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001345/0.001345, allocations: 181.1 kB / 377.1 MB, free: 1.516 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.727/1.727, allocations: 205.4 MB / 0.6367 GB, free: 9.539 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.0009115/0.0009115, allocations: 86.78 kB / 0.751 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.000392, allocations: 8 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3079, allocations: 116.3 MB / 0.9884 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.511/1.819, allocations: 422.6 MB / 1.401 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.819, allocations: 107.6 kB / 1.401 GB, free: 254.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.689/3.508, allocations: 0.5552 GB / 1.956 GB, free: 138.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.294e-06/3.508, allocations: 0 / 1.956 GB, free: 138.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001115/3.508, allocations: 32 kB / 1.956 GB, free: 138.4 MB / 0.948 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.003509/3.511, allocations: 1.632 MB / 1.958 GB, free: 136.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/3.511, allocations: 8.031 kB / 1.958 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003758/3.512, allocations: 151.5 kB / 1.958 GB, free: 136.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002473/3.514, allocations: 1.405 MB / 1.96 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.162e-05/3.514, allocations: 69.59 kB / 1.96 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/3.515, allocations: 91.91 kB / 1.96 GB, free: 135 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/3.516, allocations: 0.8806 MB / 1.961 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/3.516, allocations: 0.5156 kB / 1.961 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/3.516, allocations: 36 kB / 1.961 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.059e-05/3.516, allocations: 31.89 kB / 1.961 GB, free: 134 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/3.517, allocations: 0.6246 MB / 1.961 GB, free: 133.4 MB / 0.948 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.004287/3.521, allocations: 4.315 MB / 1.965 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008155/3.522, allocations: 0.5207 MB / 1.966 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005239/3.523, allocations: 0.6057 MB / 1.967 GB, free: 127.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/3.523, allocations: 39.12 kB / 1.967 GB, free: 127.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.267e-06/3.523, allocations: 0 / 1.967 GB, free: 127.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.002025/3.525, allocations: 1.245 MB / 1.968 GB, free: 126.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/3.525, allocations: 59.97 kB / 1.968 GB, free: 126.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008927/3.526, allocations: 0.8079 MB / 1.969 GB, free: 125.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/3.526, allocations: 37.7 kB / 1.969 GB, free: 125.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/3.526, allocations: 0.5074 MB / 1.969 GB, free: 124.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/3.526, allocations: 205.1 kB / 1.969 GB, free: 124.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/3.526, allocations: 15.94 kB / 1.969 GB, free: 124.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/3.526, allocations: 334 kB / 1.97 GB, free: 124.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/3.527, allocations: 197.8 kB / 1.97 GB, free: 124 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/3.527, allocations: 397.1 kB / 1.97 GB, free: 123.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/3.527, allocations: 255 kB / 1.971 GB, free: 123.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/3.527, allocations: 0 / 1.971 GB, free: 123.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001096/3.528, allocations: 0.8138 MB / 1.971 GB, free: 122.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002569/3.529, allocations: 1.316 MB / 1.973 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/3.529, allocations: 4 kB / 1.973 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003768/3.529, allocations: 139.3 kB / 1.973 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/3.529, allocations: 123.8 kB / 1.973 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/3.532, allocations: 4.981 MB / 1.978 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/3.533, allocations: 111.4 kB / 1.978 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/3.533, allocations: 31.98 kB / 1.978 GB, free: 115.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/3.533, allocations: 4 kB / 1.978 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/3.534, allocations: 0.6817 MB / 1.979 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/3.534, allocations: 4 kB / 1.979 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002617/3.535, allocations: 131.2 kB / 1.979 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/3.535, allocations: 128.1 kB / 1.979 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/3.538, allocations: 5.997 MB / 1.985 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009784/3.539, allocations: 111.4 kB / 1.985 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-05/3.539, allocations: 24 kB / 1.985 GB, free: 107.5 MB / 0.948 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 (70): * Single equations (assignments): 65 * 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%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0007088/3.54, allocations: 368.7 kB / 1.985 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/3.54, allocations: 110.7 kB / 1.985 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/3.541, allocations: 0.7228 MB / 1.986 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/3.541, allocations: 8 kB / 1.986 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/3.541, allocations: 0 / 1.986 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007817/3.542, allocations: 0.6766 MB / 1.987 GB, free: 105.6 MB / 0.948 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.002558/3.545, allocations: 1.862 MB / 1.988 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/3.545, allocations: 0 / 1.988 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/3.545, allocations: 87.89 kB / 1.988 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/3.545, allocations: 135.6 kB / 1.989 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/3.546, allocations: 15.98 kB / 1.989 GB, free: 103.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/3.548, allocations: 4.989 MB / 1.994 GB, free: 98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/3.548, allocations: 4.031 kB / 1.994 GB, free: 98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/3.549, allocations: 1.12 MB / 1.995 GB, free: 96.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/3.55, allocations: 267.7 kB / 1.995 GB, free: 96.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/3.55, allocations: 12 kB / 1.995 GB, free: 96.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/3.551, allocations: 63.84 kB / 1.995 GB, free: 96.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/3.551, allocations: 44.5 kB / 1.995 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/3.551, allocations: 27.98 kB / 1.995 GB, free: 96.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008863/3.552, allocations: 0.6254 MB / 1.996 GB, free: 95.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/3.552, allocations: 0 / 1.996 GB, free: 95.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003225/3.555, allocations: 0.7718 MB / 1.996 GB, free: 94.98 MB / 0.948 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 (47): * Single equations (assignments): 41 * 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%) 3,(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.001607/3.557, allocations: 0.6708 MB / 1.997 GB, free: 94.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002413/3.559, allocations: 1.76 MB / 1.999 GB, free: 92.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/3.559, allocations: 0 / 1.999 GB, free: 92.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/3.56, allocations: 0.6363 MB / 1.999 GB, free: 91.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002595/3.563, allocations: 0.5507 MB / 2 GB, free: 91.28 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003795/3.566, allocations: 2.485 MB / 2.002 GB, free: 88.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/3.567, allocations: 1.112 MB / 2.003 GB, free: 87.62 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001168/3.568, allocations: 226.9 kB / 2.004 GB, free: 87.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/3.569, allocations: 83.41 kB / 2.004 GB, free: 87.32 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/3.569, allocations: 0 / 2.004 GB, free: 87.32 MB / 0.948 GB Notification: Performance of Templates: time 0.03995/3.609, allocations: 25.57 MB / 2.029 GB, free: 61.97 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)