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.675/1.675, allocations: 288.4 MB / 303.3 MB, free: 8.051 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.001203/0.001203, allocations: 183 kB / 372 MB, free: 10.26 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.383/1.383, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.000772/0.000772, allocations: 105.3 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 16.34 kB / 0.8671 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001432/0.2075, allocations: 1.115 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.2111, allocations: 2.852 MB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.2112, allocations: 0 / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.2113, allocations: 11.92 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.2115, allocations: 27.91 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.2136, allocations: 0.7512 MB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2137, allocations: 95.66 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.2138, allocations: 4.281 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.2139, allocations: 35.91 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2141, allocations: 171.7 kB / 0.9846 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.2141, allocations: 12 kB / 0.9846 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.216, allocations: 1.306 MB / 0.9859 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.2161, allocations: 259.2 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.2162, allocations: 109.3 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.2174, allocations: 0.9783 MB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2174, allocations: 0 / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2174, allocations: 3.938 kB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.2175, allocations: 0 / 0.9872 GB, free: 19.77 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.008241/0.2257, allocations: 1.156 MB / 0.9884 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2258, allocations: 16.02 kB / 0.9884 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2258, allocations: 38.48 kB / 0.9884 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.2262, allocations: 82.84 kB / 0.9885 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.2265, allocations: 363.5 kB / 0.9888 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2266, allocations: 4 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2266, allocations: 7.984 kB / 0.9888 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.227, allocations: 391.2 kB / 0.9892 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.227, allocations: 0 / 0.9892 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.227, allocations: 0 / 0.9892 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.227, allocations: 8 kB / 0.9892 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.2274, allocations: 435.6 kB / 0.9896 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.2278, allocations: 0.6364 MB / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.2282, allocations: 0.5672 MB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.2284, allocations: 333.7 kB / 0.9911 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008071/0.2293, allocations: 1.044 MB / 0.9921 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.2296, allocations: 404.8 kB / 0.9925 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.2296, allocations: 0 / 0.9925 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000952/0.2305, allocations: 1.285 MB / 0.9938 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.2306, allocations: 89.22 kB / 0.9939 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/0.2314, allocations: 1.19 MB / 0.995 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.2315, allocations: 29.7 kB / 0.9951 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.2316, allocations: 265.3 kB / 0.9953 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2317, allocations: 15.81 kB / 0.9953 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.2317, allocations: 7.938 kB / 0.9953 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.5e-05/0.2318, allocations: 419.8 kB / 0.9957 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008903/0.2327, allocations: 1.365 MB / 0.9971 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009106/0.2336, allocations: 1.496 MB / 0.9985 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2348, allocations: 1.891 MB / 1 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2348, allocations: 0 / 1 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003144/0.2379, allocations: 3.957 MB / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.238, allocations: 5.406 kB / 1.004 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.238, allocations: 4 kB / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.238, allocations: 0 / 1.004 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.2381, allocations: 15.98 kB / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2382, allocations: 0 / 1.004 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.2386, allocations: 228.4 kB / 1.004 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.2386, allocations: 27.97 kB / 1.005 GB, free: 1.488 MB / 0.6198 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.0002322/0.2388, allocations: 245.6 kB / 1.005 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.2389, allocations: 62.78 kB / 1.005 GB, free: 1.176 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.2391, allocations: 70.91 kB / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2392, allocations: 0 / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2392, allocations: 0 / 1.005 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.2392, allocations: 7.984 kB / 1.005 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.2395, allocations: 0.4889 MB / 1.005 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2395, allocations: 4.031 kB / 1.005 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.2396, allocations: 4 kB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2396, allocations: 0 / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2396, allocations: 7.984 kB / 1.005 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2396, allocations: 3.938 kB / 1.005 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2396, allocations: 0 / 1.005 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.2404, allocations: 1.006 MB / 1.006 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2405, allocations: 155.8 kB / 1.007 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.2406, allocations: 7.984 kB / 1.007 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2407, allocations: 0 / 1.007 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2408, allocations: 7.984 kB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.2408, allocations: 11.98 kB / 1.007 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006907/0.2415, allocations: 0.657 MB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.643e-06/0.2416, allocations: 4 kB / 1.007 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001022/0.2426, allocations: 395.8 kB / 1.008 GB, free: 14.25 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.002304/0.2449, allocations: 1.926 MB / 1.009 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.247, allocations: 2.495 MB / 1.012 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.247, allocations: 0 / 1.012 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.2473, allocations: 343.8 kB / 1.012 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2476, allocations: 32.48 kB / 1.012 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.257, allocations: 9.573 MB / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.2575, allocations: 0.9679 MB / 1.023 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.2577, allocations: 32.56 kB / 1.023 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.258, allocations: 263.3 kB / 1.023 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of SimCode: time 1.984e-06/0.258, allocations: 0 / 1.023 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.2917, allocations: 18.61 MB / 1.041 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/0.2921, allocations: 287 kB / 1.041 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/2.858, allocations: 4 kB / 1.041 GB, free: 11.71 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)