Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 183.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009615/0.0009617, allocations: 95.66 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.000417, allocations: 12.28 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2458, allocations: 106.4 MB / 0.9002 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001976/0.2478, allocations: 1.115 MB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006118/0.2539, allocations: 2.824 MB / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.254, allocations: 0 / 0.904 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2542, allocations: 11.92 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.2544, allocations: 23.91 kB / 0.9041 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.2573, allocations: 0.7158 MB / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2574, allocations: 55.86 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.2575, allocations: 4 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.2576, allocations: 35.91 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2579, allocations: 143.7 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.2579, allocations: 12 kB / 0.905 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/0.2604, allocations: 1.26 MB / 0.9062 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007338/0.2611, allocations: 0.6002 MB / 0.9068 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.2613, allocations: 177 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.2631, allocations: 1.185 MB / 0.9082 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2631, allocations: 0 / 0.9082 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2631, allocations: 4 kB / 0.9082 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2632, allocations: 0 / 0.9082 GB, free: 55.58 MB / 0.6042 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.01308/0.2763, allocations: 1.597 MB / 0.9097 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2763, allocations: 8.031 kB / 0.9097 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.2764, allocations: 42.55 kB / 0.9098 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.2767, allocations: 146 kB / 0.9099 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.2772, allocations: 0.4933 MB / 0.9104 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2772, allocations: 11.92 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.2773, allocations: 4 kB / 0.9104 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.2776, allocations: 387.1 kB / 0.9108 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2777, allocations: 0 / 0.9108 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2777, allocations: 0 / 0.9108 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2777, allocations: 8 kB / 0.9108 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003411/0.2781, allocations: 435.7 kB / 0.9112 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.2786, allocations: 0.8074 MB / 0.912 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.279, allocations: 0.5594 MB / 0.9125 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.2798, allocations: 1.036 MB / 0.9135 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.2801, allocations: 408.7 kB / 0.9139 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.2801, allocations: 0 / 0.9139 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001156/0.2813, allocations: 1.339 MB / 0.9152 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.2813, allocations: 85.11 kB / 0.9153 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.283, allocations: 1.835 MB / 0.9171 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.283, allocations: 37.83 kB / 0.9172 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.2833, allocations: 469.3 kB / 0.9176 GB, free: 45.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2834, allocations: 19.8 kB / 0.9176 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2834, allocations: 11.98 kB / 0.9176 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2835, allocations: 407 kB / 0.918 GB, free: 44.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009941/0.2845, allocations: 1.51 MB / 0.9195 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.2856, allocations: 1.653 MB / 0.9211 GB, free: 41.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.2868, allocations: 2.047 MB / 0.9231 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2868, allocations: 0 / 0.9231 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003401/0.2902, allocations: 4.296 MB / 0.9273 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2903, allocations: 4 kB / 0.9273 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.2903, allocations: 4 kB / 0.9273 GB, free: 35.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2903, allocations: 8.031 kB / 0.9273 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2905, allocations: 19.92 kB / 0.9273 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2905, allocations: 0 / 0.9273 GB, free: 35.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.291, allocations: 228.3 kB / 0.9276 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.2911, allocations: 23.98 kB / 0.9276 GB, free: 35.06 MB / 0.6042 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.0003695/0.2914, allocations: 367.6 kB / 0.9279 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.2915, allocations: 122 kB / 0.928 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.2918, allocations: 153 kB / 0.9282 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2918, allocations: 7.938 kB / 0.9282 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2918, allocations: 0 / 0.9282 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2918, allocations: 0 / 0.9282 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.2923, allocations: 0.6832 MB / 0.9289 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2923, allocations: 0 / 0.9289 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.47e-05/0.2924, allocations: 4 kB / 0.9289 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2924, allocations: 7.938 kB / 0.9289 GB, free: 33.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2924, allocations: 8.016 kB / 0.9289 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2924, allocations: 0 / 0.9289 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2924, allocations: 4 kB / 0.9289 GB, free: 33.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006871/0.2931, allocations: 1.069 MB / 0.9299 GB, free: 32.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.2932, allocations: 203.1 kB / 0.9301 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/0.2933, allocations: 0 / 0.9301 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2935, allocations: 4 kB / 0.9301 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.2936, allocations: 11.98 kB / 0.9301 GB, free: 32.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.489e-05/0.2936, allocations: 11.98 kB / 0.9302 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009208/0.2945, allocations: 1.097 MB / 0.9312 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2945, allocations: 0 / 0.9312 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001013/0.2956, allocations: 431.8 kB / 0.9316 GB, free: 30.75 MB / 0.6042 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.002127/0.2977, allocations: 2.068 MB / 0.9337 GB, free: 28.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.2994, allocations: 2.646 MB / 0.9362 GB, free: 25.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2994, allocations: 4 kB / 0.9362 GB, free: 25.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.2997, allocations: 339.9 kB / 0.9366 GB, free: 25.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.2999, allocations: 46.53 kB / 0.9366 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.3031, allocations: 3.563 MB / 0.9401 GB, free: 21.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.3036, allocations: 1.18 MB / 0.9412 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000163/0.3038, allocations: 28.56 kB / 0.9413 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.3041, allocations: 431.3 kB / 0.9417 GB, free: 20.31 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.3041, allocations: 0 / 0.9417 GB, free: 20.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.339, allocations: 21.65 MB / 0.9628 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.3393, allocations: 273 kB / 0.9631 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.141, allocations: 2.75 kB / 0.9631 GB, free: 14.51 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)