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_100boreholes.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_100boreholes,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009534, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006094/0.006095, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.34/1.34, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005321/0.0005322, allocations: 16.48 kB / 0.6745 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2366, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001776/0.2384, allocations: 1.138 MB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005679/0.2441, allocations: 3.202 MB / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.2442, allocations: 0 / 0.7923 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.2443, allocations: 7.922 kB / 0.7923 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.2446, allocations: 31.84 kB / 0.7923 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.2475, allocations: 0.7671 MB / 0.7931 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.2477, allocations: 111.7 kB / 0.7932 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.2478, allocations: 8.266 kB / 0.7932 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.698e-05/0.2479, allocations: 35.86 kB / 0.7932 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.2483, allocations: 224.9 kB / 0.7934 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.988e-05/0.2483, allocations: 16 kB / 0.7934 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.2511, allocations: 1.4 MB / 0.7948 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006808/0.2518, allocations: 0.6835 MB / 0.7955 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.2523, allocations: 466.7 kB / 0.7959 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.2549, allocations: 1.768 MB / 0.7976 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2549, allocations: 4 kB / 0.7976 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2549, allocations: 0 / 0.7976 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.2549, allocations: 0 / 0.7976 GB, free: 1.547 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.01148/0.2664, allocations: 1.597 MB / 0.7992 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2665, allocations: 8.031 kB / 0.7992 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.2665, allocations: 30.75 kB / 0.7992 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.267, allocations: 154.9 kB / 0.7994 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.2675, allocations: 0.5134 MB / 0.7999 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.2676, allocations: 4.375 kB / 0.7999 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-05/0.2676, allocations: 12.31 kB / 0.7999 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.2681, allocations: 395.3 kB / 0.8003 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2681, allocations: 0 / 0.8003 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2681, allocations: 0 / 0.8003 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2681, allocations: 4 kB / 0.8003 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000421/0.2686, allocations: 431.8 kB / 0.8007 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.2694, allocations: 0.8073 MB / 0.8015 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.2699, allocations: 0.5594 MB / 0.802 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.2702, allocations: 337.7 kB / 0.8024 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.2712, allocations: 1.044 MB / 0.8034 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.2717, allocations: 412.7 kB / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.2717, allocations: 0 / 0.8038 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001348/0.273, allocations: 1.339 MB / 0.8051 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2731, allocations: 85.23 kB / 0.8052 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.275, allocations: 1.846 MB / 0.807 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2751, allocations: 29.7 kB / 0.807 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.2755, allocations: 481.3 kB / 0.8075 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2755, allocations: 19.75 kB / 0.8075 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.2758, allocations: 287.6 kB / 0.8077 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.2759, allocations: 301.1 kB / 0.808 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.2772, allocations: 1.506 MB / 0.8095 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.2785, allocations: 1.65 MB / 0.8111 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007023/0.2856, allocations: 3.694 MB / 0.8147 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2856, allocations: 0 / 0.8147 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004425/0.29, allocations: 4.327 MB / 0.8189 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2901, allocations: 8 kB / 0.819 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.2901, allocations: 7.938 kB / 0.819 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.2901, allocations: 0 / 0.819 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2903, allocations: 15.98 kB / 0.819 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2903, allocations: 4 kB / 0.819 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.2909, allocations: 228.3 kB / 0.8192 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.2909, allocations: 27.98 kB / 0.8192 GB, free: 10.73 MB / 0.6387 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.0004789/0.2914, allocations: 369.5 kB / 0.8196 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2915, allocations: 126 kB / 0.8197 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.2919, allocations: 145.1 kB / 0.8198 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.292, allocations: 0 / 0.8198 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.292, allocations: 0 / 0.8198 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.292, allocations: 4 kB / 0.8198 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.2927, allocations: 0.6716 MB / 0.8205 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2927, allocations: 11.94 kB / 0.8205 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.2927, allocations: 7.984 kB / 0.8205 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2928, allocations: 0 / 0.8205 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2928, allocations: 4 kB / 0.8205 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2928, allocations: 3.938 kB / 0.8205 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2928, allocations: 0 / 0.8205 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.2937, allocations: 1.067 MB / 0.8216 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.2939, allocations: 195.1 kB / 0.8217 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.2941, allocations: 4 kB / 0.8218 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2943, allocations: 7.984 kB / 0.8218 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.2943, allocations: 4 kB / 0.8218 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.2944, allocations: 11.97 kB / 0.8218 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001311/0.2957, allocations: 1.112 MB / 0.8229 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2957, allocations: 0 / 0.8229 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001097/0.2968, allocations: 431.9 kB / 0.8233 GB, free: 6.438 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.002623/0.2994, allocations: 1.988 MB / 0.8252 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.3018, allocations: 2.644 MB / 0.8278 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3018, allocations: 64 / 0.8278 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.3022, allocations: 347.7 kB / 0.8281 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.3026, allocations: 46.55 kB / 0.8282 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2837/0.5864, allocations: 36.62 MB / 0.8639 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000799/0.5872, allocations: 1.149 MB / 0.8651 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.5875, allocations: 44.48 kB / 0.8651 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.588, allocations: 427.3 kB / 0.8655 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of SimCode: time 1.884e-06/0.588, allocations: 0 / 0.8655 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4935/1.081, allocations: 59.17 MB / 0.9233 GB, free: 102.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.082, allocations: 291.8 kB / 0.9236 GB, free: 102 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.752, allocations: 1.969 kB / 0.9236 GB, free: 102 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)