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.001274/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001329/0.001329, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.531/1.531, allocations: 205.1 MB / 222 MB, free: 4.766 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.778/1.778, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001933/0.001933, allocations: 66.89 kB / 0.671 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2485, allocations: 114.6 MB / 0.7828 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002486/0.251, allocations: 1.481 MB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004681/0.2557, allocations: 3.267 MB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.2558, allocations: 0 / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2559, allocations: 3.938 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.2562, allocations: 35.83 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.2583, allocations: 0.7601 MB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2584, allocations: 107.7 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.2584, allocations: 8.281 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.2585, allocations: 39.84 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.2588, allocations: 228.9 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.2588, allocations: 12 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.2608, allocations: 1.396 MB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005966/0.2614, allocations: 0.6796 MB / 0.7907 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.2618, allocations: 448.9 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.2639, allocations: 1.772 MB / 0.7928 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2639, allocations: 4 kB / 0.7928 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2639, allocations: 0 / 0.7928 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.264, allocations: 0 / 0.7928 GB, free: 3.559 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.008197/0.2722, allocations: 1.698 MB / 0.7945 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.2722, allocations: 8.031 kB / 0.7945 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.2723, allocations: 38.75 kB / 0.7945 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.2727, allocations: 142.9 kB / 0.7947 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.2732, allocations: 0.5174 MB / 0.7952 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2733, allocations: 4.375 kB / 0.7952 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.2733, allocations: 8.312 kB / 0.7952 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.2737, allocations: 395.2 kB / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2738, allocations: 0 / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2738, allocations: 0 / 0.7956 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2738, allocations: 4 kB / 0.7956 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.2742, allocations: 431.8 kB / 0.796 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.275, allocations: 0.8112 MB / 0.7968 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.2755, allocations: 0.5633 MB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.2758, allocations: 341.7 kB / 0.7976 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.2768, allocations: 1.028 MB / 0.7986 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.2772, allocations: 412.8 kB / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.2772, allocations: 0 / 0.799 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001357/0.2786, allocations: 1.347 MB / 0.8004 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.2787, allocations: 81.11 kB / 0.8004 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.2804, allocations: 1.839 MB / 0.8022 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.2805, allocations: 33.83 kB / 0.8023 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.2808, allocations: 477.3 kB / 0.8027 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.2808, allocations: 23.66 kB / 0.8027 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.2812, allocations: 355.5 kB / 0.8031 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.2812, allocations: 301.1 kB / 0.8034 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.2825, allocations: 1.514 MB / 0.8048 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/0.2838, allocations: 1.646 MB / 0.8064 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007108/0.2909, allocations: 3.694 MB / 0.8101 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2909, allocations: 0 / 0.8101 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004352/0.2953, allocations: 4.319 MB / 0.8143 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.2953, allocations: 8.031 kB / 0.8143 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.2954, allocations: 4 kB / 0.8143 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2954, allocations: 0 / 0.8143 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2955, allocations: 19.92 kB / 0.8143 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2956, allocations: 4.062 kB / 0.8143 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.2961, allocations: 232.3 kB / 0.8145 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.2962, allocations: 27.89 kB / 0.8146 GB, free: 12.59 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.0004419/0.2966, allocations: 361.6 kB / 0.8149 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.2967, allocations: 130 kB / 0.815 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.2971, allocations: 145 kB / 0.8152 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2971, allocations: 4 kB / 0.8152 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2971, allocations: 0 / 0.8152 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2971, allocations: 0 / 0.8152 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005557/0.2977, allocations: 0.6755 MB / 0.8158 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2977, allocations: 7.938 kB / 0.8158 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.2977, allocations: 16.02 kB / 0.8158 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2978, allocations: 3.938 kB / 0.8159 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2978, allocations: 0 / 0.8159 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2978, allocations: 4 kB / 0.8159 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2978, allocations: 0 / 0.8159 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009453/0.2987, allocations: 1.063 MB / 0.8169 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.2989, allocations: 199.1 kB / 0.8171 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.532e-05/0.299, allocations: 0 / 0.8171 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2992, allocations: 7.984 kB / 0.8171 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2993, allocations: 7.984 kB / 0.8171 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.2993, allocations: 15.98 kB / 0.8171 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001189/0.3005, allocations: 1.101 MB / 0.8182 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3005, allocations: 0 / 0.8182 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001128/0.3017, allocations: 435.9 kB / 0.8186 GB, free: 8.293 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.002508/0.3042, allocations: 1.985 MB / 0.8205 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.3066, allocations: 2.64 MB / 0.8231 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3067, allocations: 0 / 0.8231 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.307, allocations: 339.9 kB / 0.8234 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005441/0.3076, allocations: 51.7 kB / 0.8235 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2799/0.5875, allocations: 36.61 MB / 0.8592 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.5882, allocations: 1.161 MB / 0.8604 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002459/0.5885, allocations: 28.56 kB / 0.8604 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.5889, allocations: 431.3 kB / 0.8608 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of SimCode: time 8.41e-07/0.5889, allocations: 4 kB / 0.8608 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07536/0.6643, allocations: 59.37 MB / 0.9188 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.6645, allocations: 296.5 kB / 0.9191 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/3.246, allocations: 0 / 0.9191 GB, free: 1.156 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)