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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.596/1.596, allocations: 288.4 MB / 303.3 MB, free: 8.16 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.0009942/0.0009941, allocations: 179.2 kB / 372 MB, free: 10.3 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.42/1.42, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0008099/0.0008097, allocations: 92.89 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003813, allocations: 17.25 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001238/0.1893, allocations: 1.111 MB / 0.9808 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1929, allocations: 2.856 MB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.193, allocations: 0 / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1931, allocations: 11.92 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.1933, allocations: 19.91 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.1953, allocations: 0.7525 MB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.1954, allocations: 103.7 kB / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.1955, allocations: 288 / 0.9844 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.444e-05/0.1956, allocations: 35.91 kB / 0.9845 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.1958, allocations: 243.7 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.1959, allocations: 15.94 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.1976, allocations: 1.306 MB / 0.986 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.198, allocations: 0.6976 MB / 0.9867 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1982, allocations: 184.9 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1992, allocations: 1.177 MB / 0.988 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1993, allocations: 3.938 kB / 0.988 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1993, allocations: 0 / 0.988 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.1993, allocations: 0 / 0.988 GB, free: 19.02 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.008654/0.2079, allocations: 1.605 MB / 0.9896 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.208, allocations: 16.02 kB / 0.9896 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.208, allocations: 34.56 kB / 0.9896 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.2084, allocations: 142 kB / 0.9897 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.2089, allocations: 0.4933 MB / 0.9902 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2089, allocations: 11.94 kB / 0.9902 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.2089, allocations: 4 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.2093, allocations: 395.1 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2093, allocations: 0 / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2093, allocations: 0 / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2093, allocations: 4 kB / 0.9906 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.2097, allocations: 431.8 kB / 0.991 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.2102, allocations: 0.8112 MB / 0.9918 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.2106, allocations: 0.5633 MB / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.2108, allocations: 333.7 kB / 0.9927 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000782/0.2116, allocations: 1.04 MB / 0.9937 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.2119, allocations: 412.8 kB / 0.9941 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.2119, allocations: 0 / 0.9941 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009684/0.2129, allocations: 1.339 MB / 0.9954 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2129, allocations: 85.23 kB / 0.9955 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.2142, allocations: 1.835 MB / 0.9973 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/0.2143, allocations: 29.69 kB / 0.9973 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.2146, allocations: 485.2 kB / 0.9978 GB, free: 8.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2146, allocations: 23.69 kB / 0.9978 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.2146, allocations: 0 / 0.9978 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.2147, allocations: 410.9 kB / 0.9982 GB, free: 8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.2156, allocations: 1.518 MB / 0.9997 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/0.2166, allocations: 1.638 MB / 1.001 GB, free: 4.832 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2178, allocations: 2.047 MB / 1.003 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2178, allocations: 0 / 1.003 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003736/0.2215, allocations: 4.296 MB / 1.007 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.2216, allocations: 12 kB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2216, allocations: 0 / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.2216, allocations: 0 / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2218, allocations: 15.98 kB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2218, allocations: 7.938 kB / 1.008 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.2223, allocations: 232.3 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.2224, allocations: 23.98 kB / 1.008 GB, free: 14.14 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.0004574/0.2229, allocations: 370.8 kB / 1.008 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.931e-05/0.223, allocations: 118 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.2233, allocations: 149 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2233, allocations: 0 / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2233, allocations: 0 / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2234, allocations: 4 kB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006126/0.224, allocations: 0.6793 MB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.224, allocations: 4 kB / 1.009 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.2241, allocations: 15.95 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.2241, allocations: 3.984 kB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2241, allocations: 8 kB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2241, allocations: 0 / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2241, allocations: 0 / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009697/0.2251, allocations: 1.059 MB / 1.01 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2253, allocations: 191.1 kB / 1.01 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.2254, allocations: 7.938 kB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.2256, allocations: 3.984 kB / 1.01 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.2256, allocations: 8 kB / 1.01 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.2256, allocations: 15.97 kB / 1.01 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001257/0.2269, allocations: 1.093 MB / 1.011 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2269, allocations: 11.94 kB / 1.011 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00106/0.228, allocations: 431.9 kB / 1.012 GB, free: 9.855 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.002372/0.2304, allocations: 1.974 MB / 1.014 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002369/0.2327, allocations: 2.644 MB / 1.016 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2328, allocations: 0 / 1.016 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003258/0.2331, allocations: 343.8 kB / 1.017 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.2335, allocations: 47.39 kB / 1.017 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06124/0.2947, allocations: 30.56 MB / 1.047 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000771/0.2956, allocations: 1.149 MB / 1.048 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002453/0.2958, allocations: 32.55 kB / 1.048 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.2963, allocations: 431.3 kB / 1.048 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of SimCode: time 1.132e-06/0.2963, allocations: 3.938 kB / 1.048 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4595/0.7558, allocations: 58.73 MB / 1.105 GB, free: 73.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.756, allocations: 276.6 kB / 1.106 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.45, allocations: 5.625 kB / 1.106 GB, free: 73.51 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)