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.001543/0.001543, allocations: 107.8 kB / 16.36 MB, free: 5.961 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.001713/0.001713, allocations: 193.8 kB / 17.3 MB, free: 5.574 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001502/0.001503, allocations: 63.91 kB / 0.673 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2228, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002977/0.2259, allocations: 1.446 MB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3343/0.5602, allocations: 2.971 MB / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.5603, allocations: 0 / 0.7891 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.5603, allocations: 8.922 kB / 0.7892 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.5604, allocations: 13.89 kB / 0.7892 GB, free: 46.5 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.003417/0.5638, allocations: 1.648 MB / 0.7908 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.918e-05/0.5639, allocations: 46.42 kB / 0.7908 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.5639, allocations: 2.625 kB / 0.7908 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.564, allocations: 19.62 kB / 0.7908 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.517e-05/0.564, allocations: 16.47 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.564, allocations: 2.625 kB / 0.7909 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.5659, allocations: 1.549 MB / 0.7924 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.5659, allocations: 8.688 kB / 0.7924 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.5659, allocations: 22.12 kB / 0.7924 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.5671, allocations: 1.118 MB / 0.7935 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5671, allocations: 0 / 0.7935 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5671, allocations: 0.6562 kB / 0.7935 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.5672, allocations: 0 / 0.7935 GB, free: 46.34 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.0004648/0.5676, allocations: 0.5215 MB / 0.794 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.5677, allocations: 10.22 kB / 0.794 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.5677, allocations: 81.31 kB / 0.7941 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.5678, allocations: 253 kB / 0.7943 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.5678, allocations: 155.3 kB / 0.7945 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.5679, allocations: 155.7 kB / 0.7946 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.9e-05/0.5679, allocations: 108.5 kB / 0.7947 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5679, allocations: 79.81 kB / 0.7948 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.568, allocations: 150.6 kB / 0.795 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.568, allocations: 151.3 kB / 0.7951 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.326e-05/0.568, allocations: 151.9 kB / 0.7952 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.5682, allocations: 466.2 kB / 0.7957 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.397e-05/0.5682, allocations: 168.3 kB / 0.7958 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.5683, allocations: 91.45 kB / 0.7959 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.5683, allocations: 75.28 kB / 0.796 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5683, allocations: 109.8 kB / 0.7961 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5683, allocations: 7.438 kB / 0.7961 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.407e-05/0.5684, allocations: 29.61 kB / 0.7961 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.5684, allocations: 130.1 kB / 0.7963 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.5685, allocations: 136.8 kB / 0.7964 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.642e-06/0.5685, allocations: 25.7 kB / 0.7964 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.835e-05/0.5686, allocations: 91.95 kB / 0.7965 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.5686, allocations: 0 / 0.7965 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.5686, allocations: 18.89 kB / 0.7965 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.5687, allocations: 320.8 kB / 0.7968 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.5687, allocations: 9.188 kB / 0.7968 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.5687, allocations: 3.5 kB / 0.7969 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.329e-05/0.5688, allocations: 13.95 kB / 0.7969 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5688, allocations: 0 / 0.7969 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.5689, allocations: 66.19 kB / 0.7969 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5689, allocations: 3.406 kB / 0.7969 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5689, allocations: 3.531 kB / 0.7969 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.5689, allocations: 0 / 0.7969 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.5689, allocations: 0 / 0.7969 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.5689, allocations: 0 / 0.7969 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.569, allocations: 7.875 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.569, allocations: 0 / 0.7969 GB, free: 42.89 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.346e-05/0.569, allocations: 189.5 kB / 0.7971 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.5691, allocations: 113.2 kB / 0.7972 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.5691, allocations: 120.3 kB / 0.7973 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.5691, allocations: 176.3 kB / 0.7975 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/0.5692, allocations: 184.8 kB / 0.7977 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/0.5692, allocations: 182.8 kB / 0.7979 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.5693, allocations: 410 kB / 0.7983 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.5694, allocations: 104 kB / 0.7984 GB, free: 41.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.417e-05/0.5694, allocations: 115.3 kB / 0.7985 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.389e-05/0.5694, allocations: 182.9 kB / 0.7986 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.5694, allocations: 183.4 kB / 0.7988 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.222e-05/0.5695, allocations: 179.4 kB / 0.799 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-05/0.5695, allocations: 180.2 kB / 0.7992 GB, free: 40.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.086e-05/0.5696, allocations: 316 kB / 0.7995 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.5696, allocations: 184.2 kB / 0.7996 GB, free: 40.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.5696, allocations: 189.6 kB / 0.7998 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.711e-05/0.5697, allocations: 109.2 kB / 0.7999 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.5697, allocations: 182.6 kB / 0.8001 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5698, allocations: 108.4 kB / 0.8002 GB, free: 39.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.5698, allocations: 100.5 kB / 0.8003 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5698, allocations: 0 / 0.8003 GB, free: 39.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006352/0.5704, allocations: 284 kB / 0.8006 GB, free: 39.33 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.0009463/0.5714, allocations: 0.5523 MB / 0.8011 GB, free: 39.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.5715, allocations: 42.31 kB / 0.8011 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5715, allocations: 3.438 kB / 0.8011 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.5715, allocations: 0 / 0.8011 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5718, allocations: 467.4 kB / 0.8016 GB, free: 38.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.5721, allocations: 238.4 kB / 0.8018 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.5722, allocations: 0.6823 MB / 0.8025 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.219e-05/0.5722, allocations: 0.8906 kB / 0.8025 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-06/0.5722, allocations: 10.94 kB / 0.8025 GB, free: 37.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.5722, allocations: 4 kB / 0.8025 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.01066/0.5829, allocations: 5.727 MB / 0.8081 GB, free: 37.33 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)