Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01641/0.01641, allocations: 109.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002038/0.002038, allocations: 179.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.075/2.075, allocations: 194.6 MB / 211.3 MB, free: 10.93 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.507/2.507, allocations: 236.1 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004875, allocations: 16 kB / 0.5871 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6922, allocations: 98.71 MB / 0.6835 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005413/0.6976, allocations: 3.258 MB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004973/0.7026, allocations: 2.22 MB / 0.6888 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008383/0.7035, allocations: 9.75 kB / 0.6888 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.706, allocations: 479.3 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.7072, allocations: 250.8 kB / 0.6895 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.7077, allocations: 85.42 kB / 0.6896 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.7094, allocations: 0.5591 MB / 0.6902 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006299/0.7101, allocations: 242.4 kB / 0.6904 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.7108, allocations: 235.6 kB / 0.6906 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.7113, allocations: 270.1 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.7115, allocations: 34.09 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.7116, allocations: 34.91 kB / 0.6909 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001979/0.7119, allocations: 120.4 kB / 0.691 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.7121, allocations: 161.4 kB / 0.6912 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.7137, allocations: 0.7853 MB / 0.692 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7137, allocations: 0 / 0.692 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.236e-06/0.7137, allocations: 0 / 0.692 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.7138, allocations: 0 / 0.692 GB, free: 11.29 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002342/0.7161, allocations: 0.8522 MB / 0.6928 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.7162, allocations: 10.48 kB / 0.6928 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.7164, allocations: 85.19 kB / 0.6929 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.7166, allocations: 79.61 kB / 0.693 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009603/0.7175, allocations: 440.4 kB / 0.6934 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.7176, allocations: 36.44 kB / 0.6934 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7177, allocations: 46.44 kB / 0.6935 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.7191, allocations: 423.2 kB / 0.6939 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.7191, allocations: 1.781 kB / 0.6939 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.7192, allocations: 20.28 kB / 0.6939 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.7192, allocations: 11.5 kB / 0.6939 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.7205, allocations: 378.2 kB / 0.6943 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.7243, allocations: 1.534 MB / 0.6958 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.7253, allocations: 340.4 kB / 0.6961 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.7253, allocations: 8.625 kB / 0.6961 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7254, allocations: 44.53 kB / 0.6961 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.536e-06/0.7254, allocations: 0 / 0.6961 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.001679/0.7271, allocations: 0.5074 MB / 0.6966 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.7271, allocations: 56.59 kB / 0.6967 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.7282, allocations: 483.8 kB / 0.6971 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.7282, allocations: 30.89 kB / 0.6972 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/0.7285, allocations: 279.2 kB / 0.6974 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.7287, allocations: 147.3 kB / 0.6976 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.7288, allocations: 5.219 kB / 0.6976 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.7289, allocations: 364.1 kB / 0.6979 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.7294, allocations: 122.9 kB / 0.6981 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/0.7299, allocations: 133.6 kB / 0.6982 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004793/0.7304, allocations: 149.5 kB / 0.6983 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7304, allocations: 1.375 kB / 0.6983 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001308/0.7317, allocations: 407.1 kB / 0.6987 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.7318, allocations: 5.781 kB / 0.6987 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7318, allocations: 4.609 kB / 0.6987 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.7318, allocations: 1.344 kB / 0.6987 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.7328, allocations: 127 kB / 0.6988 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.7329, allocations: 1.531 kB / 0.6988 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.7335, allocations: 54.52 kB / 0.6989 GB, free: 7.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.7336, allocations: 12.14 kB / 0.6989 GB, free: 7.105 MB / 0.5261 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004671/0.7341, allocations: 196.2 kB / 0.6991 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.7342, allocations: 51.58 kB / 0.6991 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.7344, allocations: 61.81 kB / 0.6992 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.7344, allocations: 7.562 kB / 0.6992 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.7344, allocations: 0 / 0.6992 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.7344, allocations: 7.703 kB / 0.6992 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.7355, allocations: 0.5773 MB / 0.6998 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7356, allocations: 7.969 kB / 0.6998 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.7366, allocations: 126.9 kB / 0.6999 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.44e-05/0.7366, allocations: 5.328 kB / 0.6999 GB, free: 6.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.7367, allocations: 6.75 kB / 0.6999 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.7367, allocations: 5.375 kB / 0.6999 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7367, allocations: 0 / 0.6999 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.7384, allocations: 0.6613 MB / 0.7006 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.7387, allocations: 135.5 kB / 0.7007 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.7389, allocations: 13.77 kB / 0.7007 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.7393, allocations: 20.77 kB / 0.7007 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.7394, allocations: 23.44 kB / 0.7008 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.7395, allocations: 7.219 kB / 0.7008 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006474/0.7401, allocations: 355.1 kB / 0.7011 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.573e-06/0.7401, allocations: 0 / 0.7011 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007244/0.7409, allocations: 148.1 kB / 0.7012 GB, free: 5.609 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001886/0.7428, allocations: 1.22 MB / 0.7024 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.7438, allocations: 326.5 kB / 0.7027 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7439, allocations: 0 / 0.7027 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.7444, allocations: 198.3 kB / 0.7029 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.7455, allocations: 116 kB / 0.703 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/0.7539, allocations: 3.285 MB / 0.7063 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.7544, allocations: 0.8835 MB / 0.7071 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004258/0.7549, allocations: 50.33 kB / 0.7072 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003699/0.7553, allocations: 190.8 kB / 0.7073 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of SimCode: time 1.182e-06/0.7553, allocations: 5.125 kB / 0.7074 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.8099, allocations: 10.32 MB / 0.7174 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.8104, allocations: 255.4 kB / 0.7177 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/3.701, allocations: 0 / 0.7177 GB, free: 11.01 MB / 0.5417 GB