Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.799/1.799, allocations: 288.4 MB / 303.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 180.5 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008832/0.0008831, allocations: 102.9 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 12.84 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2241, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001493/0.2256, allocations: 1.109 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.2296, allocations: 2.856 MB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.2297, allocations: 3.938 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.2298, allocations: 7.922 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.23, allocations: 27.91 kB / 0.9841 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.2323, allocations: 0.762 MB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2324, allocations: 91.73 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.2325, allocations: 4.281 kB / 0.985 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.594e-05/0.2326, allocations: 43.83 kB / 0.985 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2328, allocations: 171.7 kB / 0.9852 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.2328, allocations: 15.94 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.2347, allocations: 1.334 MB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.2349, allocations: 259.2 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.2351, allocations: 279.7 kB / 0.987 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.2367, allocations: 0.9939 MB / 0.988 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.2367, allocations: 4 kB / 0.988 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2367, allocations: 3.938 kB / 0.988 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.2367, allocations: 0 / 0.988 GB, free: 19.21 MB / 0.6198 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.009273/0.246, allocations: 1.152 MB / 0.9891 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.857e-05/0.2461, allocations: 12.03 kB / 0.9891 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.2462, allocations: 30.75 kB / 0.9892 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.2466, allocations: 87.77 kB / 0.9892 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.2471, allocations: 376.7 kB / 0.9896 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2471, allocations: 384 / 0.9896 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.2472, allocations: 4.375 kB / 0.9896 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.2476, allocations: 399.2 kB / 0.99 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2476, allocations: 0 / 0.99 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2477, allocations: 8 kB / 0.99 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2477, allocations: 0 / 0.99 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004201/0.2481, allocations: 427.8 kB / 0.9904 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.2488, allocations: 0.6287 MB / 0.991 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.2494, allocations: 0.5672 MB / 0.9916 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.2497, allocations: 337.7 kB / 0.9919 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.2509, allocations: 1.044 MB / 0.9929 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.2514, allocations: 412.8 kB / 0.9933 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.224e-06/0.2514, allocations: 0 / 0.9933 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.00127/0.2527, allocations: 1.289 MB / 0.9946 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.2527, allocations: 81.09 kB / 0.9946 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.254, allocations: 1.194 MB / 0.9958 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.2541, allocations: 25.7 kB / 0.9958 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.2543, allocations: 265.3 kB / 0.9961 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/0.2543, allocations: 19.8 kB / 0.9961 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.2544, allocations: 7.938 kB / 0.9961 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2545, allocations: 420 kB / 0.9965 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009836/0.2555, allocations: 1.361 MB / 0.9978 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.2567, allocations: 1.493 MB / 0.9993 GB, free: 7.117 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007303/0.264, allocations: 3.506 MB / 1.003 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.264, allocations: 0 / 1.003 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003601/0.2676, allocations: 3.945 MB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.2677, allocations: 4 kB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/0.2677, allocations: 4 kB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2677, allocations: 0 / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2679, allocations: 19.92 kB / 1.007 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2679, allocations: 4.031 kB / 1.007 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.2685, allocations: 232.3 kB / 1.007 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.2685, allocations: 23.98 kB / 1.007 GB, free: 15.26 MB / 0.6355 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.2689, allocations: 242.9 kB / 1.007 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.269, allocations: 66.72 kB / 1.007 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.2693, allocations: 78.89 kB / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2693, allocations: 0 / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2693, allocations: 0 / 1.007 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.2693, allocations: 4 kB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.2698, allocations: 492.8 kB / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2698, allocations: 3.938 kB / 1.008 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.2699, allocations: 7.984 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2699, allocations: 0 / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2699, allocations: 4 kB / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2699, allocations: 0 / 1.008 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2699, allocations: 4.031 kB / 1.008 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2709, allocations: 1.005 MB / 1.009 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2711, allocations: 155.8 kB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.2711, allocations: 8 kB / 1.009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.2713, allocations: 11.98 kB / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.2713, allocations: 0 / 1.009 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.2714, allocations: 15.97 kB / 1.009 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000772/0.2721, allocations: 0.657 MB / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.073e-06/0.2721, allocations: 0 / 1.01 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001187/0.2733, allocations: 403.8 kB / 1.01 GB, free: 12.01 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002467/0.2758, allocations: 1.915 MB / 1.012 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.2782, allocations: 2.503 MB / 1.014 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2783, allocations: 0 / 1.014 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.2786, allocations: 343.7 kB / 1.015 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.279, allocations: 32.48 kB / 1.015 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.29, allocations: 9.585 MB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.2906, allocations: 0.9601 MB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001855/0.2908, allocations: 40.67 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.2911, allocations: 259.3 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of SimCode: time 2.655e-06/0.2911, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4718/0.7629, allocations: 18.61 MB / 1.043 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003759/0.7634, allocations: 285.5 kB / 1.044 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.755/3.518, allocations: 3.375 kB / 1.044 GB, free: 9.469 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)