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.001233/0.001232, allocations: 104 kB / 16.36 MB, free: 6.301 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.001317/0.001317, allocations: 192.1 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.24 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.921/1.921, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.00153/0.00153, allocations: 67.91 kB / 0.673 GB, free: 5.754 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2921, allocations: 114.6 MB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002858/0.295, allocations: 1.435 MB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5323/0.8273, allocations: 2.924 MB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.8274, allocations: 2.625 kB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.8275, allocations: 1.875 kB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.8276, allocations: 16.53 kB / 0.7891 GB, free: 46.55 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/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.003944/0.8316, allocations: 1.623 MB / 0.7907 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.8317, allocations: 44.58 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.8317, allocations: 3.797 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.8318, allocations: 14.95 kB / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.8318, allocations: 17.78 kB / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.8318, allocations: 0.5 kB / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.8338, allocations: 1.505 MB / 0.7922 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.63e-05/0.8339, allocations: 9.719 kB / 0.7923 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.8339, allocations: 17.81 kB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.8352, allocations: 1.091 MB / 0.7933 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8352, allocations: 0.625 kB / 0.7933 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8352, allocations: 1.469 kB / 0.7933 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.8352, allocations: 0 / 0.7933 GB, free: 46.38 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.0005025/0.8357, allocations: 0.5168 MB / 0.7938 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.8358, allocations: 12.03 kB / 0.7939 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.8358, allocations: 81.72 kB / 0.7939 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.836, allocations: 255.1 kB / 0.7942 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.836, allocations: 152.1 kB / 0.7943 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.8361, allocations: 154.1 kB / 0.7945 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.982e-05/0.8361, allocations: 105.9 kB / 0.7946 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.8361, allocations: 82.91 kB / 0.7946 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.8362, allocations: 151.1 kB / 0.7948 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.8362, allocations: 151.2 kB / 0.7949 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.8362, allocations: 154.8 kB / 0.7951 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.8364, allocations: 461 kB / 0.7955 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.8365, allocations: 171.6 kB / 0.7957 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.8365, allocations: 85.2 kB / 0.7958 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.8366, allocations: 75.28 kB / 0.7958 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8366, allocations: 113.5 kB / 0.796 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8366, allocations: 1.312 kB / 0.796 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 7.328e-05/0.8367, allocations: 33.55 kB / 0.796 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.8367, allocations: 126.7 kB / 0.7961 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.8368, allocations: 134.4 kB / 0.7962 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.8369, allocations: 25.7 kB / 0.7963 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.8369, allocations: 96.09 kB / 0.7963 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-06/0.8369, allocations: 3.438 kB / 0.7964 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.8369, allocations: 19.56 kB / 0.7964 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.837, allocations: 317.5 kB / 0.7967 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.837, allocations: 9.188 kB / 0.7967 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.8371, allocations: 6.188 kB / 0.7967 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.8371, allocations: 16.39 kB / 0.7967 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8371, allocations: 0 / 0.7967 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.8372, allocations: 54.67 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8373, allocations: 5.875 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.8373, allocations: 5.672 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.8373, allocations: 0 / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-06/0.8373, allocations: 1.312 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.8373, allocations: 3.406 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.8373, allocations: 3.688 kB / 0.7968 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8374, allocations: 0 / 0.7968 GB, free: 42.93 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 7.017e-05/0.8374, allocations: 185.7 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.8375, allocations: 118.5 kB / 0.7971 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.8375, allocations: 114.3 kB / 0.7972 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.8376, allocations: 176.8 kB / 0.7973 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.502e-05/0.8376, allocations: 182.5 kB / 0.7975 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.8376, allocations: 182.3 kB / 0.7977 GB, free: 41.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.8378, allocations: 417.8 kB / 0.7981 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.8378, allocations: 101 kB / 0.7982 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.8378, allocations: 111.2 kB / 0.7983 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.259e-05/0.8379, allocations: 185 kB / 0.7985 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.8379, allocations: 180.6 kB / 0.7986 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.137e-05/0.8379, allocations: 181.2 kB / 0.7988 GB, free: 40.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.897e-05/0.838, allocations: 182.2 kB / 0.799 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.347e-05/0.8381, allocations: 304.8 kB / 0.7993 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.8381, allocations: 190.7 kB / 0.7995 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.8382, allocations: 185 kB / 0.7996 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.8382, allocations: 106.6 kB / 0.7997 GB, free: 39.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.8383, allocations: 182.4 kB / 0.7999 GB, free: 39.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.8383, allocations: 109.6 kB / 0.8 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.8383, allocations: 99.7 kB / 0.8001 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8383, allocations: 0 / 0.8001 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006346/0.839, allocations: 275.3 kB / 0.8004 GB, free: 39.38 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.0009855/0.84, allocations: 0.5441 MB / 0.8009 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.8401, allocations: 40.61 kB / 0.8009 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8401, allocations: 0 / 0.8009 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.8401, allocations: 0 / 0.8009 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.8404, allocations: 467.1 kB / 0.8014 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.8408, allocations: 260 kB / 0.8016 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.8409, allocations: 0.6891 MB / 0.8023 GB, free: 37.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.8409, allocations: 7.438 kB / 0.8023 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.8409, allocations: 0 / 0.8023 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.01055/0.8515, allocations: 4.713 MB / 0.8069 GB, free: 37.31 MB / 0.6544 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)