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.001902/0.001902, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 193.2 kB / 16.64 MB, free: 6.594 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.601/1.601, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.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.876/1.876, allocations: 292.3 MB / 0.549 GB, free: 12.8 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.001465/0.001465, allocations: 71.55 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2314, allocations: 114.6 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002663/0.2341, allocations: 1.377 MB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.2371, allocations: 1.826 MB / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.2371, allocations: 0 / 0.7873 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2373, allocations: 7.922 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2375, allocations: 27.84 kB / 0.7873 GB, free: 9.465 MB / 0.6075 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.002645/0.2401, allocations: 1.144 MB / 0.7885 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2402, allocations: 47.72 kB / 0.7885 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.2403, allocations: 4 kB / 0.7885 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.2404, allocations: 27.84 kB / 0.7885 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.2404, allocations: 23.91 kB / 0.7886 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.2405, allocations: 4 kB / 0.7886 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.2416, allocations: 0.8852 MB / 0.7894 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.144e-05/0.2417, allocations: 31.91 kB / 0.7895 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.2418, allocations: 19.81 kB / 0.7895 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009528/0.2427, allocations: 0.8055 MB / 0.7903 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2427, allocations: 0 / 0.7903 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2427, allocations: 0 / 0.7903 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.2428, allocations: 3.938 kB / 0.7903 GB, free: 6.48 MB / 0.6075 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.000554/0.2433, allocations: 474.9 kB / 0.7907 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2434, allocations: 11.98 kB / 0.7907 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.2434, allocations: 12.84 kB / 0.7908 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.2436, allocations: 196.6 kB / 0.7909 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2436, allocations: 384 / 0.7909 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-06/0.2436, allocations: 3.938 kB / 0.7909 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.2438, allocations: 49.69 kB / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2438, allocations: 0 / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2438, allocations: 0 / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2438, allocations: 0 / 0.791 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.2438, allocations: 27.98 kB / 0.791 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.2441, allocations: 201.6 kB / 0.7912 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.2441, allocations: 50.44 kB / 0.7913 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.2442, allocations: 36.88 kB / 0.7913 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.2442, allocations: 0 / 0.7913 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2443, allocations: 30.56 kB / 0.7913 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.2443, allocations: 0 / 0.7913 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0002286/0.2445, allocations: 121.5 kB / 0.7914 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2445, allocations: 55.44 kB / 0.7915 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.2447, allocations: 157.2 kB / 0.7916 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.2447, allocations: 25.7 kB / 0.7917 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.2448, allocations: 100.1 kB / 0.7918 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.2448, allocations: 23.55 kB / 0.7918 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.2449, allocations: 17.72 kB / 0.7918 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.245, allocations: 326.8 kB / 0.7921 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.245, allocations: 23.98 kB / 0.7921 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.2451, allocations: 31.98 kB / 0.7922 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.2451, allocations: 60.84 kB / 0.7922 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2452, allocations: 0 / 0.7922 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.2453, allocations: 93.72 kB / 0.7923 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2453, allocations: 4 kB / 0.7923 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.2453, allocations: 0 / 0.7923 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2453, allocations: 3.938 kB / 0.7923 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.2453, allocations: 4 kB / 0.7923 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2453, allocations: 4 kB / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.2454, allocations: 0 / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.2454, allocations: 8.047 kB / 0.7923 GB, free: 4.141 MB / 0.6075 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 9.058e-05/0.2455, allocations: 125.8 kB / 0.7925 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.2455, allocations: 11.81 kB / 0.7925 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.2457, allocations: 102.4 kB / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2457, allocations: 0 / 0.7926 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2457, allocations: 3.938 kB / 0.7926 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2457, allocations: 4 kB / 0.7926 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.2458, allocations: 193.5 kB / 0.7928 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2458, allocations: 4 kB / 0.7928 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.2459, allocations: 4.031 kB / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2459, allocations: 0 / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.2459, allocations: 0 / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2459, allocations: 0 / 0.7928 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2459, allocations: 4.25 kB / 0.7928 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.246, allocations: 124.9 kB / 0.7929 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.2461, allocations: 84.92 kB / 0.793 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.2461, allocations: 3.938 kB / 0.793 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.2461, allocations: 8.031 kB / 0.793 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.2461, allocations: 3.984 kB / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.2461, allocations: 0 / 0.793 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.2462, allocations: 122.4 kB / 0.7931 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2462, allocations: 0 / 0.7931 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005535/0.2468, allocations: 203.9 kB / 0.7933 GB, free: 3.055 MB / 0.6075 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.0007106/0.2475, allocations: 331 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.2477, allocations: 97.61 kB / 0.7937 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2477, allocations: 4.062 kB / 0.7937 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-05/0.2478, allocations: 69.69 kB / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.248, allocations: 8 kB / 0.7938 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.2484, allocations: 231.5 kB / 0.794 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2487, allocations: 0.704 MB / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.873e-05/0.2487, allocations: 4 kB / 0.7947 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.15e-05/0.2487, allocations: 11.5 kB / 0.7947 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2487, allocations: 0 / 0.7947 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.00767/0.2564, allocations: 4.302 MB / 0.7989 GB, free: 13.29 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)