Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.268/1.268, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008992/0.0008992, allocations: 177.3 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.4 MB / 0.5785 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008129/0.0008129, allocations: 89.55 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005384, allocations: 14.56 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1836, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7274/0.9111, allocations: 414.1 MB / 1.306 GB, free: 1.961 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.9114, allocations: 108 kB / 1.306 GB, free: 1.898 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.612/2.523, allocations: 0.5368 GB / 1.843 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.472e-06/2.523, allocations: 0 / 1.843 GB, free: 208.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001145/2.523, allocations: 40.2 kB / 1.843 GB, free: 208.6 MB / 0.8855 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.003183/2.527, allocations: 1.621 MB / 1.844 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/2.527, allocations: 7.688 kB / 1.844 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/2.527, allocations: 153.3 kB / 1.844 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/2.53, allocations: 1.347 MB / 1.846 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/2.53, allocations: 68.44 kB / 1.846 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/2.53, allocations: 88.47 kB / 1.846 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/2.531, allocations: 0.8819 MB / 1.847 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/2.531, allocations: 3.938 kB / 1.847 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.718e-05/2.531, allocations: 32.72 kB / 1.847 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/2.531, allocations: 28.62 kB / 1.847 GB, free: 207.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009276/2.532, allocations: 0.621 MB / 1.847 GB, free: 207.2 MB / 0.8855 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.003961/2.536, allocations: 4.284 MB / 1.851 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/2.537, allocations: 0.51 MB / 1.852 GB, free: 205.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/2.537, allocations: 328.4 kB / 1.852 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/2.538, allocations: 0.6027 MB / 1.853 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/2.538, allocations: 37.91 kB / 1.853 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.837e-06/2.538, allocations: 0 / 1.853 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.001985/2.54, allocations: 1.251 MB / 1.854 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/2.54, allocations: 63.47 kB / 1.854 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/2.541, allocations: 0.8589 MB / 1.855 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/2.541, allocations: 39.52 kB / 1.855 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/2.541, allocations: 0.5074 MB / 1.856 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/2.541, allocations: 201.3 kB / 1.856 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/2.541, allocations: 16.62 kB / 1.856 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/2.541, allocations: 333.5 kB / 1.856 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/2.542, allocations: 194 kB / 1.856 GB, free: 202.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/2.542, allocations: 399.6 kB / 1.857 GB, free: 202.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/2.543, allocations: 0.5509 MB / 1.857 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/2.543, allocations: 3.625 kB / 1.857 GB, free: 202.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001166/2.544, allocations: 0.8129 MB / 1.858 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/2.544, allocations: 191.2 kB / 1.858 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/2.544, allocations: 10.75 kB / 1.858 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/2.544, allocations: 147 kB / 1.858 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/2.545, allocations: 122.5 kB / 1.858 GB, free: 202.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/2.547, allocations: 4.822 MB / 1.863 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/2.548, allocations: 120.7 kB / 1.863 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/2.548, allocations: 26.59 kB / 1.863 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-06/2.548, allocations: 4.719 kB / 1.863 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009013/2.549, allocations: 0.6808 MB / 1.864 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.549, allocations: 7.688 kB / 1.864 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/2.549, allocations: 126.2 kB / 1.864 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/2.549, allocations: 117.9 kB / 1.864 GB, free: 197.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/2.552, allocations: 5.835 MB / 1.87 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/2.553, allocations: 104.4 kB / 1.87 GB, free: 192.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/2.553, allocations: 28.78 kB / 1.87 GB, free: 192.3 MB / 0.8855 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.0004521/2.553, allocations: 383.4 kB / 1.87 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/2.553, allocations: 103.5 kB / 1.871 GB, free: 192.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/2.554, allocations: 0.7219 MB / 1.871 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/2.554, allocations: 7.062 kB / 1.871 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/2.554, allocations: 0 / 1.871 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000717/2.555, allocations: 0.6685 MB / 1.872 GB, free: 191.7 MB / 0.8855 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.001981/2.557, allocations: 1.83 MB / 1.874 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/2.557, allocations: 3.891 kB / 1.874 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/2.557, allocations: 95.52 kB / 1.874 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002324/2.557, allocations: 132.3 kB / 1.874 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/2.558, allocations: 13.53 kB / 1.874 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/2.56, allocations: 4.826 MB / 1.879 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/2.56, allocations: 3.75 kB / 1.879 GB, free: 186.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/2.561, allocations: 1.068 MB / 1.88 GB, free: 186.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/2.561, allocations: 260 kB / 1.88 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/2.561, allocations: 15.84 kB / 1.88 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005136/2.562, allocations: 64.81 kB / 1.88 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/2.562, allocations: 45.09 kB / 1.88 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/2.562, allocations: 23.88 kB / 1.88 GB, free: 186.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006161/2.562, allocations: 0.5854 MB / 1.881 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/2.562, allocations: 0 / 1.881 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002094/2.565, allocations: 0.7613 MB / 1.881 GB, free: 186.1 MB / 0.8855 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.0009265/2.565, allocations: 0.6431 MB / 1.882 GB, free: 186 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001721/2.567, allocations: 1.738 MB / 1.884 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.567, allocations: 0 / 1.884 GB, free: 185.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005002/2.568, allocations: 0.622 MB / 1.884 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/2.57, allocations: 0.552 MB / 1.885 GB, free: 184.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/2.573, allocations: 2.479 MB / 1.887 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/2.573, allocations: 1.096 MB / 1.888 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007596/2.574, allocations: 219.4 kB / 1.889 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/2.574, allocations: 85.98 kB / 1.889 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of SimCode: time 3.9e-07/2.574, allocations: 3.172 kB / 1.889 GB, free: 182.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.03316/2.607, allocations: 25.56 MB / 1.914 GB, free: 176.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)