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.006088/0.006088, allocations: 101.9 kB / 15.74 MB, free: 6.027 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.001452/0.001452, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.367/1.367, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.541/1.541, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001369/0.001369, allocations: 75.88 kB / 0.7259 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2097, 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.002741/0.2125, allocations: 1.731 MB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005595/0.2181, allocations: 4.272 MB / 0.834 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.2182, allocations: 4 kB / 0.834 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.2192, allocations: 362.4 kB / 0.8343 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2194, 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.002189/0.2216, allocations: 0.9889 MB / 0.8353 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.2218, allocations: 147.4 kB / 0.8355 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.2219, allocations: 17.48 kB / 0.8355 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.2219, allocations: 39.86 kB / 0.8355 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.2221, allocations: 163.5 kB / 0.8357 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.2222, allocations: 19.94 kB / 0.8357 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/0.2241, allocations: 1.385 MB / 0.8371 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2244, allocations: 275.8 kB / 0.8373 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.2246, allocations: 302.1 kB / 0.8376 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.2264, allocations: 1.561 MB / 0.8391 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2264, allocations: 0 / 0.8391 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2264, allocations: 0 / 0.8391 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.2264, allocations: 0 / 0.8391 GB, free: 4.82 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.009921/0.2364, allocations: 1.317 MB / 0.8404 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2364, allocations: 12.03 kB / 0.8404 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.2368, allocations: 100.2 kB / 0.8405 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.2373, allocations: 402.2 kB / 0.8409 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2374, allocations: 4.375 kB / 0.8409 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.2374, allocations: 8.375 kB / 0.8409 GB, free: 2.887 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.2378, allocations: 399.4 kB / 0.8413 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2379, allocations: 4 kB / 0.8413 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2379, allocations: 0 / 0.8413 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2379, allocations: 0 / 0.8413 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.2383, allocations: 435.7 kB / 0.8417 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.2389, allocations: 0.6696 MB / 0.8424 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.2394, allocations: 0.5594 MB / 0.8429 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.2398, allocations: 333.7 kB / 0.8433 GB, free: 436 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.2408, allocations: 1.032 MB / 0.8443 GB, free: 15.17 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.2412, allocations: 416.7 kB / 0.8447 GB, free: 14.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.2412, allocations: 0 / 0.8447 GB, free: 14.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001345/0.2426, allocations: 1.297 MB / 0.8459 GB, free: 13.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.2427, allocations: 85.09 kB / 0.846 GB, free: 13.34 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.2439, allocations: 1.285 MB / 0.8473 GB, free: 12.04 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.244, allocations: 29.7 kB / 0.8473 GB, free: 12.01 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.2442, allocations: 285.9 kB / 0.8476 GB, free: 11.72 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.2442, allocations: 23.83 kB / 0.8476 GB, free: 11.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.2446, allocations: 351.7 kB / 0.8479 GB, free: 11.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.2447, allocations: 322 kB / 0.8482 GB, free: 11.03 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.2459, allocations: 1.361 MB / 0.8496 GB, free: 9.668 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.2472, allocations: 1.492 MB / 0.851 GB, free: 8.168 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007215/0.2544, allocations: 3.545 MB / 0.8545 GB, free: 4.531 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.2545, allocations: 3.938 kB / 0.8545 GB, free: 4.527 MB / 0.67 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004104/0.2586, allocations: 3.977 MB / 0.8584 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2586, allocations: 6.656 kB / 0.8584 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.2586, allocations: 4 kB / 0.8584 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2587, allocations: 0 / 0.8584 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2588, allocations: 19.92 kB / 0.8584 GB, free: 500 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2588, allocations: 4.031 kB / 0.8584 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.2593, allocations: 249.4 kB / 0.8586 GB, free: 244 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.2594, allocations: 19.98 kB / 0.8587 GB, free: 224 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.0002981/0.2597, allocations: 241.7 kB / 0.8589 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.2597, allocations: 83.23 kB / 0.859 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.26, allocations: 83.66 kB / 0.859 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.26, allocations: 0 / 0.859 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2601, allocations: 0 / 0.859 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2601, allocations: 7.984 kB / 0.859 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.2605, allocations: 0.5099 MB / 0.8595 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2605, allocations: 3.984 kB / 0.8596 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.2606, allocations: 11.94 kB / 0.8596 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2606, allocations: 0 / 0.8596 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2606, allocations: 7.984 kB / 0.8596 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2606, allocations: 4 kB / 0.8596 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.2607, allocations: 32 / 0.8596 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.2615, allocations: 1.014 MB / 0.8606 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2617, allocations: 164.3 kB / 0.8607 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.748e-05/0.2617, allocations: 11.98 kB / 0.8607 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2619, allocations: 0 / 0.8607 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.262, allocations: 11.98 kB / 0.8607 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.262, allocations: 11.98 kB / 0.8608 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007791/0.2628, allocations: 0.7218 MB / 0.8615 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2628, allocations: 0 / 0.8615 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001117/0.2639, allocations: 403 kB / 0.8618 GB, free: 12.84 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.001191/0.2651, allocations: 493.9 kB / 0.8623 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.2674, allocations: 2.492 MB / 0.8647 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2674, allocations: 3.938 kB / 0.8648 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.2677, allocations: 343.8 kB / 0.8651 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2681, allocations: 64.58 kB / 0.8651 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.2703, allocations: 1.875 MB / 0.867 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.2708, allocations: 0.9877 MB / 0.8679 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.271, allocations: 45.91 kB / 0.868 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2711, allocations: 31.42 kB / 0.868 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/0.2711, allocations: 0 / 0.868 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of Templates: time 0.01709/0.2882, allocations: 10.16 MB / 0.8779 GB, free: 12.33 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)