Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.76/1.76, allocations: 285.4 MB / 298 MB, free: 5.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 180.9 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 106.4 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.545e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.681, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.8849, allocations: 157.3 MB / 1.125 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.8853, allocations: 121.1 kB / 1.125 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/0.9908, allocations: 29.68 MB / 1.154 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.033e-06/0.9909, allocations: 3.094 kB / 1.154 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.618e-05/0.9909, allocations: 12 kB / 1.154 GB, free: 12.69 MB / 0.7605 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.002463/0.9934, allocations: 1.044 MB / 1.155 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.9934, allocations: 12.03 kB / 1.155 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.9935, allocations: 34.55 kB / 1.155 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.994, allocations: 106.6 kB / 1.155 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.995, allocations: 468.8 kB / 1.155 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.995, allocations: 24 kB / 1.155 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.9951, allocations: 32 kB / 1.155 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.9956, allocations: 387.1 kB / 1.156 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.9956, allocations: 0 / 1.156 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.9956, allocations: 0 / 1.156 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9956, allocations: 4 kB / 1.156 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.996, allocations: 423.8 kB / 1.156 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.997, allocations: 0.7782 MB / 1.157 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005253/0.9975, allocations: 0.5671 MB / 1.158 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.9978, allocations: 329.7 kB / 1.158 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.999, allocations: 1.036 MB / 1.159 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.9994, allocations: 396.9 kB / 1.159 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.9994, allocations: 4 kB / 1.159 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.001033/1, allocations: 0.9647 MB / 1.16 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.001, allocations: 97.11 kB / 1.16 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/1.002, allocations: 1.112 MB / 1.161 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.617e-05/1.002, allocations: 41.7 kB / 1.161 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/1.002, allocations: 298 kB / 1.162 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/1.002, allocations: 23.7 kB / 1.162 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/1.002, allocations: 16 kB / 1.162 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002088/1.003, allocations: 423.8 kB / 1.162 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.004, allocations: 1.202 MB / 1.163 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/1.005, allocations: 1.353 MB / 1.165 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/1.007, allocations: 1.596 MB / 1.166 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.007, allocations: 0 / 1.166 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004596/1.012, allocations: 3.426 MB / 1.17 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.012, allocations: 5.5 kB / 1.17 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.012, allocations: 0 / 1.17 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.012, allocations: 6.438 kB / 1.17 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/1.013, allocations: 147.8 kB / 1.17 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/1.013, allocations: 7.078 kB / 1.17 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/1.013, allocations: 248.3 kB / 1.17 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.994e-05/1.014, allocations: 55.98 kB / 1.17 GB, free: 11.54 MB / 0.7761 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 () * 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.000165/1.014, allocations: 133.3 kB / 1.17 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.014, allocations: 70.69 kB / 1.17 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.015, allocations: 0.9407 MB / 1.171 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.015, allocations: 4.031 kB / 1.171 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.015, allocations: 1.875 kB / 1.171 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.015, allocations: 3.938 kB / 1.171 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/1.015, allocations: 0.5216 MB / 1.172 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.015, allocations: 0 / 1.172 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/1.016, allocations: 4 kB / 1.172 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.016, allocations: 4 kB / 1.172 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/1.016, allocations: 3.984 kB / 1.172 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/1.016, allocations: 0 / 1.172 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.016, allocations: 4 kB / 1.172 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009464/1.017, allocations: 1.013 MB / 1.173 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/1.017, allocations: 159.7 kB / 1.173 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/1.017, allocations: 5.062 kB / 1.173 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/1.017, allocations: 7.984 kB / 1.173 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/1.017, allocations: 4 kB / 1.173 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/1.017, allocations: 19.97 kB / 1.173 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008469/1.018, allocations: 0.6922 MB / 1.173 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/1.018, allocations: 4 kB / 1.173 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00196/1.02, allocations: 0.5071 MB / 1.174 GB, free: 7.324 MB / 0.7761 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) * 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.004018/1.024, allocations: 2.16 MB / 1.176 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002621/1.027, allocations: 2.345 MB / 1.178 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.027, allocations: 0 / 1.178 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/1.027, allocations: 343.7 kB / 1.179 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/1.027, allocations: 57.8 kB / 1.179 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/1.031, allocations: 1.862 MB / 1.181 GB, free: 496 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/1.031, allocations: 1.005 MB / 1.182 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002413/1.032, allocations: 60.47 kB / 1.182 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.032, allocations: 301.8 kB / 1.182 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/1.032, allocations: 0 / 1.182 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/1.073, allocations: 19.67 MB / 1.201 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/1.073, allocations: 242.2 kB / 1.201 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/3.995, allocations: 5.094 kB / 1.201 GB, free: 11.34 MB / 0.8073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.8.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_8_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_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)