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.001366/0.001372, allocations: 118.8 kB / 16.38 MB, free: 6.008 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.001297/0.001297, allocations: 188.7 kB / 17.3 MB, free: 5.617 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.455/1.455, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001594/0.001594, allocations: 71.91 kB / 0.673 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.278, allocations: 114.6 MB / 0.7849 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003959/0.282, allocations: 1.439 MB / 0.7863 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4972/0.7792, allocations: 2.981 MB / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.7794, allocations: 0 / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.7795, allocations: 2.719 kB / 0.7892 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.7796, allocations: 18.08 kB / 0.7892 GB, free: 46.43 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.004383/0.7839, allocations: 1.637 MB / 0.7908 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.7841, allocations: 47.2 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.7841, allocations: 6.578 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.7841, allocations: 19.97 kB / 0.7909 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.907e-05/0.7842, allocations: 15.06 kB / 0.7909 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.7842, allocations: 5.5 kB / 0.7909 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.7865, allocations: 1.552 MB / 0.7924 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.7865, allocations: 0 / 0.7924 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.7866, allocations: 23.73 kB / 0.7924 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.788, allocations: 1.117 MB / 0.7935 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.788, allocations: 0 / 0.7935 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.274e-06/0.788, allocations: 7.156 kB / 0.7935 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.788, allocations: 3.5 kB / 0.7935 GB, free: 46.27 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.0005755/0.7886, allocations: 0.5167 MB / 0.794 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.7887, allocations: 6.969 kB / 0.794 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.7887, allocations: 80.28 kB / 0.7941 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.7888, allocations: 256.1 kB / 0.7943 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.7889, allocations: 150.9 kB / 0.7945 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.7889, allocations: 163 kB / 0.7946 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.47e-05/0.789, allocations: 105.3 kB / 0.7947 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.789, allocations: 78.39 kB / 0.7948 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.789, allocations: 153 kB / 0.795 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.7891, allocations: 151.6 kB / 0.7951 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.51e-05/0.7891, allocations: 155.3 kB / 0.7953 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.7894, allocations: 463.7 kB / 0.7957 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.7894, allocations: 170.5 kB / 0.7959 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.7895, allocations: 80.14 kB / 0.7959 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.7895, allocations: 76.84 kB / 0.796 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.7895, allocations: 125 kB / 0.7961 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7895, allocations: 0 / 0.7961 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.807e-05/0.7896, allocations: 31.2 kB / 0.7962 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.7897, allocations: 130.1 kB / 0.7963 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.7898, allocations: 129.2 kB / 0.7964 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.7898, allocations: 25.7 kB / 0.7964 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.7898, allocations: 93.66 kB / 0.7965 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.7899, allocations: 3.219 kB / 0.7965 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.7899, allocations: 17.03 kB / 0.7965 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.79, allocations: 320.4 kB / 0.7968 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.79, allocations: 3.375 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.79, allocations: 6.938 kB / 0.7969 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.7901, allocations: 17.66 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7901, allocations: 3.5 kB / 0.7969 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001291/0.7902, allocations: 55.52 kB / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.7902, allocations: 4.625 kB / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.7903, allocations: 3.5 kB / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7903, allocations: 0 / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.7903, allocations: 0 / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.7903, allocations: 6.391 kB / 0.7969 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.7903, allocations: 7.406 kB / 0.797 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7903, allocations: 0 / 0.797 GB, free: 42.84 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.979e-05/0.7904, allocations: 189.8 kB / 0.7971 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/0.7905, allocations: 114.5 kB / 0.7972 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.7905, allocations: 119.4 kB / 0.7974 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.7905, allocations: 179.2 kB / 0.7975 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.614e-05/0.7906, allocations: 187.3 kB / 0.7977 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.998e-05/0.7906, allocations: 177.7 kB / 0.7979 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.7908, allocations: 422.5 kB / 0.7983 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/0.7908, allocations: 101 kB / 0.7984 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.7908, allocations: 106.7 kB / 0.7985 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-05/0.7909, allocations: 186.7 kB / 0.7987 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.7909, allocations: 176.3 kB / 0.7988 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.069e-05/0.791, allocations: 185 kB / 0.799 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.854e-05/0.791, allocations: 180.3 kB / 0.7992 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.087e-05/0.7911, allocations: 315.9 kB / 0.7995 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.7911, allocations: 182 kB / 0.7996 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.7912, allocations: 184.4 kB / 0.7998 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.53e-05/0.7912, allocations: 111.9 kB / 0.7999 GB, free: 39.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.7913, allocations: 180.3 kB / 0.8001 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.7913, allocations: 107.3 kB / 0.8002 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.7914, allocations: 101.4 kB / 0.8003 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7914, allocations: 3.469 kB / 0.8003 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007308/0.7921, allocations: 278.5 kB / 0.8006 GB, free: 39.27 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.001051/0.7931, allocations: 0.5589 MB / 0.8011 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.7933, allocations: 37.83 kB / 0.8012 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7933, allocations: 0 / 0.8012 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.7933, allocations: 3.5 kB / 0.8012 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.7936, allocations: 467.7 kB / 0.8016 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.7939, allocations: 261.4 kB / 0.8018 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.7941, allocations: 0.6914 MB / 0.8025 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.282e-05/0.7941, allocations: 7.438 kB / 0.8025 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7941, allocations: 3.438 kB / 0.8025 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.01115/0.8053, allocations: 4.826 MB / 0.8072 GB, free: 37.19 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)