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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 177.2 kB / 16.08 MB, free: 5.703 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.4521/0.4521, allocations: 89.07 MB / 105.9 MB, free: 12.45 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.249/1.249, allocations: 225.7 MB / 353.2 MB, free: 1.082 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.0008337/0.0008337, allocations: 86.31 kB / 425.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 12 kB / 0.4956 GB, free: 4.484 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2581, allocations: 71.34 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001133/0.2593, allocations: 1.103 MB / 0.5663 GB, free: 41.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.2628, allocations: 5.071 MB / 0.5713 GB, free: 35.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.2628, allocations: 9.156 kB / 0.5713 GB, free: 35.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.61e-05/0.2629, allocations: 7.922 kB / 0.5713 GB, free: 35.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.2631, allocations: 21.5 kB / 0.5713 GB, free: 35.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.2646, allocations: 0.7764 MB / 0.5721 GB, free: 34.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.2647, allocations: 107.7 kB / 0.5722 GB, free: 34.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.2647, allocations: 4 kB / 0.5722 GB, free: 34.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.862e-05/0.2648, allocations: 43.84 kB / 0.5722 GB, free: 34.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.265, allocations: 224.9 kB / 0.5724 GB, free: 34.48 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.265, allocations: 12 kB / 0.5724 GB, free: 34.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.2664, allocations: 1.326 MB / 0.5737 GB, free: 33.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003906/0.2668, allocations: 0.6797 MB / 0.5744 GB, free: 32.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.2671, allocations: 470.7 kB / 0.5748 GB, free: 31.99 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.2683, allocations: 1.77 MB / 0.5766 GB, free: 30.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2683, allocations: 0 / 0.5766 GB, free: 30.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2684, allocations: 0 / 0.5766 GB, free: 30.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2684, allocations: 0 / 0.5766 GB, free: 30.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.007228/0.2756, allocations: 1.597 MB / 0.5781 GB, free: 28.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2756, allocations: 12.03 kB / 0.5781 GB, free: 28.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.276, allocations: 139 kB / 0.5783 GB, free: 28.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.2763, allocations: 0.5289 MB / 0.5788 GB, free: 27.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2763, allocations: 384 / 0.5788 GB, free: 27.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.2764, allocations: 4.375 kB / 0.5788 GB, free: 27.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.2767, allocations: 391.4 kB / 0.5792 GB, free: 27.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2767, allocations: 0 / 0.5792 GB, free: 27.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2767, allocations: 11.98 kB / 0.5792 GB, free: 27.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2767, allocations: 4 kB / 0.5792 GB, free: 27.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.277, allocations: 427.8 kB / 0.5796 GB, free: 26.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.2775, allocations: 0.8034 MB / 0.5804 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.2779, allocations: 0.5672 MB / 0.5809 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2781, allocations: 333.7 kB / 0.5813 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.2788, allocations: 1.04 MB / 0.5823 GB, free: 23.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.279, allocations: 412.7 kB / 0.5827 GB, free: 23.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2791, allocations: 0 / 0.5827 GB, free: 23.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008975/0.28, allocations: 1.343 MB / 0.584 GB, free: 22.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.28, allocations: 85.14 kB / 0.5841 GB, free: 22.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.2812, allocations: 1.819 MB / 0.5858 GB, free: 20.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2812, allocations: 29.7 kB / 0.5859 GB, free: 20.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.2815, allocations: 477.3 kB / 0.5863 GB, free: 19.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.2815, allocations: 27.64 kB / 0.5863 GB, free: 19.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.2815, allocations: 0 / 0.5863 GB, free: 19.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.2816, allocations: 415 kB / 0.5867 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.2825, allocations: 1.51 MB / 0.5882 GB, free: 17.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.2834, allocations: 1.646 MB / 0.5898 GB, free: 16.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006758/0.2901, allocations: 3.655 MB / 0.5934 GB, free: 12.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2902, allocations: 0 / 0.5934 GB, free: 12.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003048/0.2932, allocations: 4.304 MB / 0.5976 GB, free: 7.996 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2933, allocations: 7.984 kB / 0.5976 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.2933, allocations: 0 / 0.5976 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.2933, allocations: 4 kB / 0.5976 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2935, allocations: 15.94 kB / 0.5976 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2935, allocations: 3.984 kB / 0.5976 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.2939, allocations: 232.3 kB / 0.5978 GB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.294, allocations: 28.02 kB / 0.5979 GB, free: 7.707 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.0003371/0.2943, allocations: 361.6 kB / 0.5982 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.2944, allocations: 126 kB / 0.5983 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.2947, allocations: 145 kB / 0.5985 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2947, allocations: 4 kB / 0.5985 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2947, allocations: 0 / 0.5985 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2947, allocations: 4.031 kB / 0.5985 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004053/0.2951, allocations: 0.6833 MB / 0.5991 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2951, allocations: 0 / 0.5991 GB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.2952, allocations: 7.938 kB / 0.5992 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2952, allocations: 4 kB / 0.5992 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2952, allocations: 3.984 kB / 0.5992 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2952, allocations: 0 / 0.5992 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2952, allocations: 4 kB / 0.5992 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.2959, allocations: 1.063 MB / 0.6002 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-05/0.296, allocations: 199.1 kB / 0.6004 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.2961, allocations: 3.984 kB / 0.6004 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.2963, allocations: 4 kB / 0.6004 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.2963, allocations: 7.984 kB / 0.6004 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.2963, allocations: 15.98 kB / 0.6004 GB, free: 4.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000826/0.2972, allocations: 1.089 MB / 0.6015 GB, free: 3.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2972, allocations: 0 / 0.6015 GB, free: 3.852 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.298, allocations: 431.8 kB / 0.6019 GB, free: 3.43 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.0009654/0.299, allocations: 488.5 kB / 0.6024 GB, free: 2.941 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.3005, allocations: 2.64 MB / 0.6049 GB, free: 300 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3005, allocations: 3.938 kB / 0.6049 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.3008, allocations: 343.7 kB / 0.6053 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.3012, allocations: 47.03 kB / 0.6053 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.304, allocations: 2.86 MB / 0.6081 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000646/0.3047, allocations: 1.153 MB / 0.6092 GB, free: 11.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.3049, allocations: 40.53 kB / 0.6093 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.305, allocations: 35.3 kB / 0.6093 GB, free: 11.75 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.305, allocations: 0 / 0.6093 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Templates: time 0.01646/0.3214, allocations: 9.738 MB / 0.6188 GB, free: 1.992 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)