Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001511/0.00151, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001763/0.001763, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.456/1.456, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5495 GB, free: 17.58 MB / 462.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.001606/0.001606, allocations: 71.91 kB / 0.6722 GB, free: 6.453 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 114.5 MB / 0.7841 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003162/0.2519, allocations: 1.415 MB / 0.7854 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4452/0.6972, allocations: 3.06 MB / 0.7884 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.6973, allocations: 2.844 kB / 0.7884 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.6976, allocations: 10.64 kB / 0.7884 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.6979, allocations: 31.08 kB / 0.7885 GB, free: 46.61 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 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295: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.003099/0.701, allocations: 0.9902 MB / 0.7894 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.7011, allocations: 83.64 kB / 0.7895 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.026e-05/0.7012, allocations: 3.844 kB / 0.7895 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.226e-05/0.7013, allocations: 42.75 kB / 0.7896 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.7015, allocations: 161 kB / 0.7897 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.7016, allocations: 16.78 kB / 0.7897 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.7035, allocations: 1.375 MB / 0.7911 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006809/0.7042, allocations: 0.6852 MB / 0.7917 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003954/0.7046, allocations: 443.5 kB / 0.7922 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.707, allocations: 1.775 MB / 0.7939 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.707, allocations: 2.5 kB / 0.7939 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.625e-06/0.707, allocations: 0 / 0.7939 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.7071, allocations: 3.75 kB / 0.7939 GB, free: 45.92 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.01039/0.7175, allocations: 1.69 MB / 0.7956 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7175, allocations: 10.8 kB / 0.7956 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004022/0.7179, allocations: 142.5 kB / 0.7957 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.7184, allocations: 0.521 MB / 0.7962 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.7184, allocations: 11.75 kB / 0.7962 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.7184, allocations: 7.281 kB / 0.7962 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.7188, allocations: 387.5 kB / 0.7966 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.7189, allocations: 8.859 kB / 0.7966 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7189, allocations: 2.203 kB / 0.7966 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7189, allocations: 2.656 kB / 0.7966 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.7193, allocations: 436.3 kB / 0.797 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.72, allocations: 0.8045 MB / 0.7978 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.7206, allocations: 0.5634 MB / 0.7984 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004439/0.721, allocations: 333.4 kB / 0.7987 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009125/0.7219, allocations: 1.029 MB / 0.7997 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000438/0.7224, allocations: 407.3 kB / 0.8001 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.7224, allocations: 4 kB / 0.8001 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.00178/0.7242, allocations: 1.344 MB / 0.8014 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.7242, allocations: 81.09 kB / 0.8015 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.7266, allocations: 1.842 MB / 0.8033 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.7266, allocations: 30.77 kB / 0.8033 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.727, allocations: 485.2 kB / 0.8038 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.727, allocations: 20.17 kB / 0.8038 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.7274, allocations: 350 kB / 0.8041 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/0.7275, allocations: 302.6 kB / 0.8044 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.7289, allocations: 1.513 MB / 0.8059 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.7304, allocations: 1.641 MB / 0.8075 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/0.7375, allocations: 3.696 MB / 0.8111 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7375, allocations: 0 / 0.8111 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004741/0.7423, allocations: 4.317 MB / 0.8153 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.7423, allocations: 8.844 kB / 0.8153 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.7423, allocations: 3.531 kB / 0.8153 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.7424, allocations: 5.859 kB / 0.8153 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7425, allocations: 17.53 kB / 0.8153 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7425, allocations: 1.984 kB / 0.8153 GB, free: 36.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.7432, allocations: 231.3 kB / 0.8156 GB, free: 36.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.7433, allocations: 23.11 kB / 0.8156 GB, free: 36.76 MB / 0.6544 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.0005301/0.7438, allocations: 364.2 kB / 0.8159 GB, free: 36.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.744, allocations: 128.8 kB / 0.8161 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.7443, allocations: 150.5 kB / 0.8162 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7443, allocations: 2.062 kB / 0.8162 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.7443, allocations: 1 kB / 0.8162 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7444, allocations: 0.6094 kB / 0.8162 GB, free: 36.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.7451, allocations: 0.6762 MB / 0.8169 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7451, allocations: 0 / 0.8169 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.7452, allocations: 7.625 kB / 0.8169 GB, free: 36.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.7452, allocations: 9.125 kB / 0.8169 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.7452, allocations: 7.219 kB / 0.8169 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7452, allocations: 1.688 kB / 0.8169 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7452, allocations: 2.938 kB / 0.8169 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.7464, allocations: 1.052 MB / 0.8179 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.7465, allocations: 206.5 kB / 0.8181 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.7466, allocations: 3.672 kB / 0.8181 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.7468, allocations: 5.375 kB / 0.8181 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.7469, allocations: 9.344 kB / 0.8181 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.7469, allocations: 13.38 kB / 0.8181 GB, free: 35.76 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001381/0.7483, allocations: 1.103 MB / 0.8192 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.6e-07/0.7483, allocations: 0 / 0.8192 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001417/0.7498, allocations: 435 kB / 0.8196 GB, free: 35.36 MB / 0.6544 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.001239/0.751, allocations: 491.2 kB / 0.8201 GB, free: 35.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002732/0.7537, allocations: 2.642 MB / 0.8227 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7538, allocations: 4.062 kB / 0.8227 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.7542, allocations: 340.8 kB / 0.823 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.7548, allocations: 50.44 kB / 0.8231 GB, free: 34.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.7584, allocations: 2.65 MB / 0.8257 GB, free: 33.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/0.7592, allocations: 1.15 MB / 0.8268 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.7594, allocations: 25.56 kB / 0.8268 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.894e-06/0.7594, allocations: 1.188 kB / 0.8268 GB, free: 32.57 MB / 0.6544 GB Notification: Performance of Templates: time 0.03045/0.7898, allocations: 15.04 MB / 0.8415 GB, free: 28.56 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)