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.009222/0.009222, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.002031/0.002032, allocations: 198.5 kB / 16.68 MB, free: 5.977 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.551/1.551, allocations: 251.7 MB / 0.5094 GB, free: 3.02 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.001567/0.001567, allocations: 72.45 kB / 0.7259 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2045, allocations: 104.7 MB / 0.8281 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002472/0.207, allocations: 1.42 MB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004456/0.2115, allocations: 3.074 MB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.2116, allocations: 0 / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.2117, allocations: 3.938 kB / 0.8325 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2119, allocations: 39.77 kB / 0.8325 GB, free: 11.57 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-281:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.2147, allocations: 0.993 MB / 0.8335 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.2148, allocations: 87.67 kB / 0.8336 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.2149, allocations: 4 kB / 0.8336 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.215, allocations: 35.91 kB / 0.8336 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002582/0.2153, allocations: 139.7 kB / 0.8338 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.2153, allocations: 12 kB / 0.8338 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2174, allocations: 1.381 MB / 0.8351 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.2176, allocations: 271.8 kB / 0.8354 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002432/0.2178, allocations: 274.3 kB / 0.8356 GB, free: 8.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.2201, allocations: 1.48 MB / 0.8371 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2201, allocations: 0 / 0.8371 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2201, allocations: 0 / 0.8371 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.2201, allocations: 3.984 kB / 0.8371 GB, free: 6.902 MB / 0.6544 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.008166/0.2283, allocations: 1.199 MB / 0.8383 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2283, allocations: 12.03 kB / 0.8383 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.2287, allocations: 87.69 kB / 0.8384 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004127/0.2291, allocations: 360.9 kB / 0.8387 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2292, allocations: 4.375 kB / 0.8387 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2292, allocations: 4.375 kB / 0.8387 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.2296, allocations: 399.4 kB / 0.8391 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2297, allocations: 0 / 0.8391 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2297, allocations: 0 / 0.8391 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2297, allocations: 7.938 kB / 0.8391 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.2302, allocations: 435.7 kB / 0.8395 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.2307, allocations: 0.6324 MB / 0.8401 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.2313, allocations: 0.5633 MB / 0.8407 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.2316, allocations: 337.7 kB / 0.841 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.2327, allocations: 1.028 MB / 0.842 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.2331, allocations: 416.8 kB / 0.8424 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2331, allocations: 0 / 0.8424 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001319/0.2345, allocations: 1.285 MB / 0.8437 GB, free: 15.74 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.2345, allocations: 81.11 kB / 0.8437 GB, free: 15.64 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2357, allocations: 1.202 MB / 0.8449 GB, free: 14.42 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.2357, allocations: 29.69 kB / 0.8449 GB, free: 14.39 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.2359, allocations: 261.3 kB / 0.8452 GB, free: 14.12 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.2359, allocations: 27.72 kB / 0.8452 GB, free: 14.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.2363, allocations: 347.5 kB / 0.8455 GB, free: 13.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2364, allocations: 310 kB / 0.8458 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.2376, allocations: 1.361 MB / 0.8472 GB, free: 12.08 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.2389, allocations: 1.497 MB / 0.8486 GB, free: 10.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007097/0.246, allocations: 3.541 MB / 0.8521 GB, free: 6.941 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2461, allocations: 0 / 0.8521 GB, free: 6.941 MB / 0.67 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004463/0.2505, allocations: 3.969 MB / 0.856 GB, free: 2.938 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2506, allocations: 8 kB / 0.856 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2506, allocations: 0 / 0.856 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.2506, allocations: 0 / 0.856 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2508, allocations: 19.92 kB / 0.856 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2508, allocations: 4 kB / 0.856 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.2513, allocations: 228.2 kB / 0.8562 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.2514, allocations: 31.92 kB / 0.8562 GB, free: 2.648 MB / 0.67 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.0003208/0.2517, allocations: 239.5 kB / 0.8565 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.2518, allocations: 66.72 kB / 0.8565 GB, free: 2.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.252, allocations: 78.83 kB / 0.8566 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2521, allocations: 0 / 0.8566 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.2521, allocations: 4 kB / 0.8566 GB, free: 2.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2521, allocations: 3.938 kB / 0.8566 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.2525, allocations: 496.8 kB / 0.8571 GB, free: 1.711 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2525, allocations: 4.031 kB / 0.8571 GB, free: 1.707 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.2526, allocations: 11.92 kB / 0.8571 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2526, allocations: 4 kB / 0.8571 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.2526, allocations: 0 / 0.8571 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2526, allocations: 0 / 0.8571 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2527, allocations: 4 kB / 0.8571 GB, free: 1.688 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.2535, allocations: 0.9974 MB / 0.8581 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2537, allocations: 155.8 kB / 0.8582 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.2537, allocations: 0 / 0.8582 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2539, allocations: 11.98 kB / 0.8582 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.2539, allocations: 4 kB / 0.8583 GB, free: 492 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.509e-05/0.254, allocations: 11.97 kB / 0.8583 GB, free: 480 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000779/0.2548, allocations: 0.6687 MB / 0.8589 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2548, allocations: 4 kB / 0.8589 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001208/0.256, allocations: 391.8 kB / 0.8593 GB, free: 15.41 MB / 0.6856 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.001401/0.2574, allocations: 483.2 kB / 0.8598 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002422/0.2598, allocations: 2.492 MB / 0.8622 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2599, allocations: 0 / 0.8622 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.2602, allocations: 347.7 kB / 0.8625 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.2606, allocations: 40.44 kB / 0.8626 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.2628, allocations: 1.744 MB / 0.8643 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.2634, allocations: 0.9716 MB / 0.8652 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.2635, allocations: 36.56 kB / 0.8652 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.2636, allocations: 31.34 kB / 0.8653 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.2636, allocations: 0 / 0.8653 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of Templates: time 0.01678/0.2804, allocations: 9.538 MB / 0.8746 GB, free: 15.7 MB / 0.7012 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)