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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.897/1.897, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.001263/0.001262, allocations: 172.9 kB / 371.6 MB, free: 3.383 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.707/1.707, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008845/0.0008845, allocations: 88.62 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.247e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3035, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.349, allocations: 153.9 MB / 1.13 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.349, allocations: 107.7 kB / 1.13 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1067/1.456, allocations: 25.03 MB / 1.155 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.746e-06/1.456, allocations: 0 / 1.155 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.229e-05/1.456, allocations: 20 kB / 1.155 GB, free: 20.38 MB / 0.7448 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.002894/1.459, allocations: 1.341 MB / 1.156 GB, free: 19.17 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.459, allocations: 12.03 kB / 1.156 GB, free: 19.16 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/1.459, allocations: 43.45 kB / 1.156 GB, free: 19.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/1.459, allocations: 150.9 kB / 1.156 GB, free: 18.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.46, allocations: 0.6533 MB / 1.157 GB, free: 18.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/1.46, allocations: 24.31 kB / 1.157 GB, free: 18.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.573e-05/1.46, allocations: 38.19 kB / 1.157 GB, free: 18.28 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/1.461, allocations: 382.2 kB / 1.157 GB, free: 17.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.461, allocations: 4.656 kB / 1.157 GB, free: 17.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/1.461, allocations: 7.25 kB / 1.157 GB, free: 17.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.461, allocations: 0 / 1.157 GB, free: 17.95 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/1.461, allocations: 424.6 kB / 1.158 GB, free: 17.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/1.462, allocations: 0.9879 MB / 1.159 GB, free: 16.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/1.463, allocations: 0.5604 MB / 1.159 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/1.463, allocations: 332.9 kB / 1.16 GB, free: 16.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008611/1.464, allocations: 1.033 MB / 1.161 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/1.464, allocations: 403.6 kB / 1.161 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/1.464, allocations: 0 / 1.161 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0008939/1.465, allocations: 1.023 MB / 1.162 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/1.465, allocations: 77.11 kB / 1.162 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.466, allocations: 1.611 MB / 1.164 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.467, allocations: 44.8 kB / 1.164 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/1.467, allocations: 497.8 kB / 1.164 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/1.467, allocations: 27.09 kB / 1.164 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/1.467, allocations: 15.25 kB / 1.164 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.467, allocations: 417.9 kB / 1.165 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/1.468, allocations: 1.464 MB / 1.166 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.47, allocations: 1.604 MB / 1.168 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.471, allocations: 1.862 MB / 1.169 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.471, allocations: 0 / 1.169 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004211/1.476, allocations: 4.017 MB / 1.173 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.476, allocations: 4 kB / 1.173 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-05/1.476, allocations: 24.03 kB / 1.173 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.476, allocations: 4 kB / 1.173 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/1.476, allocations: 147.5 kB / 1.173 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.476, allocations: 1.016 kB / 1.173 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/1.477, allocations: 246.8 kB / 1.174 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/1.478, allocations: 90.86 kB / 1.174 GB, free: 3.961 MB / 0.7448 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.0001394/1.478, allocations: 140.1 kB / 1.174 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/1.478, allocations: 122 kB / 1.174 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/1.479, allocations: 0.9955 MB / 1.175 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.479, allocations: 3.938 kB / 1.175 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.479, allocations: 0.9375 kB / 1.175 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.479, allocations: 4 kB / 1.175 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/1.48, allocations: 0.6814 MB / 1.176 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.48, allocations: 0 / 1.176 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/1.48, allocations: 7.984 kB / 1.176 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/1.48, allocations: 0 / 1.176 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/1.48, allocations: 8.031 kB / 1.176 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.48, allocations: 0 / 1.176 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.48, allocations: 7.984 kB / 1.176 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/1.48, allocations: 1.059 MB / 1.177 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/1.481, allocations: 211.7 kB / 1.177 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/1.481, allocations: 4 kB / 1.177 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/1.481, allocations: 15.48 kB / 1.177 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/1.481, allocations: 7.938 kB / 1.177 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/1.481, allocations: 11.97 kB / 1.177 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001243/1.482, allocations: 1.099 MB / 1.178 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.482, allocations: 0 / 1.178 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002384/1.485, allocations: 0.5189 MB / 1.179 GB, free: 15.33 MB / 0.7605 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.003629/1.488, allocations: 2.145 MB / 1.181 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002727/1.491, allocations: 2.496 MB / 1.183 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.491, allocations: 64 / 1.183 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/1.491, allocations: 342.5 kB / 1.183 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/1.492, allocations: 60.7 kB / 1.183 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005153/1.497, allocations: 2.563 MB / 1.186 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/1.498, allocations: 1.183 MB / 1.187 GB, free: 7.336 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004502/1.498, allocations: 127 kB / 1.187 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/1.499, allocations: 471.9 kB / 1.188 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of SimCode: time 1.282e-06/1.499, allocations: 0 / 1.188 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05008/1.549, allocations: 23.87 MB / 1.211 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.549, allocations: 229.3 kB / 1.211 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.495/5.045, allocations: 3.859 kB / 1.211 GB, free: 15.21 MB / 0.7917 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)