Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.866/1.866, allocations: 288.4 MB / 303.7 MB, free: 8.098 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.001011/0.001011, allocations: 184.5 kB / 372.3 MB, free: 10.11 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.729/1.729, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0009461/0.0009463, allocations: 105.1 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004009, allocations: 16.69 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 115.3 MB / 0.9802 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001466/0.2178, allocations: 1.137 MB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003756/0.2216, allocations: 2.708 MB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.2216, allocations: 0 / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.2217, allocations: 3.984 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.2217, allocations: 15.86 kB / 0.984 GB, free: 23.39 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.225, allocations: 1.346 MB / 0.9853 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.2251, allocations: 39.73 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.2251, allocations: 4 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.2252, allocations: 7.938 kB / 0.9853 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.2252, allocations: 19.92 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2252, allocations: 4 kB / 0.9854 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.2267, allocations: 1.373 MB / 0.9867 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.2267, allocations: 0 / 0.9867 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.2268, allocations: 41.58 kB / 0.9867 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007396/0.2275, allocations: 0.784 MB / 0.9875 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2275, allocations: 4 kB / 0.9875 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2276, allocations: 0 / 0.9875 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.2276, allocations: 0 / 0.9875 GB, free: 19.78 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.0003938/0.228, allocations: 0.4991 MB / 0.988 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.228, allocations: 8.031 kB / 0.988 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2281, allocations: 84.12 kB / 0.9881 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.435e-05/0.2282, allocations: 257.3 kB / 0.9883 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.2282, allocations: 154.9 kB / 0.9885 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.2282, allocations: 150.9 kB / 0.9886 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.446e-05/0.2283, allocations: 113 kB / 0.9887 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2283, allocations: 79.28 kB / 0.9888 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.2283, allocations: 150.6 kB / 0.9889 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.2283, allocations: 154.6 kB / 0.9891 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.2284, allocations: 150.6 kB / 0.9892 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.2286, allocations: 469.8 kB / 0.9897 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.2286, allocations: 165.1 kB / 0.9898 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.2286, allocations: 84.14 kB / 0.9899 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.2286, allocations: 75.28 kB / 0.99 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2287, allocations: 117.8 kB / 0.9901 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.2287, allocations: 0 / 0.9901 GB, free: 16.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.407e-05/0.2288, allocations: 33.55 kB / 0.9901 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.2288, allocations: 134.7 kB / 0.9903 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2289, allocations: 126.6 kB / 0.9904 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.2289, allocations: 29.7 kB / 0.9904 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.229, allocations: 88.14 kB / 0.9905 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.229, allocations: 0 / 0.9905 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-06/0.229, allocations: 0 / 0.9905 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.229, allocations: 318.8 kB / 0.9908 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.172e-05/0.2291, allocations: 8 kB / 0.9908 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.2291, allocations: 3.938 kB / 0.9908 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.2291, allocations: 12.86 kB / 0.9908 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2291, allocations: 0 / 0.9908 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001069/0.2292, allocations: 61.5 kB / 0.9909 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2293, allocations: 4 kB / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2293, allocations: 4 kB / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2293, allocations: 0 / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.2293, allocations: 0 / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2293, allocations: 0 / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.2293, allocations: 0 / 0.9909 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2294, allocations: 4 kB / 0.9909 GB, free: 16.07 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 7.13e-05/0.2294, allocations: 189.2 kB / 0.9911 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.2295, allocations: 116.8 kB / 0.9912 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.2295, allocations: 108.8 kB / 0.9913 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-05/0.2296, allocations: 184.3 kB / 0.9915 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/0.2296, allocations: 180.2 kB / 0.9916 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.471e-05/0.2296, allocations: 184.2 kB / 0.9918 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.2298, allocations: 413.2 kB / 0.9922 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.2298, allocations: 108.9 kB / 0.9923 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.2298, allocations: 101 kB / 0.9924 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-05/0.2299, allocations: 184.2 kB / 0.9926 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.2299, allocations: 188.2 kB / 0.9928 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.359e-05/0.23, allocations: 188.1 kB / 0.9929 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.472e-05/0.23, allocations: 180.5 kB / 0.9931 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/0.2301, allocations: 315.7 kB / 0.9934 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2301, allocations: 186 kB / 0.9936 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.2302, allocations: 180.2 kB / 0.9938 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.197e-05/0.2302, allocations: 109 kB / 0.9939 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.2303, allocations: 176.3 kB / 0.994 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2303, allocations: 112.9 kB / 0.9941 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.2303, allocations: 100.7 kB / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2304, allocations: 0 / 0.9942 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006019/0.231, allocations: 279.8 kB / 0.9945 GB, free: 12.15 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000905/0.2319, allocations: 0.546 MB / 0.995 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.232, allocations: 37.69 kB / 0.9951 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.232, allocations: 0 / 0.9951 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.232, allocations: 0 / 0.9951 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.2323, allocations: 0.5387 MB / 0.9956 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.2325, allocations: 263.6 kB / 0.9959 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.2327, allocations: 0.6848 MB / 0.9965 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.247e-05/0.2327, allocations: 0 / 0.9965 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-06/0.2327, allocations: 7.438 kB / 0.9965 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.2327, allocations: 0 / 0.9965 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.007751/0.2405, allocations: 5.582 MB / 1.002 GB, free: 4.48 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)