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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001768, allocations: 105.4 kB / 15.7 MB, free: 28 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.001553/0.001553, allocations: 194.2 kB / 16.64 MB, free: 6.453 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.779/1.779, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001492/0.001493, allocations: 70.94 kB / 0.6723 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3062, allocations: 114.6 MB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003068/0.3093, allocations: 1.443 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.3142, allocations: 2.924 MB / 0.7885 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.3143, allocations: 0 / 0.7885 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.3143, allocations: 7.922 kB / 0.7885 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.3144, allocations: 19.86 kB / 0.7885 GB, free: 8.266 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004524/0.3189, allocations: 1.617 MB / 0.7901 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.3191, allocations: 43.67 kB / 0.7901 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.3191, allocations: 7.984 kB / 0.7901 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.3192, allocations: 11.94 kB / 0.7901 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.003e-05/0.3192, allocations: 11.94 kB / 0.7901 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3192, allocations: 4 kB / 0.7901 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.3216, allocations: 1.509 MB / 0.7916 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.3216, allocations: 7.938 kB / 0.7916 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.3217, allocations: 19.88 kB / 0.7916 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.3231, allocations: 1.088 MB / 0.7927 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.3231, allocations: 0 / 0.7927 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3232, allocations: 0 / 0.7927 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3232, allocations: 0 / 0.7927 GB, free: 3.957 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.0006441/0.3238, allocations: 0.5185 MB / 0.7932 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3239, allocations: 8.031 kB / 0.7932 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.3239, allocations: 80.2 kB / 0.7933 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3241, allocations: 258.2 kB / 0.7935 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/0.3242, allocations: 154.9 kB / 0.7937 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.281e-05/0.3243, allocations: 150.9 kB / 0.7938 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.046e-05/0.3244, allocations: 113 kB / 0.7939 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.3244, allocations: 75.28 kB / 0.794 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.849e-05/0.3245, allocations: 154.6 kB / 0.7942 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.3245, allocations: 150.6 kB / 0.7943 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.3246, allocations: 158.6 kB / 0.7944 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.3249, allocations: 461.8 kB / 0.7949 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.325, allocations: 177.1 kB / 0.7951 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.3251, allocations: 80.14 kB / 0.7951 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3251, allocations: 75.28 kB / 0.7952 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.304e-05/0.3252, allocations: 113.8 kB / 0.7953 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3252, allocations: 0 / 0.7953 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.326e-05/0.3253, allocations: 29.7 kB / 0.7953 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.05e-05/0.3254, allocations: 134.6 kB / 0.7955 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3255, allocations: 133.7 kB / 0.7956 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3256, allocations: 25.7 kB / 0.7956 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.3256, allocations: 88.14 kB / 0.7957 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-06/0.3256, allocations: 3.984 kB / 0.7957 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3257, allocations: 21.7 kB / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3258, allocations: 314.8 kB / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.3258, allocations: 7.938 kB / 0.796 GB, free: 316 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.3258, allocations: 8 kB / 0.796 GB, free: 308 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.3259, allocations: 16.84 kB / 0.7961 GB, free: 288 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3259, allocations: 0 / 0.7961 GB, free: 288 kB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.326, allocations: 45.64 kB / 0.7961 GB, free: 236 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.326, allocations: 4 kB / 0.7961 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.3261, allocations: 7.938 kB / 0.7961 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3261, allocations: 0 / 0.7961 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.3261, allocations: 3.984 kB / 0.7961 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.3261, allocations: 0 / 0.7961 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.3261, allocations: 7.844 kB / 0.7961 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3261, allocations: 8.062 kB / 0.7961 GB, free: 204 kB / 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.0001099/0.3263, allocations: 185.1 kB / 0.7963 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.3264, allocations: 108.9 kB / 0.7964 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.3264, allocations: 112.6 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.559e-05/0.3265, allocations: 188.2 kB / 0.7967 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-05/0.3265, allocations: 184.3 kB / 0.7969 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.235e-05/0.3266, allocations: 184.2 kB / 0.7971 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.3269, allocations: 409.2 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-05/0.3269, allocations: 108.9 kB / 0.7975 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.327, allocations: 109 kB / 0.7977 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.134e-05/0.327, allocations: 184.2 kB / 0.7978 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.3271, allocations: 188.2 kB / 0.798 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.235e-05/0.3272, allocations: 176.3 kB / 0.7982 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.384e-05/0.3272, allocations: 180.2 kB / 0.7983 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.3274, allocations: 307.7 kB / 0.7986 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.935e-05/0.3275, allocations: 193.9 kB / 0.7988 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.3275, allocations: 180.3 kB / 0.799 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3276, allocations: 108.9 kB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.757e-05/0.3277, allocations: 180.3 kB / 0.7993 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.3278, allocations: 101 kB / 0.7994 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.3279, allocations: 101.9 kB / 0.7995 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3279, allocations: 3.938 kB / 0.7995 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007572/0.3286, allocations: 279.8 kB / 0.7997 GB, free: 12.28 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.001145/0.3298, allocations: 0.534 MB / 0.8003 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.3299, allocations: 37.7 kB / 0.8003 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3299, allocations: 0 / 0.8003 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.3299, allocations: 4.062 kB / 0.8003 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.3303, allocations: 463.6 kB / 0.8007 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.3307, allocations: 236 kB / 0.801 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.331, allocations: 0.6846 MB / 0.8016 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.331, allocations: 4 kB / 0.8016 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.329e-05/0.331, allocations: 7.438 kB / 0.8016 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of SimCode: time 1.483e-06/0.331, allocations: 0 / 0.8016 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.01023/0.3413, allocations: 5.581 MB / 0.8071 GB, free: 4.73 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)