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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01139/0.01139, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002583/0.002583, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.471/1.471, allocations: 251.7 MB / 0.5094 GB, free: 3.066 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.31 kB / 0.7259 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.217, allocations: 104.7 MB / 0.8281 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002437/0.2195, allocations: 1.412 MB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.224, allocations: 3.07 MB / 0.8325 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.224, allocations: 0 / 0.8325 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2242, allocations: 7.875 kB / 0.8325 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.2244, allocations: 35.83 kB / 0.8325 GB, free: 11.66 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.002341/0.2268, allocations: 0.9967 MB / 0.8335 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2269, allocations: 79.75 kB / 0.8336 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.227, allocations: 7.984 kB / 0.8336 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-05/0.2271, allocations: 35.86 kB / 0.8336 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.2273, allocations: 165.6 kB / 0.8338 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.2273, allocations: 15.94 kB / 0.8338 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.2291, allocations: 1.381 MB / 0.8351 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006233/0.2298, allocations: 0.6874 MB / 0.8358 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003389/0.2301, allocations: 441 kB / 0.8362 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.232, allocations: 1.784 MB / 0.838 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.232, allocations: 0 / 0.838 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.232, allocations: 0 / 0.838 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.232, allocations: 0 / 0.838 GB, free: 6.07 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.008067/0.2401, allocations: 1.69 MB / 0.8396 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2401, allocations: 11.97 kB / 0.8396 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.2405, allocations: 146.9 kB / 0.8398 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.2411, allocations: 0.5211 MB / 0.8403 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.2411, allocations: 8.359 kB / 0.8403 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.2412, allocations: 8.375 kB / 0.8403 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.2416, allocations: 387.5 kB / 0.8407 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2416, allocations: 0 / 0.8407 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2417, allocations: 3.938 kB / 0.8407 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2417, allocations: 0 / 0.8407 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.2421, allocations: 443.7 kB / 0.8411 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.2429, allocations: 0.8074 MB / 0.8419 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.2434, allocations: 0.5594 MB / 0.8424 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.2438, allocations: 337.7 kB / 0.8428 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.2449, allocations: 1.032 MB / 0.8438 GB, free: 15.69 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004031/0.2453, allocations: 408.8 kB / 0.8442 GB, free: 15.27 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2453, allocations: 0 / 0.8442 GB, free: 15.27 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001322/0.2467, allocations: 1.335 MB / 0.8455 GB, free: 13.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.2467, allocations: 89.08 kB / 0.8455 GB, free: 13.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.2485, allocations: 1.842 MB / 0.8473 GB, free: 11.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.2485, allocations: 37.83 kB / 0.8474 GB, free: 11.89 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.2489, allocations: 477.2 kB / 0.8478 GB, free: 11.42 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.2489, allocations: 19.8 kB / 0.8479 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.2493, allocations: 347.5 kB / 0.8482 GB, free: 11.05 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2494, allocations: 301.1 kB / 0.8485 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2508, allocations: 1.51 MB / 0.8499 GB, free: 9.246 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.2522, allocations: 1.653 MB / 0.8516 GB, free: 7.582 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007033/0.2592, allocations: 3.682 MB / 0.8552 GB, free: 3.809 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.2593, allocations: 0 / 0.8552 GB, free: 3.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00445/0.2637, allocations: 4.327 MB / 0.8594 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2638, allocations: 8.031 kB / 0.8594 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.2638, allocations: 4 kB / 0.8594 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.2638, allocations: 4 kB / 0.8594 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.264, allocations: 15.98 kB / 0.8594 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.264, allocations: 7.875 kB / 0.8594 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/0.2645, allocations: 224.3 kB / 0.8596 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.2646, allocations: 27.98 kB / 0.8597 GB, free: 15.16 MB / 0.6856 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.0004879/0.2651, allocations: 373.5 kB / 0.86 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2652, allocations: 126 kB / 0.8601 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.2656, allocations: 145 kB / 0.8603 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2656, allocations: 0 / 0.8603 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2656, allocations: 7.938 kB / 0.8603 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2656, allocations: 3.984 kB / 0.8603 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.2662, allocations: 0.6717 MB / 0.8609 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2662, allocations: 0 / 0.8609 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.2663, allocations: 15.95 kB / 0.861 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2663, allocations: 3.984 kB / 0.861 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2663, allocations: 4 kB / 0.861 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2663, allocations: 0 / 0.861 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2663, allocations: 0 / 0.861 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009844/0.2673, allocations: 1.059 MB / 0.862 GB, free: 12.65 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.2675, allocations: 203 kB / 0.8622 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.2676, allocations: 3.938 kB / 0.8622 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.2678, allocations: 7.984 kB / 0.8622 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2678, allocations: 4 kB / 0.8622 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.2679, allocations: 7.984 kB / 0.8622 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001237/0.2691, allocations: 1.112 MB / 0.8633 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2691, allocations: 0 / 0.8633 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001374/0.2705, allocations: 435.9 kB / 0.8637 GB, free: 10.85 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.001255/0.2718, allocations: 478.8 kB / 0.8642 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.2744, allocations: 2.655 MB / 0.8668 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2744, allocations: 0 / 0.8668 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.2747, allocations: 340.1 kB / 0.8671 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2751, allocations: 51.34 kB / 0.8671 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.2782, allocations: 2.562 MB / 0.8696 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.279, allocations: 1.157 MB / 0.8708 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000134/0.2791, allocations: 36.53 kB / 0.8708 GB, free: 3.496 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.2792, allocations: 27.36 kB / 0.8708 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/0.2792, allocations: 0 / 0.8708 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of Templates: time 0.01823/0.2975, allocations: 10.12 MB / 0.8807 GB, free: 9.395 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)