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.001185/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.459/1.459, allocations: 205.1 MB / 222 MB, free: 4.777 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.729/1.729, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.002014/0.002014, allocations: 73.45 kB / 0.671 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 114.5 MB / 0.7828 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002549/0.2533, allocations: 1.469 MB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00513/0.2585, allocations: 3.279 MB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.2585, allocations: 0 / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.33e-05/0.2586, allocations: 7.922 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.2588, allocations: 27.91 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.2609, allocations: 0.7756 MB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.261, allocations: 103.7 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.2611, allocations: 4.281 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.2612, allocations: 39.84 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.2614, allocations: 156.9 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.2615, allocations: 12 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.2636, allocations: 1.404 MB / 0.7899 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.2638, allocations: 267.8 kB / 0.7902 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002255/0.264, allocations: 270.3 kB / 0.7905 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.2658, allocations: 1.473 MB / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2658, allocations: 0 / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2658, allocations: 0 / 0.7919 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.2658, allocations: 4 kB / 0.7919 GB, free: 4.539 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.007761/0.2736, allocations: 1.207 MB / 0.7931 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2736, allocations: 12.03 kB / 0.7931 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.2737, allocations: 34.75 kB / 0.7931 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.2741, allocations: 83.69 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.2745, allocations: 368.8 kB / 0.7935 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2746, allocations: 4.375 kB / 0.7936 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.2746, allocations: 8.359 kB / 0.7936 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004652/0.2751, allocations: 395.3 kB / 0.7939 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2751, allocations: 0 / 0.7939 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2751, allocations: 0 / 0.7939 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2752, allocations: 0 / 0.7939 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.2756, allocations: 439.7 kB / 0.7944 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.2763, allocations: 0.6287 MB / 0.795 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.2768, allocations: 0.5594 MB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.2771, allocations: 341.6 kB / 0.7958 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.2782, allocations: 1.032 MB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.2787, allocations: 408.7 kB / 0.7972 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 2.494e-06/0.2787, allocations: 4 kB / 0.7972 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001229/0.2799, allocations: 1.293 MB / 0.7985 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.28, allocations: 81.11 kB / 0.7986 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2811, allocations: 1.206 MB / 0.7998 GB, free: 12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.2812, allocations: 25.7 kB / 0.7998 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.2814, allocations: 257.4 kB / 0.8 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.2814, allocations: 27.72 kB / 0.8001 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.2818, allocations: 355.5 kB / 0.8004 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2819, allocations: 314.1 kB / 0.8007 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.2832, allocations: 1.365 MB / 0.802 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.2844, allocations: 1.493 MB / 0.8035 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/0.2913, allocations: 3.538 MB / 0.8069 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2914, allocations: 0 / 0.8069 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004122/0.2955, allocations: 3.969 MB / 0.8108 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2955, allocations: 8 kB / 0.8108 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2956, allocations: 0 / 0.8108 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2956, allocations: 0 / 0.8108 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.2957, allocations: 15.98 kB / 0.8108 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2958, allocations: 4 kB / 0.8108 GB, free: 500 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.2962, allocations: 228.3 kB / 0.8111 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.2963, allocations: 27.98 kB / 0.8111 GB, free: 240 kB / 0.6231 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.0002827/0.2966, allocations: 233.8 kB / 0.8113 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.2966, allocations: 70.7 kB / 0.8114 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000289/0.2969, allocations: 70.91 kB / 0.8114 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2969, allocations: 7.969 kB / 0.8115 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.2969, allocations: 4 kB / 0.8115 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.297, allocations: 3.984 kB / 0.8115 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.2974, allocations: 0.4888 MB / 0.8119 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2974, allocations: 3.938 kB / 0.8119 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.2975, allocations: 7.984 kB / 0.812 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.2975, allocations: 4 kB / 0.812 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2975, allocations: 0 / 0.812 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2975, allocations: 0 / 0.812 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2975, allocations: 4 kB / 0.812 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008441/0.2983, allocations: 0.9935 MB / 0.8129 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2985, allocations: 155.8 kB / 0.8131 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.2985, allocations: 7.938 kB / 0.8131 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2987, allocations: 11.98 kB / 0.8131 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.2987, allocations: 15.94 kB / 0.8131 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.2988, allocations: 11.97 kB / 0.8131 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006639/0.2994, allocations: 0.6687 MB / 0.8138 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2995, allocations: 0 / 0.8138 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001041/0.3005, allocations: 395.9 kB / 0.8142 GB, free: 12.98 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.002366/0.3029, allocations: 1.917 MB / 0.816 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.3051, allocations: 2.5 MB / 0.8185 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3051, allocations: 0 / 0.8185 GB, free: 8.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.3055, allocations: 339.8 kB / 0.8188 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3058, allocations: 45.41 kB / 0.8188 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.3205, allocations: 15.03 MB / 0.8335 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.321, allocations: 0.9601 MB / 0.8344 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.3212, allocations: 40.53 kB / 0.8345 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3215, allocations: 259.3 kB / 0.8347 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of SimCode: time 6.92e-07/0.3215, allocations: 0 / 0.8347 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03403/0.3555, allocations: 19.05 MB / 0.8533 GB, free: 4.816 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.3558, allocations: 295.2 kB / 0.8536 GB, free: 4.438 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.825, allocations: 0 / 0.8536 GB, free: 4.438 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)