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.001402/0.001402, allocations: 108 kB / 15.61 MB, free: 152 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.001677/0.001677, allocations: 197 kB / 16.53 MB, free: 6.664 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.682/1.682, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.712/1.712, allocations: 292.3 MB / 0.5488 GB, free: 12.84 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.001477/0.001478, allocations: 65.45 kB / 0.6716 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2706, allocations: 114.5 MB / 0.7834 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002917/0.2736, allocations: 1.443 MB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.2784, allocations: 2.97 MB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.2785, allocations: 0 / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.603e-05/0.2786, allocations: 3.938 kB / 0.7877 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.2787, allocations: 23.78 kB / 0.7878 GB, free: 8.934 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'. [/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.004556/0.2832, allocations: 1.641 MB / 0.7894 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2833, allocations: 47.67 kB / 0.7894 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.2834, allocations: 4 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.2834, allocations: 15.94 kB / 0.7894 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.315e-05/0.2835, allocations: 19.92 kB / 0.7894 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2835, allocations: 4 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.2858, allocations: 1.474 MB / 0.7909 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.2858, allocations: 15.91 kB / 0.7909 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.2859, allocations: 19.88 kB / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.2875, allocations: 1.119 MB / 0.792 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2875, allocations: 0 / 0.792 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2875, allocations: 0 / 0.792 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2875, allocations: 0 / 0.792 GB, free: 4.586 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007347/0.2882, allocations: 0.5262 MB / 0.7925 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.2883, allocations: 8.031 kB / 0.7925 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.2884, allocations: 80.22 kB / 0.7926 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2886, allocations: 246.2 kB / 0.7928 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.2887, allocations: 150.9 kB / 0.793 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.2888, allocations: 150.9 kB / 0.7931 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.938e-05/0.2889, allocations: 121.1 kB / 0.7933 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.2889, allocations: 79.22 kB / 0.7933 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.289, allocations: 150.6 kB / 0.7935 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.62e-05/0.2891, allocations: 154.6 kB / 0.7936 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.142e-05/0.2892, allocations: 150.6 kB / 0.7938 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.2896, allocations: 473.8 kB / 0.7942 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.2896, allocations: 165.1 kB / 0.7944 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.2897, allocations: 84.08 kB / 0.7945 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.2898, allocations: 75.28 kB / 0.7945 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/0.2898, allocations: 117.8 kB / 0.7946 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.2899, allocations: 4 kB / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.128e-05/0.2899, allocations: 25.7 kB / 0.7947 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.29, allocations: 130.6 kB / 0.7948 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.2902, allocations: 137.7 kB / 0.7949 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2902, allocations: 25.7 kB / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.2902, allocations: 88.14 kB / 0.795 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.2902, allocations: 4 kB / 0.795 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2903, allocations: 21.72 kB / 0.7951 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2904, allocations: 314.8 kB / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.2905, allocations: 11.94 kB / 0.7954 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.2905, allocations: 4 kB / 0.7954 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.2905, allocations: 20.86 kB / 0.7954 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2905, allocations: 4 kB / 0.7954 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.2907, allocations: 53.53 kB / 0.7954 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2907, allocations: 8 kB / 0.7955 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2907, allocations: 3.984 kB / 0.7955 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2907, allocations: 4.062 kB / 0.7955 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.2908, allocations: 4 kB / 0.7955 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2908, allocations: 0 / 0.7955 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.2908, allocations: 0 / 0.7955 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2908, allocations: 0 / 0.7955 GB, free: 0.8203 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 0.0001008/0.2909, allocations: 189.1 kB / 0.7956 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.291, allocations: 112.8 kB / 0.7957 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.291, allocations: 124.6 kB / 0.7959 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/0.2911, allocations: 180.2 kB / 0.796 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-05/0.2912, allocations: 176.3 kB / 0.7962 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.481e-05/0.2913, allocations: 188.2 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.2915, allocations: 409.2 kB / 0.7968 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-05/0.2915, allocations: 113 kB / 0.7969 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.2916, allocations: 108.9 kB / 0.797 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.015e-05/0.2916, allocations: 176.3 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.2917, allocations: 184.2 kB / 0.7973 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-05/0.2918, allocations: 180.3 kB / 0.7975 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-05/0.2918, allocations: 180.3 kB / 0.7977 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.292, allocations: 307.8 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.2921, allocations: 193.9 kB / 0.7982 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.2921, allocations: 180.3 kB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.2922, allocations: 101 kB / 0.7984 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.2923, allocations: 184.1 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.2924, allocations: 113 kB / 0.7987 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.2924, allocations: 98.23 kB / 0.7988 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2924, allocations: 0 / 0.7988 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007519/0.2932, allocations: 283.8 kB / 0.7991 GB, free: 12.89 MB / 0.6231 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.001116/0.2943, allocations: 0.5552 MB / 0.7996 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2944, allocations: 45.64 kB / 0.7997 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2945, allocations: 0 / 0.7997 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.2945, allocations: 3.938 kB / 0.7997 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.2949, allocations: 471.7 kB / 0.8001 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.2953, allocations: 239.9 kB / 0.8003 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.2956, allocations: 0.6885 MB / 0.801 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.2956, allocations: 4 kB / 0.801 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.396e-05/0.2956, allocations: 7.438 kB / 0.801 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of SimCode: time 1.9e-07/0.2956, allocations: 0 / 0.801 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of Templates: time 0.01064/0.3063, allocations: 5.764 MB / 0.8067 GB, free: 5.117 MB / 0.6231 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)