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.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108.9 kB / 16.29 MB, free: 6.027 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.001378/0.001379, allocations: 184.6 kB / 17.22 MB, free: 5.633 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.534/1.534, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.962/1.962, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001524/0.001524, allocations: 67.03 kB / 0.6723 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003157/0.2408, allocations: 1.369 MB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003125/0.244, allocations: 1.837 MB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.2441, allocations: 0 / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.482e-05/0.2442, allocations: 15.86 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.2444, allocations: 31.83 kB / 0.7873 GB, free: 0.5625 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'. Notification: Performance of NFTyping.typeClassSections: time 0.4246/0.669, allocations: 1.124 MB / 0.7884 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.6691, allocations: 55.62 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.6692, allocations: 2.969 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.297e-05/0.6693, allocations: 23.89 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.6693, allocations: 29.08 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.6694, allocations: 8.375 kB / 0.7885 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.6704, allocations: 0.8837 MB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.6705, allocations: 72.23 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.6706, allocations: 71.62 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009405/0.6716, allocations: 0.8723 MB / 0.7904 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6716, allocations: 0 / 0.7904 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6716, allocations: 1.844 kB / 0.7904 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.6716, allocations: 0 / 0.7904 GB, free: 45.85 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005742/0.6722, allocations: 0.5837 MB / 0.7909 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.6722, allocations: 12.36 kB / 0.791 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.6723, allocations: 22.81 kB / 0.791 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.6724, allocations: 232.3 kB / 0.7912 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.6725, allocations: 3.125 kB / 0.7912 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.6725, allocations: 4.312 kB / 0.7912 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.6726, allocations: 106.7 kB / 0.7913 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.6726, allocations: 3.031 kB / 0.7913 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.6726, allocations: 0.7031 kB / 0.7913 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6727, allocations: 1.625 kB / 0.7913 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.6727, allocations: 73.19 kB / 0.7914 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.673, allocations: 277 kB / 0.7916 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.286e-05/0.6731, allocations: 124 kB / 0.7918 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.6732, allocations: 106.7 kB / 0.7919 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.6732, allocations: 2.875 kB / 0.7919 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.6732, allocations: 37.5 kB / 0.7919 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.442e-06/0.6732, allocations: 0.5 kB / 0.7919 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.000338/0.6735, allocations: 336.9 kB / 0.7922 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.6736, allocations: 56.56 kB / 0.7923 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.6738, allocations: 258.3 kB / 0.7925 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.6738, allocations: 25.7 kB / 0.7925 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.6739, allocations: 132.8 kB / 0.7927 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.6739, allocations: 104.2 kB / 0.7928 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.674, allocations: 27.86 kB / 0.7928 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.674, allocations: 345.4 kB / 0.7931 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.931e-05/0.6741, allocations: 70.7 kB / 0.7932 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.6742, allocations: 80.47 kB / 0.7933 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.6743, allocations: 203.9 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6743, allocations: 0.6875 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001836/0.6745, allocations: 223.1 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6745, allocations: 5.812 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6745, allocations: 7.422 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6746, allocations: 0 / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.6746, allocations: 1.344 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6746, allocations: 1.953 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.6746, allocations: 12.25 kB / 0.7937 GB, free: 44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.6746, allocations: 0.5 kB / 0.7937 GB, free: 44 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 0.0001019/0.6747, allocations: 156 kB / 0.7939 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.6748, allocations: 27.16 kB / 0.7939 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.675, allocations: 261.9 kB / 0.7941 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.675, allocations: 0 / 0.7941 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.675, allocations: 3.938 kB / 0.7941 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6751, allocations: 4.094 kB / 0.7941 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.6752, allocations: 284.3 kB / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6752, allocations: 0 / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.6752, allocations: 5.625 kB / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6752, allocations: 0 / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.6752, allocations: 3.5 kB / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6752, allocations: 0 / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6753, allocations: 0 / 0.7944 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.6754, allocations: 253.7 kB / 0.7947 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.6755, allocations: 105.8 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.6755, allocations: 3.094 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.6756, allocations: 2.719 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.6756, allocations: 4.125 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.6756, allocations: 0.875 kB / 0.7948 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001221/0.6757, allocations: 190.5 kB / 0.795 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6757, allocations: 0 / 0.795 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005011/0.6762, allocations: 211.8 kB / 0.7952 GB, free: 43.3 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 (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 Backend phase and start with SimCode phase: time 0.0006728/0.6769, allocations: 340.9 kB / 0.7955 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.6772, allocations: 266.2 kB / 0.7957 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6772, allocations: 0.75 kB / 0.7957 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.6773, allocations: 181.1 kB / 0.7959 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.6776, allocations: 23.23 kB / 0.7959 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.6781, allocations: 496.8 kB / 0.7964 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000174/0.6783, allocations: 0.7633 MB / 0.7972 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.6784, allocations: 7.719 kB / 0.7972 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.514e-05/0.6784, allocations: 10.12 kB / 0.7972 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6784, allocations: 5.875 kB / 0.7972 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.01019/0.6886, allocations: 4.579 MB / 0.8016 GB, free: 41.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)