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.671/1.671, allocations: 285.4 MB / 298 MB, free: 5.965 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.00108/0.001081, allocations: 180.8 kB / 366.4 MB, free: 2.094 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.624/1.624, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008418/0.0008417, allocations: 93.45 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.434e-05, allocations: 11.98 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7401, allocations: 115.3 MB / 0.9709 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.893, allocations: 421.6 MB / 1.383 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.893, allocations: 102.1 kB / 1.383 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.608/3.501, allocations: 0.5536 GB / 1.936 GB, free: 59.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.443e-06/3.501, allocations: 0 / 1.936 GB, free: 59.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001027/3.501, allocations: 28 kB / 1.936 GB, free: 59.65 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.002285/3.503, allocations: 1.414 MB / 1.938 GB, free: 58.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/3.503, allocations: 8.031 kB / 1.938 GB, free: 58.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/3.503, allocations: 158.3 kB / 1.938 GB, free: 58.03 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/3.506, allocations: 1.378 MB / 1.939 GB, free: 56.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/3.506, allocations: 66 kB / 1.939 GB, free: 56.54 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/3.506, allocations: 92.69 kB / 1.939 GB, free: 56.45 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/3.507, allocations: 0.8662 MB / 1.94 GB, free: 55.55 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/3.507, allocations: 7.953 kB / 1.94 GB, free: 55.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/3.507, allocations: 32 kB / 1.94 GB, free: 55.51 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/3.507, allocations: 24 kB / 1.94 GB, free: 55.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/3.508, allocations: 0.6013 MB / 1.941 GB, free: 54.89 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003611/3.512, allocations: 4.324 MB / 1.945 GB, free: 50.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/3.512, allocations: 0.5134 MB / 1.946 GB, free: 49.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/3.513, allocations: 319.3 kB / 1.946 GB, free: 49.44 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/3.513, allocations: 0.6018 MB / 1.946 GB, free: 48.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/3.513, allocations: 43.06 kB / 1.947 GB, free: 48.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.715e-06/3.513, allocations: 0 / 1.947 GB, free: 48.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001082/3.514, allocations: 0.6298 MB / 1.947 GB, free: 48.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/3.515, allocations: 59.97 kB / 1.947 GB, free: 47.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/3.515, allocations: 0.7888 MB / 1.948 GB, free: 47.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/3.515, allocations: 41.7 kB / 1.948 GB, free: 47.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/3.516, allocations: 0.5151 MB / 1.949 GB, free: 46.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/3.516, allocations: 205 kB / 1.949 GB, free: 46.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/3.516, allocations: 12 kB / 1.949 GB, free: 46.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.472e-05/3.516, allocations: 330 kB / 1.949 GB, free: 46.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/3.516, allocations: 193.5 kB / 1.949 GB, free: 45.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/3.516, allocations: 389.9 kB / 1.95 GB, free: 45.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/3.517, allocations: 261.8 kB / 1.95 GB, free: 45.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/3.517, allocations: 0 / 1.95 GB, free: 45.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001063/3.518, allocations: 0.7953 MB / 1.951 GB, free: 44.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/3.518, allocations: 1.311 MB / 1.952 GB, free: 42.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/3.518, allocations: 8 kB / 1.952 GB, free: 42.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/3.519, allocations: 139.3 kB / 1.952 GB, free: 42.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/3.519, allocations: 127.8 kB / 1.952 GB, free: 42.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/3.521, allocations: 4.826 MB / 1.957 GB, free: 37.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/3.522, allocations: 107.3 kB / 1.957 GB, free: 37.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/3.522, allocations: 35.98 kB / 1.957 GB, free: 37.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/3.523, allocations: 4 kB / 1.957 GB, free: 37.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/3.524, allocations: 0.6685 MB / 1.958 GB, free: 36.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/3.524, allocations: 8.031 kB / 1.958 GB, free: 36.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/3.524, allocations: 123.4 kB / 1.958 GB, free: 36.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/3.524, allocations: 127.9 kB / 1.958 GB, free: 36.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/3.527, allocations: 5.814 MB / 1.964 GB, free: 29.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009395/3.528, allocations: 103.4 kB / 1.964 GB, free: 29.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/3.528, allocations: 31.98 kB / 1.964 GB, free: 29.76 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 () * 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.0002009/3.528, allocations: 150.9 kB / 1.964 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/3.528, allocations: 102.7 kB / 1.964 GB, free: 29.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/3.53, allocations: 0.7228 MB / 1.965 GB, free: 28.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/3.53, allocations: 11.95 kB / 1.965 GB, free: 28.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/3.53, allocations: 0 / 1.965 GB, free: 28.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007243/3.53, allocations: 0.6533 MB / 1.965 GB, free: 28.05 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002343/3.533, allocations: 1.858 MB / 1.967 GB, free: 26.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/3.533, allocations: 0 / 1.967 GB, free: 26.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/3.533, allocations: 87.89 kB / 1.967 GB, free: 26.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003098/3.534, allocations: 131.4 kB / 1.967 GB, free: 25.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/3.534, allocations: 15.95 kB / 1.967 GB, free: 25.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/3.536, allocations: 4.807 MB / 1.972 GB, free: 20.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/3.536, allocations: 0 / 1.972 GB, free: 20.63 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/3.537, allocations: 1.1 MB / 1.973 GB, free: 19.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005307/3.538, allocations: 275.6 kB / 1.973 GB, free: 19.17 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/3.538, allocations: 15.95 kB / 1.973 GB, free: 19.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005827/3.539, allocations: 63.88 kB / 1.973 GB, free: 19.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/3.539, allocations: 48.44 kB / 1.974 GB, free: 19.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/3.539, allocations: 27.98 kB / 1.974 GB, free: 19.02 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007645/3.539, allocations: 0.6102 MB / 1.974 GB, free: 18.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.4e-07/3.539, allocations: 4 kB / 1.974 GB, free: 18.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002621/3.542, allocations: 0.7718 MB / 1.975 GB, free: 17.62 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 () * 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.001244/3.543, allocations: 0.6733 MB / 1.976 GB, free: 16.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001979/3.545, allocations: 1.746 MB / 1.977 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/3.545, allocations: 256 / 1.977 GB, free: 15.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/3.546, allocations: 0.6123 MB / 1.978 GB, free: 14.44 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/3.549, allocations: 0.5609 MB / 1.978 GB, free: 13.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/3.551, allocations: 1.554 MB / 1.98 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/3.551, allocations: 1.114 MB / 1.981 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001137/3.552, allocations: 284.2 kB / 1.981 GB, free: 10.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/3.553, allocations: 67.42 kB / 1.981 GB, free: 10.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/3.553, allocations: 3.938 kB / 1.981 GB, free: 10.8 MB / 0.948 GB Notification: Performance of Templates: time 0.5392/4.092, allocations: 27.79 MB / 2.008 GB, free: 187.2 MB / 0.948 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)