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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.389/1.389, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001221/0.001221, allocations: 183.8 kB / 326.5 MB, free: 2.238 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.745/1.745, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.0008567/0.0008567, allocations: 86.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003508, allocations: 9.062 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 106.4 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.4324, allocations: 151.1 MB / 1.048 GB, free: 8.871 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003967/0.4329, allocations: 119.9 kB / 1.048 GB, free: 8.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6367/1.07, allocations: 29.73 MB / 1.077 GB, free: 149.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/1.07, allocations: 0 / 1.077 GB, free: 149.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.907e-05/1.07, allocations: 18.16 kB / 1.077 GB, free: 149.1 MB / 0.698 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.002623/1.072, allocations: 1.204 MB / 1.078 GB, free: 148.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.072, allocations: 9.406 kB / 1.078 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/1.072, allocations: 31.47 kB / 1.078 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/1.073, allocations: 105.7 kB / 1.078 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/1.074, allocations: 473.2 kB / 1.079 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/1.074, allocations: 26.59 kB / 1.079 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/1.074, allocations: 32.78 kB / 1.079 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/1.074, allocations: 394.5 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.074, allocations: 0 / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.074, allocations: 1.25 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.074, allocations: 1.031 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006861/1.075, allocations: 437.9 kB / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/1.076, allocations: 0.7748 MB / 1.08 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/1.077, allocations: 0.5571 MB / 1.081 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.078, allocations: 1.04 MB / 1.082 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/1.078, allocations: 402.3 kB / 1.082 GB, free: 145.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.078, allocations: 0 / 1.082 GB, free: 145.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001277/1.08, allocations: 1.313 MB / 1.084 GB, free: 145.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/1.08, allocations: 80.3 kB / 1.084 GB, free: 145.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.081, allocations: 1.131 MB / 1.085 GB, free: 144.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.209e-05/1.081, allocations: 42.7 kB / 1.085 GB, free: 144.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/1.081, allocations: 296.6 kB / 1.085 GB, free: 144.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/1.081, allocations: 27.33 kB / 1.085 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/1.081, allocations: 11.81 kB / 1.085 GB, free: 144.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.081, allocations: 431.6 kB / 1.085 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/1.083, allocations: 1.216 MB / 1.087 GB, free: 144.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001931/1.085, allocations: 1.358 MB / 1.088 GB, free: 143.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.086, allocations: 1.607 MB / 1.09 GB, free: 143.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.086, allocations: 3.938 kB / 1.09 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003446/1.09, allocations: 3.458 MB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/1.09, allocations: 4 kB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.09, allocations: 4 kB / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.09, allocations: 0 / 1.093 GB, free: 140.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/1.09, allocations: 143.8 kB / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/1.09, allocations: 12 kB / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/1.091, allocations: 240.3 kB / 1.093 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/1.091, allocations: 68 kB / 1.093 GB, free: 139.7 MB / 0.698 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 (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0003092/1.091, allocations: 261.5 kB / 1.094 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/1.091, allocations: 74.69 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/1.092, allocations: 0.9406 MB / 1.095 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.092, allocations: 0 / 1.095 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.092, allocations: 4 kB / 1.095 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.092, allocations: 4.031 kB / 1.095 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/1.093, allocations: 0.5138 MB / 1.095 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.093, allocations: 4 kB / 1.095 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/1.093, allocations: 15.92 kB / 1.095 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.093, allocations: 0 / 1.095 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/1.093, allocations: 4 kB / 1.095 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.093, allocations: 0 / 1.095 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.093, allocations: 0 / 1.095 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/1.094, allocations: 1.024 MB / 1.096 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/1.094, allocations: 159.7 kB / 1.096 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/1.094, allocations: 4 kB / 1.096 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/1.094, allocations: 11.98 kB / 1.096 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/1.094, allocations: 7.984 kB / 1.096 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/1.094, allocations: 11.98 kB / 1.096 GB, free: 136.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006543/1.095, allocations: 0.7101 MB / 1.097 GB, free: 135.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 0 / 1.097 GB, free: 135.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002135/1.097, allocations: 0.4916 MB / 1.098 GB, free: 135.4 MB / 0.698 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.002753/1.1, allocations: 2.189 MB / 1.1 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00181/1.101, allocations: 2.356 MB / 1.102 GB, free: 130.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.101, allocations: 0 / 1.102 GB, free: 130.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/1.102, allocations: 347.8 kB / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/1.102, allocations: 45.11 kB / 1.102 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/1.105, allocations: 2.851 MB / 1.105 GB, free: 127.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/1.106, allocations: 1.001 MB / 1.106 GB, free: 126.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002048/1.106, allocations: 62.95 kB / 1.106 GB, free: 126.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/1.106, allocations: 295.3 kB / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.106, allocations: 3.938 kB / 1.106 GB, free: 126.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/1.14, allocations: 19.33 MB / 1.125 GB, free: 107 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/1.14, allocations: 281.2 kB / 1.126 GB, free: 106.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.093/4.233, allocations: 0 / 1.126 GB, free: 106.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)