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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 110.3 kB / 16.36 MB, free: 5.996 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.001093/0.001093, allocations: 194.5 kB / 17.3 MB, free: 5.598 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.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.002609/0.002609, allocations: 67.91 kB / 0.673 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2361, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003113/0.2392, allocations: 1.381 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3398/0.5791, allocations: 1.814 MB / 0.788 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.081e-05/0.5792, allocations: 0 / 0.788 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.5793, allocations: 14.31 kB / 0.788 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.5796, allocations: 26.36 kB / 0.788 GB, free: 46.61 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.002713/0.5823, allocations: 1.135 MB / 0.7891 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.5824, allocations: 49.16 kB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.5824, allocations: 2.625 kB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.422e-05/0.5825, allocations: 22.3 kB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.81e-05/0.5826, allocations: 25.38 kB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.5826, allocations: 3.938 kB / 0.7892 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.5836, allocations: 0.894 MB / 0.7901 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.5837, allocations: 23.67 kB / 0.7901 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.5838, allocations: 24.88 kB / 0.7901 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.5845, allocations: 0.7954 MB / 0.7909 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5845, allocations: 2.375 kB / 0.7909 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5845, allocations: 0 / 0.7909 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5845, allocations: 0 / 0.7909 GB, free: 46.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004476/0.585, allocations: 483.4 kB / 0.7914 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.585, allocations: 17.38 kB / 0.7914 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.5851, allocations: 10.16 kB / 0.7914 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.5852, allocations: 184.5 kB / 0.7916 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.5852, allocations: 0.5625 kB / 0.7916 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.385e-06/0.5852, allocations: 7.531 kB / 0.7916 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.832e-05/0.5853, allocations: 56.19 kB / 0.7916 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.5853, allocations: 3.656 kB / 0.7916 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.5854, allocations: 0 / 0.7916 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5854, allocations: 0 / 0.7916 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.161e-05/0.5854, allocations: 25.92 kB / 0.7917 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.5855, allocations: 189 kB / 0.7918 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/0.5856, allocations: 44.97 kB / 0.7919 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.5856, allocations: 39.33 kB / 0.7919 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.5857, allocations: 1.281 kB / 0.7919 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.5857, allocations: 33.19 kB / 0.792 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.5857, allocations: 0.625 kB / 0.792 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0001699/0.5859, allocations: 113.4 kB / 0.7921 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.5859, allocations: 54.94 kB / 0.7921 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.586, allocations: 160.4 kB / 0.7923 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.586, allocations: 25.7 kB / 0.7923 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.875e-05/0.586, allocations: 99.16 kB / 0.7924 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.5861, allocations: 29.03 kB / 0.7924 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.5861, allocations: 16.09 kB / 0.7924 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.5862, allocations: 325.4 kB / 0.7927 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.5862, allocations: 30.48 kB / 0.7928 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.5862, allocations: 25.16 kB / 0.7928 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.866e-05/0.5863, allocations: 67.47 kB / 0.7929 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5863, allocations: 7.25 kB / 0.7929 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.735e-05/0.5864, allocations: 89.67 kB / 0.7929 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5864, allocations: 6.938 kB / 0.793 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5864, allocations: 0 / 0.793 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5864, allocations: 2.625 kB / 0.793 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.5864, allocations: 0 / 0.793 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5865, allocations: 0.75 kB / 0.793 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.5865, allocations: 7.406 kB / 0.793 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5865, allocations: 0 / 0.793 GB, free: 44.85 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 5.499e-05/0.5866, allocations: 128.5 kB / 0.7931 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.5866, allocations: 11.28 kB / 0.7931 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.5867, allocations: 115.5 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.5867, allocations: 0 / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5867, allocations: 0 / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5867, allocations: 3.531 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.032e-05/0.5868, allocations: 190.2 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5868, allocations: 0.625 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.5868, allocations: 0 / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5868, allocations: 6.844 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.5869, allocations: 3.422 kB / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5869, allocations: 0 / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5869, allocations: 0 / 0.7934 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.11e-05/0.587, allocations: 126.1 kB / 0.7935 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.587, allocations: 87.44 kB / 0.7936 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.587, allocations: 3.406 kB / 0.7936 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.359e-05/0.587, allocations: 0 / 0.7936 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.5871, allocations: 0.625 kB / 0.7936 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.5871, allocations: 7.656 kB / 0.7936 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.5871, allocations: 116.6 kB / 0.7937 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5871, allocations: 0 / 0.7937 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004422/0.5876, allocations: 206.6 kB / 0.7939 GB, free: 44.21 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.0005884/0.5882, allocations: 344 kB / 0.7943 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.5883, allocations: 96.58 kB / 0.7943 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5883, allocations: 0 / 0.7943 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.5884, allocations: 70.62 kB / 0.7944 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.5886, allocations: 16.27 kB / 0.7944 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.5889, allocations: 224 kB / 0.7946 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.589, allocations: 0.7016 MB / 0.7953 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.589, allocations: 6.938 kB / 0.7953 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.589, allocations: 7.438 kB / 0.7953 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.589, allocations: 0 / 0.7953 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.007557/0.5966, allocations: 4.306 MB / 0.7995 GB, free: 42.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)