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_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 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001377, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 191.8 kB / 16.53 MB, free: 6.668 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.432/1.432, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.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.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001412/0.001412, allocations: 68.33 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2173, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002491/0.2198, allocations: 1.416 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004636/0.2245, allocations: 3.06 MB / 0.7879 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2246, allocations: 0 / 0.7879 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.2247, allocations: 11.86 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.225, allocations: 27.84 kB / 0.7879 GB, free: 8.84 MB / 0.6075 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.002455/0.2275, allocations: 0.9938 MB / 0.7889 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.2276, allocations: 87.67 kB / 0.789 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.2276, allocations: 4 kB / 0.789 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.2277, allocations: 35.91 kB / 0.789 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2279, allocations: 147.6 kB / 0.7892 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.228, allocations: 20 kB / 0.7892 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.23, allocations: 1.373 MB / 0.7905 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.2303, allocations: 263.8 kB / 0.7908 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.2305, allocations: 274.3 kB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.2321, allocations: 1.473 MB / 0.7925 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2321, allocations: 0 / 0.7925 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2322, allocations: 0 / 0.7925 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2322, allocations: 0 / 0.7925 GB, free: 4.172 MB / 0.6075 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.009814/0.242, allocations: 1.21 MB / 0.7936 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.2421, allocations: 12.03 kB / 0.7937 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.2421, allocations: 34.75 kB / 0.7937 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.2425, allocations: 83.69 kB / 0.7938 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.2429, allocations: 368.8 kB / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.2429, allocations: 384 / 0.7941 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.2429, allocations: 4.375 kB / 0.7941 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.2434, allocations: 395.3 kB / 0.7945 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2434, allocations: 0 / 0.7945 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2434, allocations: 8 kB / 0.7945 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2434, allocations: 0 / 0.7945 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.2438, allocations: 435.7 kB / 0.7949 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.2444, allocations: 0.6325 MB / 0.7955 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000489/0.2449, allocations: 0.5594 MB / 0.7961 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.2452, allocations: 341.6 kB / 0.7964 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.2462, allocations: 1.028 MB / 0.7974 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.2466, allocations: 416.8 kB / 0.7978 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.2466, allocations: 0 / 0.7978 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001197/0.2478, allocations: 1.293 MB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.2479, allocations: 77.11 kB / 0.7992 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.249, allocations: 1.206 MB / 0.8003 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.2491, allocations: 29.7 kB / 0.8004 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.2493, allocations: 253.4 kB / 0.8006 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.2493, allocations: 31.62 kB / 0.8006 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.2496, allocations: 351.7 kB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2498, allocations: 317.9 kB / 0.8013 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.251, allocations: 1.357 MB / 0.8026 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.2523, allocations: 1.5 MB / 0.8041 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006793/0.2591, allocations: 3.538 MB / 0.8075 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2591, allocations: 3.938 kB / 0.8075 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004279/0.2634, allocations: 3.969 MB / 0.8114 GB, free: 148 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.2634, allocations: 6.656 kB / 0.8114 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2634, allocations: 0 / 0.8114 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2635, allocations: 4 kB / 0.8114 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2636, allocations: 15.98 kB / 0.8114 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.2636, allocations: 7.969 kB / 0.8114 GB, free: 116 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.2641, allocations: 228.3 kB / 0.8116 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.2642, allocations: 23.88 kB / 0.8117 GB, free: 15.86 MB / 0.6387 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.0002772/0.2644, allocations: 233.7 kB / 0.8119 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.2645, allocations: 74.72 kB / 0.812 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.2648, allocations: 78.83 kB / 0.812 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.2648, allocations: 4 kB / 0.812 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2648, allocations: 3.938 kB / 0.812 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2648, allocations: 0 / 0.812 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.2653, allocations: 496.7 kB / 0.8125 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2653, allocations: 3.938 kB / 0.8125 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.2653, allocations: 11.98 kB / 0.8125 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2654, allocations: 0 / 0.8125 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2654, allocations: 8 kB / 0.8125 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2654, allocations: 0 / 0.8125 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2654, allocations: 4.031 kB / 0.8125 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009193/0.2663, allocations: 0.9935 MB / 0.8135 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.2664, allocations: 151.8 kB / 0.8137 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.2665, allocations: 0 / 0.8137 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2666, allocations: 15.98 kB / 0.8137 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.2667, allocations: 7.938 kB / 0.8137 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.2667, allocations: 15.97 kB / 0.8137 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006579/0.2674, allocations: 0.6648 MB / 0.8144 GB, free: 13 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2674, allocations: 0 / 0.8144 GB, free: 13 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001039/0.2684, allocations: 399.8 kB / 0.8147 GB, free: 12.61 MB / 0.6387 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.002196/0.2706, allocations: 1.922 MB / 0.8166 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.2729, allocations: 2.503 MB / 0.8191 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2729, allocations: 0 / 0.8191 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.2732, allocations: 331.8 kB / 0.8194 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.2735, allocations: 40.42 kB / 0.8194 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.287, allocations: 14.93 MB / 0.834 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.2875, allocations: 0.9562 MB / 0.8349 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.2876, allocations: 40.67 kB / 0.835 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.2879, allocations: 259.3 kB / 0.8352 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of SimCode: time 8.72e-07/0.2879, allocations: 0 / 0.8352 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.3257, allocations: 19.45 MB / 0.8542 GB, free: 4.121 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.831, allocations: 18.62 kB / 0.8542 GB, free: 4.109 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)