Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.711/1.711, allocations: 287.4 MB / 303.2 MB, free: 8.312 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.001145/0.001145, allocations: 186.6 kB / 371.8 MB, free: 10.82 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.509/1.509, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0007846/0.0007847, allocations: 88.47 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 12.06 kB / 0.8668 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 115.3 MB / 0.9793 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001176/0.1836, allocations: 1.15 MB / 0.9805 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.1866, allocations: 2.771 MB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.1867, allocations: 4 kB / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.1867, allocations: 0 / 0.9832 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.91e-05/0.1868, allocations: 19.78 kB / 0.9832 GB, free: 24.17 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.1896, allocations: 1.32 MB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.1896, allocations: 43.67 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.1897, allocations: 4.281 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.075e-05/0.1897, allocations: 15.94 kB / 0.9845 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.438e-05/0.1897, allocations: 15.92 kB / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1898, allocations: 0 / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.1913, allocations: 1.268 MB / 0.9858 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.1913, allocations: 0 / 0.9858 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1913, allocations: 33.64 kB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.192, allocations: 0.7213 MB / 0.9865 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.192, allocations: 3.938 kB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.192, allocations: 0 / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.192, allocations: 0 / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003874/0.1924, allocations: 0.5146 MB / 0.987 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1925, allocations: 8.031 kB / 0.987 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1925, allocations: 88.12 kB / 0.9871 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.496e-05/0.1926, allocations: 247.6 kB / 0.9874 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.1926, allocations: 154.9 kB / 0.9875 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.1927, allocations: 154.9 kB / 0.9877 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.827e-05/0.1927, allocations: 109.1 kB / 0.9878 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1927, allocations: 75.28 kB / 0.9878 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1928, allocations: 158.6 kB / 0.988 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.1928, allocations: 150.6 kB / 0.9881 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.1928, allocations: 150.6 kB / 0.9883 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.193, allocations: 465.9 kB / 0.9887 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.053e-05/0.193, allocations: 169.1 kB / 0.9889 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.193, allocations: 80.14 kB / 0.989 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.1931, allocations: 75.28 kB / 0.989 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.1931, allocations: 117.8 kB / 0.9891 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1931, allocations: 0 / 0.9891 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 5.677e-05/0.1932, allocations: 33.55 kB / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.1932, allocations: 59.34 kB / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.818e-05/0.1933, allocations: 140.1 kB / 0.9894 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.1933, allocations: 29.7 kB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/0.1933, allocations: 84.14 kB / 0.9895 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.1933, allocations: 0 / 0.9895 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1933, allocations: 0 / 0.9895 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.1934, allocations: 322.8 kB / 0.9898 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.1934, allocations: 4 kB / 0.9898 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.1934, allocations: 12 kB / 0.9898 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.831e-05/0.1935, allocations: 8.859 kB / 0.9898 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1935, allocations: 0 / 0.9898 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.542e-05/0.1936, allocations: 57.48 kB / 0.9899 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1936, allocations: 7.984 kB / 0.9899 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.1936, allocations: 8 kB / 0.9899 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.1936, allocations: 0 / 0.9899 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-07/0.1936, allocations: 0 / 0.9899 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1936, allocations: 0 / 0.9899 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1937, allocations: 3.906 kB / 0.9899 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1937, allocations: 8.062 kB / 0.9899 GB, free: 17.09 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.1937, allocations: 185.1 kB / 0.9901 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1938, allocations: 108.9 kB / 0.9902 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.1938, allocations: 120.8 kB / 0.9903 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.1938, allocations: 188.3 kB / 0.9905 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.1939, allocations: 101 kB / 0.9906 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.1939, allocations: 189.9 kB / 0.9907 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.1939, allocations: 184.2 kB / 0.9909 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.194, allocations: 109 kB / 0.991 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.194, allocations: 176.3 kB / 0.9912 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.202e-05/0.1941, allocations: 263.4 kB / 0.9914 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.07e-05/0.1941, allocations: 387 kB / 0.9918 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.953e-05/0.1942, allocations: 108.9 kB / 0.9919 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.1942, allocations: 99.27 kB / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of Backend: time 3e-07/0.1942, allocations: 0 / 0.992 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.1954, allocations: 0.5032 MB / 0.9925 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004251/0.1958, allocations: 1.006 MB / 0.9935 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.008248/0.2041, allocations: 6.531 MB / 0.9999 GB, free: 6.75 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)