Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 172 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4546/0.4546, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007337/0.0007337, allocations: 97 kB / 425.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002917, allocations: 8 kB / 0.4956 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 71.34 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.0016/0.2605, allocations: 1.409 MB / 0.5666 GB, free: 40.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005424/0.2659, allocations: 6.154 MB / 0.5726 GB, free: 34.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.2661, allocations: 4 kB / 0.5726 GB, free: 34.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.2675, allocations: 350.5 kB / 0.573 GB, free: 33.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.2677, allocations: 59.78 kB / 0.573 GB, free: 33.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.2699, allocations: 0.7646 MB / 0.5738 GB, free: 33.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.2701, allocations: 195.3 kB / 0.574 GB, free: 32.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.267e-05/0.2702, allocations: 9.562 kB / 0.574 GB, free: 32.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.2702, allocations: 59.7 kB / 0.574 GB, free: 32.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.2705, allocations: 172.8 kB / 0.5742 GB, free: 32.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.2705, allocations: 20 kB / 0.5742 GB, free: 32.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2723, allocations: 1.318 MB / 0.5755 GB, free: 31.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.2725, allocations: 275.8 kB / 0.5758 GB, free: 31.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2727, allocations: 327.8 kB / 0.5761 GB, free: 30.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.2745, allocations: 1.535 MB / 0.5776 GB, free: 29.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2745, allocations: 11.98 kB / 0.5776 GB, free: 29.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2745, allocations: 0 / 0.5776 GB, free: 29.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.2746, allocations: 0 / 0.5776 GB, free: 29.22 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.007219/0.2818, allocations: 1.208 MB / 0.5788 GB, free: 27.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2818, allocations: 8.031 kB / 0.5788 GB, free: 27.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.2822, allocations: 99.58 kB / 0.5789 GB, free: 27.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.2826, allocations: 406 kB / 0.5792 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.2826, allocations: 4.359 kB / 0.5793 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.2826, allocations: 8.375 kB / 0.5793 GB, free: 27.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.2829, allocations: 387.5 kB / 0.5796 GB, free: 27.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.283, allocations: 4 kB / 0.5796 GB, free: 27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.283, allocations: 0 / 0.5796 GB, free: 27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.283, allocations: 0 / 0.5796 GB, free: 27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.2833, allocations: 443.7 kB / 0.5801 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.2837, allocations: 0.6613 MB / 0.5807 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.2841, allocations: 0.5595 MB / 0.5812 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2843, allocations: 341.5 kB / 0.5816 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007027/0.285, allocations: 1.028 MB / 0.5826 GB, free: 23.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.2853, allocations: 408.8 kB / 0.583 GB, free: 23.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2853, allocations: 0 / 0.583 GB, free: 23.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008671/0.2862, allocations: 1.296 MB / 0.5842 GB, free: 21.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2862, allocations: 81.11 kB / 0.5843 GB, free: 21.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.2871, allocations: 1.277 MB / 0.5856 GB, free: 20.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.2871, allocations: 29.7 kB / 0.5856 GB, free: 20.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.2873, allocations: 281.3 kB / 0.5859 GB, free: 20.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2873, allocations: 27.67 kB / 0.5859 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.2873, allocations: 11.94 kB / 0.5859 GB, free: 20.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.2874, allocations: 419.8 kB / 0.5863 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/0.2882, allocations: 1.361 MB / 0.5876 GB, free: 18.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/0.2891, allocations: 1.497 MB / 0.5891 GB, free: 16.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006784/0.2959, allocations: 3.498 MB / 0.5925 GB, free: 13.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2959, allocations: 0 / 0.5925 GB, free: 13.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003063/0.299, allocations: 3.953 MB / 0.5964 GB, free: 9.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.299, allocations: 8.031 kB / 0.5964 GB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.299, allocations: 8 kB / 0.5964 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2991, allocations: 0 / 0.5964 GB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2992, allocations: 15.98 kB / 0.5964 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2992, allocations: 0 / 0.5964 GB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.2996, allocations: 236.2 kB / 0.5966 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.2996, allocations: 23.98 kB / 0.5966 GB, free: 9.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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 0.0002308/0.2999, allocations: 245.7 kB / 0.5969 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.2999, allocations: 78.61 kB / 0.5969 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3002, allocations: 71.73 kB / 0.597 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3002, allocations: 11.92 kB / 0.597 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3002, allocations: 0 / 0.597 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3002, allocations: 3.984 kB / 0.597 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3006, allocations: 0.51 MB / 0.5975 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3006, allocations: 4 kB / 0.5975 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.3006, allocations: 11.97 kB / 0.5975 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3006, allocations: 0 / 0.5975 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3007, allocations: 11.98 kB / 0.5976 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3007, allocations: 0 / 0.5976 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3007, allocations: 0 / 0.5976 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.3013, allocations: 0.9982 MB / 0.5985 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.3014, allocations: 171.6 kB / 0.5987 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.3014, allocations: 8 kB / 0.5987 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3016, allocations: 4 kB / 0.5987 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.3016, allocations: 7.922 kB / 0.5987 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3017, allocations: 11.98 kB / 0.5987 GB, free: 6.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005645/0.3022, allocations: 0.714 MB / 0.5994 GB, free: 6.109 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 8 kB / 0.5994 GB, free: 6.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008486/0.3031, allocations: 399.9 kB / 0.5998 GB, free: 5.711 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001155/0.3043, allocations: 484.3 kB / 0.6003 GB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.3058, allocations: 2.507 MB / 0.6027 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3058, allocations: 0 / 0.6027 GB, free: 2.711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.306, allocations: 335.8 kB / 0.603 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.3064, allocations: 64.5 kB / 0.6031 GB, free: 2.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.3081, allocations: 2.078 MB / 0.6051 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3086, allocations: 0.9803 MB / 0.6061 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.3088, allocations: 37.42 kB / 0.6061 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.3089, allocations: 31.42 kB / 0.6062 GB, free: 15.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/0.3089, allocations: 4 kB / 0.6062 GB, free: 15.13 MB / 426.7 MB Notification: Performance of Templates: time 0.01656/0.3254, allocations: 9.76 MB / 0.6157 GB, free: 5.379 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)