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.001211/0.001211, allocations: 106.5 kB / 16.36 MB, free: 6.305 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.001094/0.001094, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.901/1.901, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001427/0.001427, allocations: 67.91 kB / 0.673 GB, free: 5.793 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2416, allocations: 114.6 MB / 0.7848 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00265/0.2443, allocations: 1.45 MB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4656/0.7099, allocations: 2.974 MB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.71, allocations: 0.7188 kB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.7102, allocations: 2.562 kB / 0.7892 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.7103, allocations: 19.8 kB / 0.7892 GB, free: 46.59 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.004247/0.7145, allocations: 1.626 MB / 0.7908 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.7146, allocations: 46.53 kB / 0.7908 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.7147, allocations: 2.625 kB / 0.7908 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.7147, allocations: 15.89 kB / 0.7908 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.7148, allocations: 18.31 kB / 0.7908 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.7148, allocations: 5.875 kB / 0.7909 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.717, allocations: 1.551 MB / 0.7924 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.717, allocations: 9.984 kB / 0.7924 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.7171, allocations: 17.5 kB / 0.7924 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.7184, allocations: 1.118 MB / 0.7935 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7184, allocations: 0 / 0.7935 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7184, allocations: 3.156 kB / 0.7935 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.7184, allocations: 0 / 0.7935 GB, free: 46.42 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.0005414/0.719, allocations: 0.5195 MB / 0.794 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.719, allocations: 17.39 kB / 0.794 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.7191, allocations: 81.06 kB / 0.7941 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.7192, allocations: 254.1 kB / 0.7943 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.7193, allocations: 150.9 kB / 0.7945 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.7193, allocations: 159.3 kB / 0.7946 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.178e-05/0.7194, allocations: 108.2 kB / 0.7947 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.7194, allocations: 75.28 kB / 0.7948 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.7194, allocations: 150.6 kB / 0.7949 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.7194, allocations: 159.3 kB / 0.7951 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.7195, allocations: 150.6 kB / 0.7952 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.7197, allocations: 463 kB / 0.7957 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.506e-05/0.7197, allocations: 171.9 kB / 0.7958 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.7198, allocations: 86.16 kB / 0.7959 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.7198, allocations: 75.28 kB / 0.796 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.7198, allocations: 113.2 kB / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.7198, allocations: 3.938 kB / 0.7961 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.153e-05/0.7199, allocations: 32.89 kB / 0.7961 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.72, allocations: 132.2 kB / 0.7963 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.7201, allocations: 130.7 kB / 0.7964 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.7201, allocations: 25.7 kB / 0.7964 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.7201, allocations: 90.52 kB / 0.7965 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.7201, allocations: 3.781 kB / 0.7965 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.7202, allocations: 24.03 kB / 0.7965 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.7203, allocations: 317.9 kB / 0.7968 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.7203, allocations: 3.5 kB / 0.7968 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.674e-05/0.7203, allocations: 6.938 kB / 0.7968 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.7203, allocations: 15.95 kB / 0.7969 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.7204, allocations: 0 / 0.7969 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001211/0.7205, allocations: 55.62 kB / 0.7969 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7205, allocations: 9.062 kB / 0.7969 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.7205, allocations: 6.562 kB / 0.7969 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.7205, allocations: 0 / 0.7969 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.7206, allocations: 4.719 kB / 0.7969 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.7206, allocations: 0 / 0.7969 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.7206, allocations: 11.06 kB / 0.7969 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.7206, allocations: 0 / 0.7969 GB, free: 42.96 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.758e-05/0.7207, allocations: 185.4 kB / 0.7971 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.7207, allocations: 115.4 kB / 0.7972 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.7208, allocations: 111.8 kB / 0.7973 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/0.7208, allocations: 183.7 kB / 0.7975 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/0.7208, allocations: 184.5 kB / 0.7977 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/0.7209, allocations: 182.3 kB / 0.7979 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.7211, allocations: 415.2 kB / 0.7983 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.675e-05/0.7211, allocations: 101 kB / 0.7984 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.7212, allocations: 116.2 kB / 0.7985 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.954e-05/0.7212, allocations: 179.5 kB / 0.7986 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.184e-05/0.7212, allocations: 181.2 kB / 0.7988 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.231e-05/0.7213, allocations: 185.9 kB / 0.799 GB, free: 40.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.719e-05/0.7213, allocations: 176.3 kB / 0.7992 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.801e-05/0.7214, allocations: 312 kB / 0.7995 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.7214, allocations: 188.7 kB / 0.7996 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.7215, allocations: 186.4 kB / 0.7998 GB, free: 39.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.7215, allocations: 106.5 kB / 0.7999 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.7216, allocations: 183.8 kB / 0.8001 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.7216, allocations: 108.1 kB / 0.8002 GB, free: 39.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.7217, allocations: 105.5 kB / 0.8003 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7217, allocations: 0 / 0.8003 GB, free: 39.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006829/0.7224, allocations: 284.9 kB / 0.8006 GB, free: 39.4 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.001077/0.7234, allocations: 0.5482 MB / 0.8011 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.7236, allocations: 47.58 kB / 0.8011 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7236, allocations: 0 / 0.8011 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.7236, allocations: 3.5 kB / 0.8011 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.7239, allocations: 465.8 kB / 0.8016 GB, free: 38.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.7243, allocations: 263.2 kB / 0.8018 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.7244, allocations: 0.685 MB / 0.8025 GB, free: 37.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.408e-05/0.7244, allocations: 7.438 kB / 0.8025 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7244, allocations: 0 / 0.8025 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.01114/0.7356, allocations: 4.834 MB / 0.8072 GB, free: 37.31 MB / 0.6544 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)