Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7711/0.7711, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 179.3 kB / 192 MB, free: 6.734 MB / 154.7 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.363/1.363, allocations: 225.7 MB / 450.4 MB, free: 4.996 MB / 330.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.0007346/0.0007346, allocations: 107.4 kB / 0.5211 GB, free: 1.652 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00165/0.00165, allocations: 284.9 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000673/0.000673, allocations: 14.44 kB / 0.6948 GB, free: 59.38 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1495, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001791/0.1514, allocations: 1.117 MB / 0.7764 GB, free: 13.22 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005818/0.1572, allocations: 5.07 MB / 0.7814 GB, free: 7.656 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.1573, allocations: 0 / 0.7814 GB, free: 7.656 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1574, allocations: 3.938 kB / 0.7814 GB, free: 7.652 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1577, allocations: 35.83 kB / 0.7814 GB, free: 7.617 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.1596, allocations: 0.7646 MB / 0.7822 GB, free: 6.852 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1598, allocations: 111.7 kB / 0.7823 GB, free: 6.742 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.1598, allocations: 7.984 kB / 0.7823 GB, free: 6.734 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.1599, allocations: 31.92 kB / 0.7823 GB, free: 6.703 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.1602, allocations: 224.9 kB / 0.7825 GB, free: 6.484 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.1603, allocations: 12 kB / 0.7825 GB, free: 6.473 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.1623, allocations: 1.33 MB / 0.7838 GB, free: 5.141 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006463/0.1629, allocations: 0.6835 MB / 0.7845 GB, free: 4.453 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004086/0.1634, allocations: 470.7 kB / 0.785 GB, free: 3.984 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.1653, allocations: 1.768 MB / 0.7867 GB, free: 2.211 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1653, allocations: 0 / 0.7867 GB, free: 2.211 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1653, allocations: 0 / 0.7867 GB, free: 2.211 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1654, allocations: 0 / 0.7867 GB, free: 2.211 MB / 458.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.007615/0.173, allocations: 1.59 MB / 0.7882 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.173, allocations: 15.97 kB / 0.7883 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003538/0.1734, allocations: 142.9 kB / 0.7884 GB, free: 416 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.1739, allocations: 0.5175 MB / 0.7889 GB, free: 15.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.174, allocations: 4.375 kB / 0.7889 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.174, allocations: 12.36 kB / 0.7889 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1744, allocations: 391.4 kB / 0.7893 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1744, allocations: 0 / 0.7893 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1744, allocations: 0 / 0.7893 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1745, allocations: 8 kB / 0.7893 GB, free: 15.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.1748, allocations: 431.7 kB / 0.7897 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.1755, allocations: 0.8035 MB / 0.7905 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.176, allocations: 0.5673 MB / 0.791 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1763, allocations: 333.6 kB / 0.7914 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/0.1773, allocations: 1.04 MB / 0.7924 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.1777, allocations: 408.8 kB / 0.7928 GB, free: 11.51 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1777, allocations: 0 / 0.7928 GB, free: 11.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.001255/0.179, allocations: 1.343 MB / 0.7941 GB, free: 10.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.1791, allocations: 81.23 kB / 0.7942 GB, free: 10.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.1808, allocations: 1.835 MB / 0.7959 GB, free: 8.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1808, allocations: 33.7 kB / 0.796 GB, free: 8.141 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.1811, allocations: 469.3 kB / 0.7964 GB, free: 7.676 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1812, allocations: 23.73 kB / 0.7965 GB, free: 7.652 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.1812, allocations: 4 kB / 0.7965 GB, free: 7.648 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1814, allocations: 411 kB / 0.7968 GB, free: 7.242 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.1826, allocations: 1.514 MB / 0.7983 GB, free: 5.727 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.184, allocations: 1.642 MB / 0.7999 GB, free: 4.074 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/0.1921, allocations: 3.658 MB / 0.8035 GB, free: 332 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1922, allocations: 0 / 0.8035 GB, free: 332 kB / 474.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004329/0.1965, allocations: 4.304 MB / 0.8077 GB, free: 11.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1965, allocations: 7.938 kB / 0.8077 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.1966, allocations: 320 / 0.8077 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.1966, allocations: 4 kB / 0.8077 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.1967, allocations: 23.92 kB / 0.8077 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1967, allocations: 0 / 0.8077 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.1973, allocations: 236.3 kB / 0.808 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.1974, allocations: 23.97 kB / 0.808 GB, free: 11.69 MB / 490.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.0004627/0.1979, allocations: 369.5 kB / 0.8083 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.198, allocations: 126 kB / 0.8085 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.1983, allocations: 145 kB / 0.8086 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1983, allocations: 4 kB / 0.8086 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1984, allocations: 0 / 0.8086 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1984, allocations: 0 / 0.8086 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.199, allocations: 0.6833 MB / 0.8093 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.199, allocations: 0 / 0.8093 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.199, allocations: 11.92 kB / 0.8093 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.199, allocations: 4 kB / 0.8093 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1991, allocations: 0 / 0.8093 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1991, allocations: 0 / 0.8093 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1991, allocations: 0 / 0.8093 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.2, allocations: 1.063 MB / 0.8103 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.2002, allocations: 199.1 kB / 0.8105 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.2002, allocations: 0 / 0.8105 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.2004, allocations: 7.984 kB / 0.8105 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.2005, allocations: 8 kB / 0.8105 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.2005, allocations: 15.97 kB / 0.8105 GB, free: 8.949 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001157/0.2017, allocations: 1.089 MB / 0.8116 GB, free: 7.836 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2017, allocations: 0 / 0.8116 GB, free: 7.836 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001019/0.2027, allocations: 435.9 kB / 0.812 GB, free: 7.41 MB / 490.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.001116/0.2039, allocations: 491.7 kB / 0.8125 GB, free: 6.922 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002236/0.2061, allocations: 2.648 MB / 0.8151 GB, free: 4.266 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2061, allocations: 0 / 0.8151 GB, free: 4.266 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.2064, allocations: 339.8 kB / 0.8154 GB, free: 3.934 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2069, allocations: 55.64 kB / 0.8155 GB, free: 3.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.21, allocations: 2.859 MB / 0.8182 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/0.2107, allocations: 1.153 MB / 0.8194 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.2109, allocations: 36.5 kB / 0.8194 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.211, allocations: 31.41 kB / 0.8194 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.211, allocations: 4 kB / 0.8194 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of Templates: time 0.0171/0.2281, allocations: 9.731 MB / 0.8289 GB, free: 5.992 MB / 0.4948 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)