Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 191.9 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.349/1.349, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.7 MB / 0.5089 GB, free: 3.223 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.23 kB / 0.6218 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3855, allocations: 104.7 MB / 0.724 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002258/0.3878, allocations: 1.481 MB / 0.7255 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004016/0.3918, allocations: 3.082 MB / 0.7285 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.771e-05/0.3918, allocations: 0 / 0.7285 GB, free: 8.609 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.516e-05/0.392, allocations: 15.94 kB / 0.7285 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3922, allocations: 27.83 kB / 0.7285 GB, free: 8.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3943, allocations: 0.8785 MB / 0.7294 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3944, allocations: 83.75 kB / 0.7295 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.3945, allocations: 7.984 kB / 0.7295 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.3945, allocations: 43.84 kB / 0.7295 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3947, allocations: 153 kB / 0.7297 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.3948, allocations: 16 kB / 0.7297 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.3965, allocations: 1.408 MB / 0.731 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.3967, allocations: 267.8 kB / 0.7313 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.3969, allocations: 270.3 kB / 0.7316 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3984, allocations: 1.488 MB / 0.733 GB, free: 3.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3984, allocations: 3.938 kB / 0.733 GB, free: 3.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3984, allocations: 4 kB / 0.733 GB, free: 3.949 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3984, allocations: 0 / 0.733 GB, free: 3.949 MB / 0.545 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.008724/0.4072, allocations: 1.207 MB / 0.7342 GB, free: 2.691 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4072, allocations: 12.03 kB / 0.7342 GB, free: 2.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.4076, allocations: 79.78 kB / 0.7343 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.408, allocations: 360.8 kB / 0.7346 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4081, allocations: 12.38 kB / 0.7346 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/0.4081, allocations: 8.359 kB / 0.7346 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.4086, allocations: 391.5 kB / 0.735 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4086, allocations: 0 / 0.735 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4086, allocations: 0 / 0.735 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4086, allocations: 3.938 kB / 0.735 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.4091, allocations: 443.7 kB / 0.7354 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.4097, allocations: 0.6286 MB / 0.7361 GB, free: 0.668 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.4103, allocations: 0.5594 MB / 0.7366 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.4107, allocations: 333.7 kB / 0.7369 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.4119, allocations: 1.032 MB / 0.7379 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/0.4124, allocations: 400.8 kB / 0.7383 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4124, allocations: 7.938 kB / 0.7383 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.001278/0.4137, allocations: 1.285 MB / 0.7396 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.4137, allocations: 89.05 kB / 0.7397 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.4148, allocations: 1.202 MB / 0.7408 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4148, allocations: 25.7 kB / 0.7409 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.415, allocations: 269.4 kB / 0.7411 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.415, allocations: 19.8 kB / 0.7411 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.4153, allocations: 347.5 kB / 0.7415 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4155, allocations: 314 kB / 0.7418 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4166, allocations: 1.361 MB / 0.7431 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.418, allocations: 1.497 MB / 0.7446 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006707/0.4247, allocations: 3.538 MB / 0.748 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4247, allocations: 0 / 0.748 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003878/0.4286, allocations: 3.961 MB / 0.7519 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4286, allocations: 10.03 kB / 0.7519 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.4286, allocations: 0 / 0.7519 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4287, allocations: 4.031 kB / 0.7519 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4288, allocations: 19.88 kB / 0.7519 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.4288, allocations: 8.297 kB / 0.7519 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.4292, allocations: 224.3 kB / 0.7521 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.4293, allocations: 23.98 kB / 0.7522 GB, free: 15.71 MB / 0.5762 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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.00026/0.4296, allocations: 233.7 kB / 0.7524 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.4296, allocations: 70.72 kB / 0.7524 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.4299, allocations: 90.75 kB / 0.7525 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4299, allocations: 0 / 0.7525 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.4299, allocations: 4 kB / 0.7525 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4299, allocations: 0 / 0.7525 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.4303, allocations: 496.7 kB / 0.753 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4303, allocations: 0 / 0.753 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.4304, allocations: 11.92 kB / 0.753 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4304, allocations: 4 kB / 0.753 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4304, allocations: 8.031 kB / 0.753 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4304, allocations: 0 / 0.753 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4304, allocations: 7.984 kB / 0.753 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.4312, allocations: 0.9974 MB / 0.754 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/0.4313, allocations: 155.8 kB / 0.7542 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.4314, allocations: 8 kB / 0.7542 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.4315, allocations: 7.984 kB / 0.7542 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.4316, allocations: 4 kB / 0.7542 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.4316, allocations: 15.97 kB / 0.7542 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006203/0.4322, allocations: 0.6687 MB / 0.7549 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4322, allocations: 0 / 0.7549 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009285/0.4332, allocations: 387.9 kB / 0.7552 GB, free: 12.45 MB / 0.5762 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.00109/0.4343, allocations: 494.7 kB / 0.7557 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001993/0.4363, allocations: 2.492 MB / 0.7581 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4363, allocations: 4.062 kB / 0.7581 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.4366, allocations: 343.7 kB / 0.7585 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.4369, allocations: 36.44 kB / 0.7585 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4387, allocations: 1.92 MB / 0.7604 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.4392, allocations: 0.964 MB / 0.7613 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.4393, allocations: 28.56 kB / 0.7613 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.4394, allocations: 23.42 kB / 0.7614 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.4394, allocations: 0 / 0.7614 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of Templates: time 0.01512/0.4546, allocations: 9.539 MB / 0.7707 GB, free: 12.59 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)