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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0074/0.0074, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001137/0.001137, allocations: 196 kB / 16.67 MB, free: 6.355 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.403/1.403, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.542/1.542, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001411/0.001411, allocations: 67.91 kB / 0.7258 GB, free: 8.977 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2154, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002981/0.2184, allocations: 1.735 MB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.2244, allocations: 4.261 MB / 0.834 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2245, allocations: 0 / 0.834 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2258, allocations: 374.4 kB / 0.8343 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.226, allocations: 59.67 kB / 0.8344 GB, free: 9.711 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.002543/0.2285, allocations: 0.9887 MB / 0.8353 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.2288, allocations: 147.3 kB / 0.8355 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.2289, allocations: 13.56 kB / 0.8355 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.889e-05/0.2289, allocations: 51.77 kB / 0.8356 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.2292, allocations: 159.5 kB / 0.8357 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.2292, allocations: 19.94 kB / 0.8357 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/0.2313, allocations: 1.381 MB / 0.8371 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.2315, allocations: 271.8 kB / 0.8373 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.2318, allocations: 302.1 kB / 0.8376 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.234, allocations: 1.554 MB / 0.8391 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.234, allocations: 0 / 0.8391 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.234, allocations: 0 / 0.8391 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.234, allocations: 0 / 0.8391 GB, free: 4.832 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.01047/0.2445, allocations: 1.273 MB / 0.8404 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2446, allocations: 8.031 kB / 0.8404 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.245, allocations: 99.58 kB / 0.8405 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/0.2456, allocations: 402.1 kB / 0.8409 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2456, allocations: 384 / 0.8409 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.2457, allocations: 12.36 kB / 0.8409 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.2461, allocations: 395.4 kB / 0.8413 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.2461, allocations: 8 kB / 0.8413 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.2462, allocations: 4 kB / 0.8413 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2462, allocations: 0 / 0.8413 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.2466, allocations: 431.7 kB / 0.8417 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.2472, allocations: 0.6613 MB / 0.8423 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004795/0.2477, allocations: 0.5633 MB / 0.8429 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.248, allocations: 337.7 kB / 0.8432 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009426/0.2489, allocations: 1.032 MB / 0.8442 GB, free: 15.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.2493, allocations: 408.8 kB / 0.8446 GB, free: 14.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.2493, allocations: 0 / 0.8446 GB, free: 14.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001243/0.2506, allocations: 1.297 MB / 0.8459 GB, free: 13.51 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.2507, allocations: 89.14 kB / 0.8459 GB, free: 13.41 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.2518, allocations: 1.281 MB / 0.8472 GB, free: 12.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.2519, allocations: 25.7 kB / 0.8472 GB, free: 12.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.2521, allocations: 285.4 kB / 0.8475 GB, free: 11.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.2521, allocations: 27.64 kB / 0.8475 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.2525, allocations: 343.6 kB / 0.8478 GB, free: 11.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.2526, allocations: 318 kB / 0.8481 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.2537, allocations: 1.361 MB / 0.8495 GB, free: 9.75 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.255, allocations: 1.493 MB / 0.8509 GB, free: 8.246 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006872/0.2619, allocations: 3.541 MB / 0.8544 GB, free: 4.613 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2619, allocations: 0 / 0.8544 GB, free: 4.613 MB / 0.67 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004112/0.266, allocations: 3.977 MB / 0.8583 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2661, allocations: 4 kB / 0.8583 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2661, allocations: 0 / 0.8583 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2661, allocations: 4 kB / 0.8583 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.2662, allocations: 19.92 kB / 0.8583 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2663, allocations: 0 / 0.8583 GB, free: 0.5742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.2668, allocations: 236.3 kB / 0.8585 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.2668, allocations: 28.02 kB / 0.8586 GB, free: 320 kB / 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.0002996/0.2671, allocations: 241.7 kB / 0.8588 GB, free: 68 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.2672, allocations: 74.8 kB / 0.8589 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2675, allocations: 87.59 kB / 0.8589 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2675, allocations: 0 / 0.8589 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2675, allocations: 3.938 kB / 0.8589 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2676, allocations: 4.031 kB / 0.8589 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.268, allocations: 0.51 MB / 0.8594 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.268, allocations: 0 / 0.8594 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.435e-05/0.2681, allocations: 11.92 kB / 0.8595 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.2681, allocations: 4 kB / 0.8595 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2681, allocations: 0 / 0.8595 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2681, allocations: 3.938 kB / 0.8595 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2681, allocations: 4 kB / 0.8595 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008767/0.269, allocations: 1.013 MB / 0.8605 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2692, allocations: 163.7 kB / 0.8606 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.2692, allocations: 0 / 0.8606 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2694, allocations: 7.984 kB / 0.8606 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.2694, allocations: 8 kB / 0.8606 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.2695, allocations: 19.97 kB / 0.8607 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007528/0.2703, allocations: 0.714 MB / 0.8613 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2703, allocations: 0 / 0.8613 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009827/0.2713, allocations: 407.8 kB / 0.8617 GB, free: 12.94 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.001247/0.2725, allocations: 478.8 kB / 0.8622 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.2747, allocations: 2.495 MB / 0.8646 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2747, allocations: 0 / 0.8646 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.275, allocations: 339.7 kB / 0.865 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.2754, allocations: 65.31 kB / 0.865 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.2774, allocations: 1.857 MB / 0.8668 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.2779, allocations: 0.9838 MB / 0.8678 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.2781, allocations: 45.36 kB / 0.8678 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.2782, allocations: 27.42 kB / 0.8679 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.2782, allocations: 0 / 0.8679 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of Templates: time 0.01671/0.2949, allocations: 10.18 MB / 0.8778 GB, free: 12.47 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)