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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.759/1.759, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.001085/0.001085, allocations: 189.6 kB / 372 MB, free: 10.24 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.372/1.372, allocations: 205.4 MB / 0.6307 GB, free: 9.953 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.0008209/0.0008208, allocations: 90.3 kB / 0.744 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 15.89 kB / 0.8671 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1991, allocations: 115.3 MB / 0.9797 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00199/0.2012, allocations: 1.408 MB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00465/0.2058, allocations: 3.927 MB / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.206, allocations: 0 / 0.9849 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.207, allocations: 318.6 kB / 0.9852 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.2072, allocations: 59.72 kB / 0.9853 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.2093, allocations: 0.7434 MB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.2095, allocations: 167.4 kB / 0.9861 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.633e-05/0.2096, allocations: 9.562 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.767e-05/0.2097, allocations: 59.66 kB / 0.9862 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2099, allocations: 183.6 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.2099, allocations: 16 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.2118, allocations: 1.31 MB / 0.9877 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.212, allocations: 259.2 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.2121, allocations: 129.1 kB / 0.9881 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.2134, allocations: 1.025 MB / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2134, allocations: 0 / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2134, allocations: 0 / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.2135, allocations: 4 kB / 0.9891 GB, free: 17.88 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.008381/0.2219, allocations: 1.226 MB / 0.9903 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2219, allocations: 16.02 kB / 0.9903 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.222, allocations: 34.56 kB / 0.9903 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.2224, allocations: 90.66 kB / 0.9904 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/0.2228, allocations: 396.8 kB / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2228, allocations: 7.984 kB / 0.9908 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.2229, allocations: 8 kB / 0.9908 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003395/0.2232, allocations: 391.1 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2232, allocations: 4 kB / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.2232, allocations: 0 / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2233, allocations: 0 / 0.9912 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.2236, allocations: 439.7 kB / 0.9916 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.2241, allocations: 0.6535 MB / 0.9922 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.2245, allocations: 0.5633 MB / 0.9928 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2247, allocations: 333.7 kB / 0.9931 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/0.2256, allocations: 1.04 MB / 0.9941 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.2259, allocations: 408.8 kB / 0.9945 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.884e-06/0.2259, allocations: 0 / 0.9945 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009776/0.2269, allocations: 1.3 MB / 0.9958 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2269, allocations: 81.11 kB / 0.9958 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.2279, allocations: 1.269 MB / 0.9971 GB, free: 9.188 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.228, allocations: 33.7 kB / 0.9971 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.2281, allocations: 285.4 kB / 0.9974 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.2282, allocations: 19.75 kB / 0.9974 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.2282, allocations: 7.984 kB / 0.9974 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2283, allocations: 435.9 kB / 0.9978 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008621/0.2292, allocations: 1.354 MB / 0.9991 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.2301, allocations: 1.501 MB / 1.001 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.2312, allocations: 1.887 MB / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2312, allocations: 0 / 1.002 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003481/0.2347, allocations: 3.957 MB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.2348, allocations: 4 kB / 1.006 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.2348, allocations: 4 kB / 1.006 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2348, allocations: 0 / 1.006 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2349, allocations: 19.92 kB / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.235, allocations: 0 / 1.006 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.2354, allocations: 232.3 kB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/0.2355, allocations: 23.98 kB / 1.007 GB, free: 15.36 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.0002839/0.2358, allocations: 245.6 kB / 1.007 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.2358, allocations: 70.69 kB / 1.007 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.2361, allocations: 87.64 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2362, allocations: 4 kB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2362, allocations: 4.031 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2362, allocations: 3.984 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.2366, allocations: 0.5137 MB / 1.007 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2366, allocations: 4 kB / 1.007 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.765e-05/0.2367, allocations: 7.984 kB / 1.008 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.2367, allocations: 4 kB / 1.008 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.2367, allocations: 4 kB / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2367, allocations: 3.984 kB / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2367, allocations: 0 / 1.008 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.2376, allocations: 1.014 MB / 1.009 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.2377, allocations: 159.8 kB / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.283e-05/0.2378, allocations: 7.984 kB / 1.009 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.238, allocations: 4 kB / 1.009 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.238, allocations: 3.984 kB / 1.009 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.2381, allocations: 19.98 kB / 1.009 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007694/0.2388, allocations: 0.7101 MB / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2388, allocations: 0 / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001054/0.2399, allocations: 395.9 kB / 1.01 GB, free: 12 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.002333/0.2422, allocations: 1.929 MB / 1.012 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00203/0.2443, allocations: 2.495 MB / 1.014 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2443, allocations: 3.938 kB / 1.014 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2446, allocations: 339.8 kB / 1.014 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.245, allocations: 50.06 kB / 1.014 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.2545, allocations: 9.491 MB / 1.024 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.255, allocations: 0.9839 MB / 1.025 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002014/0.2552, allocations: 41.44 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.2555, allocations: 289.2 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/0.2555, allocations: 0 / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.2974, allocations: 18.78 MB / 1.043 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.2977, allocations: 291.5 kB / 1.044 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.826, allocations: 0 / 1.044 GB, free: 9.316 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)