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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, 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.001567/0.001566, allocations: 196.7 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.594/1.594, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.852/1.852, allocations: 292.3 MB / 0.5489 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.002147/0.002147, allocations: 72.06 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3101, allocations: 114.6 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002775/0.313, allocations: 1.439 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004412/0.3174, allocations: 2.967 MB / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.3175, allocations: 0 / 0.7877 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.3176, allocations: 3.938 kB / 0.7877 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3177, allocations: 19.84 kB / 0.7878 GB, free: 8.977 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.004275/0.322, allocations: 1.643 MB / 0.7894 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.322, allocations: 51.66 kB / 0.7894 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.3221, allocations: 8 kB / 0.7894 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.694e-05/0.3221, allocations: 11.94 kB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.804e-05/0.3222, allocations: 15.92 kB / 0.7894 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.3222, allocations: 0 / 0.7894 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.3245, allocations: 1.478 MB / 0.7909 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.3245, allocations: 11.92 kB / 0.7909 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.3246, allocations: 15.88 kB / 0.7909 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.3264, allocations: 1.123 MB / 0.792 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3264, allocations: 0 / 0.792 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3264, allocations: 0 / 0.792 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3264, allocations: 0 / 0.792 GB, free: 4.633 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.0006417/0.327, allocations: 0.5223 MB / 0.7925 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3271, allocations: 15.98 kB / 0.7925 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.3272, allocations: 84.16 kB / 0.7926 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3273, allocations: 251.5 kB / 0.7929 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.3274, allocations: 150.9 kB / 0.793 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.3275, allocations: 154.9 kB / 0.7931 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.397e-05/0.3275, allocations: 113 kB / 0.7933 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.3276, allocations: 75.28 kB / 0.7933 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.3277, allocations: 154.6 kB / 0.7935 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.3277, allocations: 150.6 kB / 0.7936 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.3278, allocations: 150.6 kB / 0.7938 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.3281, allocations: 469.8 kB / 0.7942 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.138e-05/0.3282, allocations: 181.1 kB / 0.7944 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.3282, allocations: 80.14 kB / 0.7945 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3282, allocations: 75.28 kB / 0.7945 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.3283, allocations: 109.8 kB / 0.7946 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.3283, allocations: 0 / 0.7946 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.265e-05/0.3284, allocations: 29.7 kB / 0.7947 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.3285, allocations: 130.7 kB / 0.7948 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3286, allocations: 148.6 kB / 0.7949 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.3286, allocations: 25.7 kB / 0.7949 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.3287, allocations: 92.14 kB / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3287, allocations: 0 / 0.795 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.859e-05/0.3287, allocations: 17.7 kB / 0.7951 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3289, allocations: 318.8 kB / 0.7954 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.368e-05/0.3289, allocations: 4 kB / 0.7954 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.3289, allocations: 12 kB / 0.7954 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.329, allocations: 12.92 kB / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.329, allocations: 0 / 0.7954 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001264/0.3291, allocations: 61.52 kB / 0.7954 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3291, allocations: 4 kB / 0.7954 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.3291, allocations: 4 kB / 0.7955 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3292, allocations: 0 / 0.7955 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3292, allocations: 3.938 kB / 0.7955 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3292, allocations: 3.984 kB / 0.7955 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.3292, allocations: 4.062 kB / 0.7955 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3292, allocations: 8 kB / 0.7955 GB, free: 0.8477 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 9.04e-05/0.3293, allocations: 185.1 kB / 0.7956 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.3294, allocations: 112.8 kB / 0.7958 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.025e-05/0.3295, allocations: 108.6 kB / 0.7959 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.439e-05/0.3295, allocations: 184.2 kB / 0.796 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-05/0.3296, allocations: 188.2 kB / 0.7962 GB, free: 44 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/0.3297, allocations: 180.2 kB / 0.7964 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.3299, allocations: 409.2 kB / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/0.33, allocations: 116.8 kB / 0.7969 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.33, allocations: 101 kB / 0.797 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-05/0.3301, allocations: 188.2 kB / 0.7972 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.3302, allocations: 184.2 kB / 0.7973 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.389e-05/0.3303, allocations: 176.3 kB / 0.7975 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.285e-05/0.3304, allocations: 180.2 kB / 0.7977 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.3305, allocations: 307.8 kB / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.3306, allocations: 193.9 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.942e-05/0.3307, allocations: 180.3 kB / 0.7983 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.3308, allocations: 104.9 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/0.3309, allocations: 180.2 kB / 0.7986 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.3309, allocations: 108.9 kB / 0.7987 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.684e-05/0.331, allocations: 99.27 kB / 0.7988 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.331, allocations: 0 / 0.7988 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007672/0.3318, allocations: 287.8 kB / 0.7991 GB, free: 12.93 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.001096/0.3329, allocations: 0.5508 MB / 0.7996 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.333, allocations: 41.7 kB / 0.7997 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.333, allocations: 0 / 0.7997 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.333, allocations: 4 kB / 0.7997 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3334, allocations: 467.5 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.3338, allocations: 250.7 kB / 0.8003 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.334, allocations: 0.6846 MB / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.2e-05/0.334, allocations: 0 / 0.801 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.334, allocations: 11.44 kB / 0.801 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of SimCode: time 1.8e-07/0.334, allocations: 0 / 0.801 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of Templates: time 0.009561/0.3436, allocations: 5.769 MB / 0.8067 GB, free: 5.152 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)