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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.804/1.804, allocations: 288.4 MB / 303.4 MB, free: 8.047 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.001277/0.001277, allocations: 183.5 kB / 372 MB, free: 10.28 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.741/1.741, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0009758/0.0009757, allocations: 90.36 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004206, allocations: 12.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2198, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001348/0.2212, allocations: 1.142 MB / 0.9808 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003455/0.2247, allocations: 2.747 MB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.2248, allocations: 4 kB / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.2248, allocations: 0 / 0.9834 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.2249, allocations: 15.84 kB / 0.9835 GB, free: 23.68 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/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.003257/0.2281, allocations: 1.324 MB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.464e-05/0.2282, allocations: 43.72 kB / 0.9848 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.2283, allocations: 4.281 kB / 0.9848 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.2283, allocations: 11.94 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.117e-05/0.2283, allocations: 19.86 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2284, allocations: 0 / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.2305, allocations: 1.264 MB / 0.9861 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2306, allocations: 3.984 kB / 0.9861 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.2306, allocations: 33.7 kB / 0.9861 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2322, allocations: 0.733 MB / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.2322, allocations: 0 / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2322, allocations: 4 kB / 0.9868 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2322, allocations: 0 / 0.9868 GB, free: 20.25 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.0008527/0.2331, allocations: 0.5067 MB / 0.9873 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.2331, allocations: 8.031 kB / 0.9873 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.2332, allocations: 87.14 kB / 0.9874 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2334, allocations: 246.3 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.2334, allocations: 154.6 kB / 0.9878 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.2335, allocations: 150.6 kB / 0.9879 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.935e-05/0.2335, allocations: 101 kB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.2336, allocations: 79.22 kB / 0.9881 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.2336, allocations: 150.6 kB / 0.9882 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.2337, allocations: 150.6 kB / 0.9884 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.2337, allocations: 158.6 kB / 0.9885 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.234, allocations: 469.8 kB / 0.989 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.276e-05/0.2341, allocations: 169.1 kB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.2341, allocations: 84.08 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.2341, allocations: 79.28 kB / 0.9893 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.2341, allocations: 109.8 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2341, allocations: 0 / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.91e-05/0.2342, allocations: 33.69 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2343, allocations: 126.7 kB / 0.9896 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2344, allocations: 139.1 kB / 0.9897 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.2344, allocations: 33.58 kB / 0.9897 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.2345, allocations: 100.1 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.2345, allocations: 0 / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.2345, allocations: 0 / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.2345, allocations: 318.8 kB / 0.9901 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.2346, allocations: 7.938 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.503e-05/0.2346, allocations: 4 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.2346, allocations: 8 kB / 0.9901 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2346, allocations: 4 kB / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001203/0.2347, allocations: 53.62 kB / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2348, allocations: 5.406 kB / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/0.2348, allocations: 4 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2348, allocations: 0 / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.2348, allocations: 4 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.2348, allocations: 0 / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.2349, allocations: 4.062 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.2349, allocations: 0 / 0.9902 GB, free: 16.54 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 6.669e-05/0.2349, allocations: 189.1 kB / 0.9904 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.235, allocations: 116.8 kB / 0.9905 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.235, allocations: 112.9 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.013e-05/0.2351, allocations: 180.2 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/0.2351, allocations: 180.3 kB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.2352, allocations: 184.2 kB / 0.9911 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2353, allocations: 421.1 kB / 0.9915 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.2353, allocations: 105 kB / 0.9916 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.2354, allocations: 104.9 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.86e-05/0.2354, allocations: 176.3 kB / 0.9919 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.2354, allocations: 180.2 kB / 0.9921 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.68e-05/0.2355, allocations: 184.2 kB / 0.9923 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-05/0.2355, allocations: 180.3 kB / 0.9924 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.823e-05/0.2356, allocations: 312 kB / 0.9927 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2356, allocations: 186 kB / 0.9929 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.2357, allocations: 184.2 kB / 0.9931 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.2357, allocations: 105 kB / 0.9932 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.2358, allocations: 184.2 kB / 0.9934 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2358, allocations: 109 kB / 0.9935 GB, free: 13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.2359, allocations: 100.6 kB / 0.9936 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2359, allocations: 0 / 0.9936 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007501/0.2366, allocations: 279.8 kB / 0.9938 GB, free: 12.62 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.001125/0.2377, allocations: 0.5144 MB / 0.9943 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.093e-05/0.2379, allocations: 49.62 kB / 0.9944 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2379, allocations: 4 kB / 0.9944 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.2379, allocations: 0 / 0.9944 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2382, allocations: 0.534 MB / 0.9949 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.2385, allocations: 263.8 kB / 0.9951 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2386, allocations: 0.6809 MB / 0.9958 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.2386, allocations: 4 kB / 0.9958 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.2386, allocations: 11.44 kB / 0.9958 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of SimCode: time 3.21e-07/0.2386, allocations: 0 / 0.9958 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.008831/0.2475, allocations: 5.71 MB / 1.001 GB, free: 4.84 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)