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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.987/3.987, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.014e-05, allocations: 4.062 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 98.74 MB / 0.6289 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2669/0.5407, allocations: 134.5 MB / 0.7603 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000413/0.5412, allocations: 111.9 kB / 0.7604 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.6265/1.168, allocations: 21.87 MB / 0.7818 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.168, allocations: 0.625 kB / 0.7818 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.699e-05/1.168, allocations: 11.09 kB / 0.7818 GB, free: 139.4 MB / 0.6511 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.001739/1.169, allocations: 0.7574 MB / 0.7825 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.17, allocations: 9.5 kB / 0.7825 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/1.17, allocations: 71.7 kB / 0.7826 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008872/1.171, allocations: 435.1 kB / 0.783 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/1.171, allocations: 20.3 kB / 0.783 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/1.171, allocations: 27.47 kB / 0.783 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008994/1.172, allocations: 308.6 kB / 0.7833 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/1.173, allocations: 329.5 kB / 0.7837 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/1.173, allocations: 0 / 0.7837 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/1.173, allocations: 0 / 0.7837 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/1.173, allocations: 12.38 kB / 0.7837 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003484/1.176, allocations: 1.44 MB / 0.7851 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/1.177, allocations: 295.8 kB / 0.7854 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005466/1.178, allocations: 278.1 kB / 0.7856 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/1.178, allocations: 4.875 kB / 0.7856 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.178, allocations: 38.59 kB / 0.7857 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 4.318e-06/1.178, allocations: 6 kB / 0.7857 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.0009045/1.179, allocations: 315.4 kB / 0.786 GB, free: 138 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/1.179, allocations: 55.83 kB / 0.786 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/1.179, allocations: 374.3 kB / 0.7864 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.179, allocations: 25.7 kB / 0.7864 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/1.18, allocations: 281.4 kB / 0.7867 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.18, allocations: 140.8 kB / 0.7868 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/1.18, allocations: 0 / 0.7868 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.18, allocations: 361.9 kB / 0.7872 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/1.18, allocations: 100.5 kB / 0.7872 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/1.18, allocations: 99.81 kB / 0.7873 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/1.181, allocations: 120.8 kB / 0.7875 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/1.181, allocations: 1.188 kB / 0.7875 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008064/1.182, allocations: 325.2 kB / 0.7878 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.182, allocations: 5.906 kB / 0.7878 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.182, allocations: 0 / 0.7878 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.182, allocations: 6.031 kB / 0.7878 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/1.183, allocations: 126.8 kB / 0.7879 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.183, allocations: 8.609 kB / 0.7879 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/1.183, allocations: 41.19 kB / 0.788 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/1.183, allocations: 12.33 kB / 0.788 GB, free: 137.2 MB / 0.6511 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 () * 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.0001108/1.183, allocations: 111.4 kB / 0.7881 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007263/1.184, allocations: 310.6 kB / 0.7884 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/1.184, allocations: 45.14 kB / 0.7884 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/1.184, allocations: 58.27 kB / 0.7885 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/1.184, allocations: 8.016 kB / 0.7885 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.184, allocations: 0 / 0.7885 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/1.185, allocations: 3.953 kB / 0.7885 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009985/1.186, allocations: 0.5015 MB / 0.789 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/1.186, allocations: 4.188 kB / 0.789 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/1.187, allocations: 127.1 kB / 0.7891 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/1.187, allocations: 6.266 kB / 0.7891 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/1.187, allocations: 1 kB / 0.7891 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.187, allocations: 3.109 kB / 0.7891 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.187, allocations: 3.438 kB / 0.7891 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.188, allocations: 0.5697 MB / 0.7897 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/1.188, allocations: 129.9 kB / 0.7898 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.439e-05/1.188, allocations: 1.781 kB / 0.7898 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/1.189, allocations: 18.58 kB / 0.7898 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/1.189, allocations: 26.91 kB / 0.7898 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/1.189, allocations: 13.28 kB / 0.7898 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005209/1.189, allocations: 299.4 kB / 0.7901 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.189, allocations: 1.281 kB / 0.7901 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007561/1.19, allocations: 139.5 kB / 0.7903 GB, free: 136.4 MB / 0.6511 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 () * 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.001731/1.192, allocations: 1.281 MB / 0.7915 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000779/1.193, allocations: 271.8 kB / 0.7918 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.193, allocations: 0 / 0.7918 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003757/1.193, allocations: 154.5 kB / 0.7919 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008813/1.194, allocations: 79.36 kB / 0.792 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/1.197, allocations: 0.9778 MB / 0.7929 GB, free: 135.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/1.198, allocations: 0.8846 MB / 0.7938 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004137/1.198, allocations: 45.67 kB / 0.7939 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/1.198, allocations: 197.5 kB / 0.794 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/1.198, allocations: 0 / 0.794 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06035/1.259, allocations: 9.342 MB / 0.8032 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/1.259, allocations: 217.4 kB / 0.8034 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/4.02, allocations: 0 / 0.8034 GB, free: 133.6 MB / 0.6511 GB