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.0008306/0.0008307, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009953/0.0009954, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.328 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.666/1.666, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005373/0.0005375, allocations: 14.09 kB / 0.6739 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 116.3 MB / 0.7874 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001798/0.249, allocations: 1.119 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005344/0.2543, allocations: 2.857 MB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.2544, allocations: 0 / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.2546, allocations: 11.94 kB / 0.7913 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.2548, allocations: 31.83 kB / 0.7914 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.2575, allocations: 0.7556 MB / 0.7921 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.2577, allocations: 87.73 kB / 0.7922 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.791e-05/0.2578, allocations: 4.281 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.2579, allocations: 39.89 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.2583, allocations: 239.7 kB / 0.7925 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.2583, allocations: 16 kB / 0.7925 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.2607, allocations: 1.302 MB / 0.7938 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006875/0.2614, allocations: 0.7132 MB / 0.7944 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2616, allocations: 173 kB / 0.7946 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.2634, allocations: 1.181 MB / 0.7958 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2634, allocations: 0 / 0.7958 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2634, allocations: 0 / 0.7958 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3e-05/0.2635, allocations: 4 kB / 0.7958 GB, free: 3.234 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.007742/0.2712, allocations: 1.605 MB / 0.7973 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2713, allocations: 12.03 kB / 0.7973 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.2713, allocations: 38.5 kB / 0.7974 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/0.2718, allocations: 142 kB / 0.7975 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.2724, allocations: 0.501 MB / 0.798 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2724, allocations: 11.98 kB / 0.798 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.2725, allocations: 4 kB / 0.798 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.2729, allocations: 387.2 kB / 0.7984 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2729, allocations: 0 / 0.7984 GB, free: 404 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.273, allocations: 4 kB / 0.7984 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.273, allocations: 0 / 0.7984 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/0.2734, allocations: 439.7 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008874/0.2743, allocations: 0.8035 MB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.2749, allocations: 0.5555 MB / 0.8001 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.2752, allocations: 341.7 kB / 0.8005 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.2762, allocations: 1.04 MB / 0.8015 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.2766, allocations: 404.9 kB / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.2766, allocations: 0 / 0.8019 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001365/0.278, allocations: 1.343 MB / 0.8032 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.2781, allocations: 81.11 kB / 0.8033 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.2802, allocations: 1.839 MB / 0.8051 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.2803, allocations: 29.83 kB / 0.8051 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.2807, allocations: 481.2 kB / 0.8055 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.056e-05/0.2808, allocations: 23.73 kB / 0.8056 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.2808, allocations: 0 / 0.8056 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.281, allocations: 407 kB / 0.806 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.2823, allocations: 1.514 MB / 0.8074 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.2837, allocations: 1.648 MB / 0.809 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.2855, allocations: 2.047 MB / 0.811 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2855, allocations: 0 / 0.811 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004784/0.2903, allocations: 4.296 MB / 0.8152 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2903, allocations: 8 kB / 0.8152 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.2904, allocations: 0 / 0.8152 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-05/0.2904, allocations: 15.95 kB / 0.8153 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.2905, allocations: 12 kB / 0.8153 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.2906, allocations: 4 kB / 0.8153 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.2911, allocations: 232.3 kB / 0.8155 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.2912, allocations: 27.92 kB / 0.8155 GB, free: 14.37 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 ($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.0005/0.2917, allocations: 365.5 kB / 0.8159 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2918, allocations: 118 kB / 0.816 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.2922, allocations: 153 kB / 0.8161 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2922, allocations: 0 / 0.8161 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2922, allocations: 0 / 0.8161 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2922, allocations: 11.92 kB / 0.8161 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007794/0.293, allocations: 0.6794 MB / 0.8168 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.293, allocations: 4 kB / 0.8168 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.2931, allocations: 7.984 kB / 0.8168 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2931, allocations: 0 / 0.8168 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2932, allocations: 8.031 kB / 0.8168 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.2932, allocations: 3.984 kB / 0.8168 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2932, allocations: 0 / 0.8168 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2942, allocations: 1.063 MB / 0.8179 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.2945, allocations: 191.1 kB / 0.818 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.2946, allocations: 11.98 kB / 0.8181 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.2948, allocations: 8 kB / 0.8181 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.2949, allocations: 3.984 kB / 0.8181 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/0.2949, allocations: 11.98 kB / 0.8181 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001286/0.2962, allocations: 1.101 MB / 0.8192 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2962, allocations: 0 / 0.8192 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001151/0.2974, allocations: 423.9 kB / 0.8196 GB, free: 10.08 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 (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.002797/0.3002, allocations: 1.986 MB / 0.8215 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002492/0.3027, allocations: 2.644 MB / 0.8241 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3027, allocations: 0 / 0.8241 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.3031, allocations: 335.8 kB / 0.8244 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3035, allocations: 54.66 kB / 0.8245 GB, free: 5.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06494/0.3684, allocations: 30.57 MB / 0.8543 GB, free: 6.289 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.3692, allocations: 1.149 MB / 0.8554 GB, free: 5.117 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.3694, allocations: 36.53 kB / 0.8555 GB, free: 5.082 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.3699, allocations: 431.3 kB / 0.8559 GB, free: 4.664 MB / 0.67 GB Notification: Performance of SimCode: time 1.333e-06/0.3699, allocations: 4 kB / 0.8559 GB, free: 4.66 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.4548, allocations: 58.71 MB / 0.9132 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.455, allocations: 274.5 kB / 0.9135 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.009, allocations: 7.938 kB / 0.9135 GB, free: 9.762 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/linux/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) Environment - environmentSimulation: