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.001287/0.001294, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001331/0.001332, allocations: 199.5 kB / 16.26 MB, free: 6.621 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.538/1.538, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.711/1.711, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001396/0.001396, allocations: 69.86 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2745, allocations: 114.6 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.004138/0.2787, allocations: 1.496 MB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006916/0.2856, allocations: 2.975 MB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2858, allocations: 0 / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.681e-05/0.2859, allocations: 3.938 kB / 0.7873 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.2861, allocations: 19.84 kB / 0.7873 GB, free: 9.355 MB / 0.6075 GB [/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.006855/0.293, allocations: 1.528 MB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2931, allocations: 43.67 kB / 0.7888 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.2932, allocations: 4 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.2933, allocations: 11.94 kB / 0.7889 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.2933, allocations: 27.91 kB / 0.7889 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.2933, allocations: 0 / 0.7889 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.2965, allocations: 1.478 MB / 0.7903 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.2966, allocations: 7.938 kB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.2967, allocations: 23.86 kB / 0.7904 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.2995, allocations: 1.096 MB / 0.7914 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2995, allocations: 4 kB / 0.7914 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2995, allocations: 0 / 0.7914 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.2995, allocations: 0 / 0.7914 GB, free: 5.148 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.0009259/0.3004, allocations: 0.5262 MB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3005, allocations: 12.03 kB / 0.792 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.3006, allocations: 76.22 kB / 0.792 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.3008, allocations: 251.6 kB / 0.7923 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.3008, allocations: 150.9 kB / 0.7924 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.3009, allocations: 150.9 kB / 0.7926 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.263e-05/0.301, allocations: 113 kB / 0.7927 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/0.301, allocations: 79.27 kB / 0.7927 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.163e-05/0.3011, allocations: 150.6 kB / 0.7929 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/0.3012, allocations: 158.5 kB / 0.793 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.3012, allocations: 154.6 kB / 0.7932 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.3016, allocations: 473.8 kB / 0.7936 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.3017, allocations: 173.1 kB / 0.7938 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.3018, allocations: 80.14 kB / 0.7939 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.3018, allocations: 75.28 kB / 0.7939 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.699e-05/0.3019, allocations: 113.8 kB / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3019, allocations: 0 / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.993e-05/0.302, allocations: 29.7 kB / 0.7941 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.3021, allocations: 138.6 kB / 0.7942 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3023, allocations: 136.1 kB / 0.7943 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3023, allocations: 25.7 kB / 0.7944 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.3024, allocations: 92.12 kB / 0.7945 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-06/0.3024, allocations: 0 / 0.7945 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.3024, allocations: 21.72 kB / 0.7945 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3026, allocations: 318.8 kB / 0.7948 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.3026, allocations: 4 kB / 0.7948 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.3026, allocations: 8 kB / 0.7948 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.3027, allocations: 16.92 kB / 0.7948 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3027, allocations: 0 / 0.7948 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001576/0.3028, allocations: 57.53 kB / 0.7949 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3029, allocations: 7.938 kB / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.3029, allocations: 4 kB / 0.7949 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3029, allocations: 4.062 kB / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3029, allocations: 0 / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.3029, allocations: 0 / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.303, allocations: 4 kB / 0.7949 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.303, allocations: 0 / 0.7949 GB, free: 1.375 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.0001184/0.3031, allocations: 181.1 kB / 0.7951 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.791e-05/0.3032, allocations: 116.8 kB / 0.7952 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/0.3033, allocations: 120.6 kB / 0.7953 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.145e-05/0.3034, allocations: 180.3 kB / 0.7954 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-05/0.3034, allocations: 176.3 kB / 0.7956 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-05/0.3035, allocations: 180.2 kB / 0.7958 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.3038, allocations: 417.2 kB / 0.7962 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/0.3038, allocations: 108.9 kB / 0.7963 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.3039, allocations: 109 kB / 0.7964 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.441e-05/0.304, allocations: 176.3 kB / 0.7966 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.304, allocations: 184.2 kB / 0.7967 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.199e-05/0.3041, allocations: 176.3 kB / 0.7969 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.858e-05/0.3042, allocations: 188.2 kB / 0.7971 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3044, allocations: 307.8 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.3045, allocations: 197.8 kB / 0.7976 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.919e-05/0.3046, allocations: 180.3 kB / 0.7977 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.3047, allocations: 108.9 kB / 0.7978 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.3047, allocations: 184.2 kB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.3048, allocations: 109 kB / 0.7981 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.3049, allocations: 105.7 kB / 0.7982 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.3049, allocations: 0 / 0.7982 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009512/0.3058, allocations: 287.8 kB / 0.7985 GB, free: 13.44 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.001588/0.3074, allocations: 0.546 MB / 0.799 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.3076, allocations: 37.7 kB / 0.7991 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3076, allocations: 0 / 0.7991 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-06/0.3076, allocations: 7.938 kB / 0.7991 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.308, allocations: 473.8 kB / 0.7995 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.3084, allocations: 247.9 kB / 0.7998 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3087, allocations: 0.6846 MB / 0.8004 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.3087, allocations: 8 kB / 0.8004 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.3087, allocations: 7.438 kB / 0.8004 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.3087, allocations: 0 / 0.8004 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of Templates: time 0.01023/0.3189, allocations: 5.751 MB / 0.8061 GB, free: 5.676 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)