Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 297.4 MB / 312.6 MB, free: 2.902 MB / 234.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.0008961/0.0008958, allocations: 178 kB / 382.3 MB, free: 14.83 MB / 314.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.351/1.351, allocations: 225.7 MB / 0.6617 GB, free: 7.223 MB / 490.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.0008483/0.0008484, allocations: 97.44 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 9.031 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5383/0.5387, allocations: 119.2 MB / 1.022 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001333/0.54, allocations: 1.124 MB / 1.023 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004243/0.5443, allocations: 5.063 MB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.5443, allocations: 6.875 kB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.332e-05/0.5445, allocations: 8.219 kB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.5447, allocations: 29.36 kB / 1.028 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.5464, allocations: 0.7622 MB / 1.029 GB, free: 52.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.5465, allocations: 114.8 kB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.5466, allocations: 8.328 kB / 1.029 GB, free: 52.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.5467, allocations: 33.08 kB / 1.029 GB, free: 52.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.5469, allocations: 157.8 kB / 1.029 GB, free: 52.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.634e-05/0.5469, allocations: 11.22 kB / 1.029 GB, free: 52.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.5486, allocations: 1.329 MB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.5488, allocations: 268.2 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.549, allocations: 303.8 kB / 1.031 GB, free: 51.95 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.5505, allocations: 1.463 MB / 1.033 GB, free: 51.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5506, allocations: 0.75 kB / 1.033 GB, free: 51.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5506, allocations: 1.656 kB / 1.033 GB, free: 51.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.5506, allocations: 0 / 1.033 GB, free: 51.48 MB / 0.698 GB 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.007067/0.5576, allocations: 1.164 MB / 1.034 GB, free: 50.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5577, allocations: 7.5 kB / 1.034 GB, free: 50.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.558, allocations: 81.45 kB / 1.034 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.5583, allocations: 371.7 kB / 1.034 GB, free: 50.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.5583, allocations: 6.844 kB / 1.034 GB, free: 50.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.5584, allocations: 5.797 kB / 1.034 GB, free: 50.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.5588, allocations: 399.2 kB / 1.035 GB, free: 50.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.5588, allocations: 3.938 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5588, allocations: 3.141 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5588, allocations: 2.5 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.5592, allocations: 431.8 kB / 1.035 GB, free: 50.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.5597, allocations: 0.6255 MB / 1.036 GB, free: 49.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004248/0.5601, allocations: 0.564 MB / 1.036 GB, free: 49.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.5604, allocations: 335 kB / 1.037 GB, free: 49.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/0.5612, allocations: 1.037 MB / 1.038 GB, free: 48.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.5615, allocations: 412 kB / 1.038 GB, free: 48.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.5615, allocations: 0 / 1.038 GB, free: 48.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001152/0.5627, allocations: 1.292 MB / 1.039 GB, free: 48.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.5627, allocations: 79.11 kB / 1.039 GB, free: 48.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/0.5637, allocations: 1.192 MB / 1.041 GB, free: 47.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5637, allocations: 30.16 kB / 1.041 GB, free: 47.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.5638, allocations: 262.8 kB / 1.041 GB, free: 47.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.5639, allocations: 26.83 kB / 1.041 GB, free: 47.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.5639, allocations: 4 kB / 1.041 GB, free: 47.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.401e-05/0.564, allocations: 415.9 kB / 1.041 GB, free: 47.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.5651, allocations: 1.366 MB / 1.043 GB, free: 46.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.566, allocations: 1.487 MB / 1.044 GB, free: 46.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007504/0.5735, allocations: 3.509 MB / 1.047 GB, free: 44.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5736, allocations: 0 / 1.047 GB, free: 44.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003293/0.5769, allocations: 3.949 MB / 1.051 GB, free: 42.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.5769, allocations: 3.219 kB / 1.051 GB, free: 42.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.577, allocations: 3.125 kB / 1.051 GB, free: 42.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.577, allocations: 1.312 kB / 1.051 GB, free: 42.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.5771, allocations: 17.7 kB / 1.051 GB, free: 42.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5771, allocations: 4.031 kB / 1.051 GB, free: 42.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.5776, allocations: 232.9 kB / 1.052 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.5776, allocations: 22.38 kB / 1.052 GB, free: 42.25 MB / 0.698 GB 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.0002411/0.5779, allocations: 240.6 kB / 1.052 GB, free: 42.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.5779, allocations: 68.09 kB / 1.052 GB, free: 42.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.5782, allocations: 74.06 kB / 1.052 GB, free: 42.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5782, allocations: 3.156 kB / 1.052 GB, free: 42.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5782, allocations: 0 / 1.052 GB, free: 42.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.5782, allocations: 2.625 kB / 1.052 GB, free: 42.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.5785, allocations: 498.7 kB / 1.052 GB, free: 41.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5785, allocations: 0 / 1.052 GB, free: 41.74 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.5786, allocations: 14.45 kB / 1.052 GB, free: 41.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5786, allocations: 0 / 1.052 GB, free: 41.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5786, allocations: 3.188 kB / 1.052 GB, free: 41.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5786, allocations: 3.938 kB / 1.052 GB, free: 41.73 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5786, allocations: 4.031 kB / 1.052 GB, free: 41.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.5793, allocations: 1.003 MB / 1.053 GB, free: 41.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.5794, allocations: 155.9 kB / 1.054 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.5795, allocations: 3.891 kB / 1.054 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5796, allocations: 7.125 kB / 1.054 GB, free: 41.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.5796, allocations: 8.219 kB / 1.054 GB, free: 41.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.5797, allocations: 16.23 kB / 1.054 GB, free: 41.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005742/0.5803, allocations: 0.6509 MB / 1.054 GB, free: 41.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5803, allocations: 2.812 kB / 1.054 GB, free: 41.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001051/0.5813, allocations: 397.2 kB / 1.055 GB, free: 41.13 MB / 0.698 GB 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.001027/0.5824, allocations: 498.9 kB / 1.055 GB, free: 40.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.584, allocations: 2.488 MB / 1.058 GB, free: 39.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.584, allocations: 0 / 1.058 GB, free: 39.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.5843, allocations: 347.5 kB / 1.058 GB, free: 39.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5846, allocations: 36.78 kB / 1.058 GB, free: 39.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.5863, allocations: 1.931 MB / 1.06 GB, free: 39.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5866, allocations: 0.9655 MB / 1.061 GB, free: 38.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001595/0.5867, allocations: 35.81 kB / 1.061 GB, free: 38.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.5868, allocations: 22.81 kB / 1.061 GB, free: 38.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.5868, allocations: 0 / 1.061 GB, free: 38.45 MB / 0.698 GB Notification: Performance of Templates: time 0.01361/0.6004, allocations: 9.176 MB / 1.07 GB, free: 37.86 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)