Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_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_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001375, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001386, allocations: 187.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 71.03 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.265, allocations: 114.6 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002807/0.2678, allocations: 1.439 MB / 0.7855 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.468/0.7359, allocations: 2.978 MB / 0.7884 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.261e-05/0.736, allocations: 0 / 0.7884 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.7361, allocations: 3 kB / 0.7884 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.7362, allocations: 18.73 kB / 0.7884 GB, free: 45.88 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.004425/0.7407, allocations: 1.655 MB / 0.79 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.7408, allocations: 37.44 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.193e-05/0.7408, allocations: 4.859 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.7409, allocations: 16.86 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.7409, allocations: 18.8 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.7409, allocations: 1.031 kB / 0.7901 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002064/0.743, allocations: 1.482 MB / 0.7916 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.743, allocations: 8.344 kB / 0.7916 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.7431, allocations: 20.03 kB / 0.7916 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.7444, allocations: 1.124 MB / 0.7927 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7445, allocations: 0 / 0.7927 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.945e-06/0.7445, allocations: 3.469 kB / 0.7927 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7445, allocations: 3.688 kB / 0.7927 GB, free: 45.72 MB / 0.6544 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.000579/0.7451, allocations: 0.5163 MB / 0.7932 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.7451, allocations: 10.28 kB / 0.7932 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.7452, allocations: 76.22 kB / 0.7933 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.7453, allocations: 259.1 kB / 0.7935 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.7453, allocations: 155 kB / 0.7937 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.7454, allocations: 152.3 kB / 0.7938 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.506e-05/0.7454, allocations: 105.3 kB / 0.7939 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.7455, allocations: 76.16 kB / 0.794 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.7455, allocations: 160.8 kB / 0.7941 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.7455, allocations: 152.6 kB / 0.7943 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.714e-05/0.7456, allocations: 150.6 kB / 0.7944 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.7458, allocations: 463.4 kB / 0.7949 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.7459, allocations: 171.3 kB / 0.795 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.209e-05/0.7459, allocations: 82.11 kB / 0.7951 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.7459, allocations: 76.16 kB / 0.7952 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.7459, allocations: 114.8 kB / 0.7953 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.746, allocations: 0.6562 kB / 0.7953 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.207e-05/0.746, allocations: 39.12 kB / 0.7953 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.7461, allocations: 128 kB / 0.7955 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.7462, allocations: 131.7 kB / 0.7956 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.7462, allocations: 26.27 kB / 0.7956 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.7463, allocations: 94.17 kB / 0.7957 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/0.7463, allocations: 3.938 kB / 0.7957 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.7463, allocations: 22.78 kB / 0.7957 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.7464, allocations: 316.8 kB / 0.796 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.44e-05/0.7464, allocations: 4.906 kB / 0.796 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.7464, allocations: 5.844 kB / 0.796 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.814e-05/0.7465, allocations: 17.83 kB / 0.796 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.7465, allocations: 3.719 kB / 0.796 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001274/0.7466, allocations: 56.73 kB / 0.7961 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7467, allocations: 3.25 kB / 0.7961 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.7467, allocations: 3.25 kB / 0.7961 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.7467, allocations: 0 / 0.7961 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.023e-06/0.7467, allocations: 3.219 kB / 0.7961 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7467, allocations: 2.625 kB / 0.7961 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.7468, allocations: 3.938 kB / 0.7961 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.7468, allocations: 0 / 0.7961 GB, free: 42.28 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.7468, allocations: 190 kB / 0.7963 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.7469, allocations: 119.1 kB / 0.7964 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.7469, allocations: 109.6 kB / 0.7965 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/0.747, allocations: 183.9 kB / 0.7967 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.193e-05/0.747, allocations: 182.6 kB / 0.7969 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.224e-05/0.747, allocations: 179.6 kB / 0.797 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.7472, allocations: 418.6 kB / 0.7974 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.7472, allocations: 101.5 kB / 0.7975 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.7472, allocations: 116 kB / 0.7976 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.7e-05/0.7473, allocations: 177.6 kB / 0.7978 GB, free: 40.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.7473, allocations: 179.8 kB / 0.798 GB, free: 40.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.114e-05/0.7474, allocations: 190.5 kB / 0.7982 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.667e-05/0.7474, allocations: 176.3 kB / 0.7983 GB, free: 39.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.666e-05/0.7475, allocations: 310.2 kB / 0.7986 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.7475, allocations: 192.5 kB / 0.7988 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.7476, allocations: 176.3 kB / 0.799 GB, free: 39.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.7476, allocations: 104.2 kB / 0.7991 GB, free: 39.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.7477, allocations: 181.6 kB / 0.7993 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.7477, allocations: 109 kB / 0.7994 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.299e-05/0.7477, allocations: 101.3 kB / 0.7995 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.132e-06/0.7478, allocations: 2.625 kB / 0.7995 GB, free: 38.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007613/0.7485, allocations: 281.1 kB / 0.7997 GB, free: 38.73 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.7496, allocations: 0.5617 MB / 0.8003 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.7497, allocations: 43.25 kB / 0.8003 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7497, allocations: 0 / 0.8003 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.7497, allocations: 0 / 0.8003 GB, free: 38.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.7501, allocations: 471.9 kB / 0.8008 GB, free: 38.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.7504, allocations: 270.3 kB / 0.801 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.7505, allocations: 0.6866 MB / 0.8017 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.7506, allocations: 10.88 kB / 0.8017 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.7506, allocations: 0 / 0.8017 GB, free: 37.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.01087/0.7614, allocations: 4.834 MB / 0.8064 GB, free: 36.67 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)