Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.791/2.791, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001499/0.001499, allocations: 184.8 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.219/2.219, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001073/0.001073, allocations: 99.38 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.301e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.8127, allocations: 115.3 MB / 0.9635 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/1.066, allocations: 152 MB / 1.112 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004175/1.066, allocations: 106.6 kB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1873/1.254, allocations: 24.86 MB / 1.136 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.474e-06/1.254, allocations: 0 / 1.136 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.67e-05/1.254, allocations: 20 kB / 1.136 GB, free: 11.5 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.004102/1.258, allocations: 1.337 MB / 1.138 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.258, allocations: 16.03 kB / 1.138 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007961/1.259, allocations: 161.9 kB / 1.138 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/1.261, allocations: 0.6454 MB / 1.138 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/1.261, allocations: 0 / 1.138 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/1.261, allocations: 28 kB / 1.138 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006167/1.262, allocations: 423.8 kB / 1.139 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/1.262, allocations: 383.1 kB / 1.139 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.262, allocations: 4 kB / 1.139 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/1.262, allocations: 0.5625 kB / 1.139 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/1.262, allocations: 3.953 kB / 1.139 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/1.264, allocations: 0.9388 MB / 1.14 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/1.265, allocations: 0.5477 MB / 1.141 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/1.265, allocations: 333.7 kB / 1.141 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.267, allocations: 1.04 MB / 1.142 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006146/1.268, allocations: 395 kB / 1.142 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 3.236e-06/1.268, allocations: 4 kB / 1.142 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001834/1.27, allocations: 1.019 MB / 1.143 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/1.27, allocations: 81.11 kB / 1.143 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/1.273, allocations: 1.525 MB / 1.145 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/1.273, allocations: 33.7 kB / 1.145 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/1.274, allocations: 478 kB / 1.145 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/1.274, allocations: 23.73 kB / 1.145 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/1.274, allocations: 0 / 1.145 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002687/1.274, allocations: 415 kB / 1.146 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/1.277, allocations: 1.444 MB / 1.147 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003127/1.28, allocations: 1.585 MB / 1.149 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003575/1.284, allocations: 1.837 MB / 1.151 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.284, allocations: 0 / 1.151 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00874/1.293, allocations: 3.972 MB / 1.154 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/1.293, allocations: 4 kB / 1.154 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001467/1.293, allocations: 24 kB / 1.154 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/1.293, allocations: 4.031 kB / 1.154 GB, free: 8.258 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.295, allocations: 143.8 kB / 1.155 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/1.295, allocations: 7.984 kB / 1.155 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.296, allocations: 228.3 kB / 1.155 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/1.297, allocations: 95.27 kB / 1.155 GB, free: 7.793 MB / 0.7605 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.0002066/1.297, allocations: 123.8 kB / 1.155 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001552/1.298, allocations: 1.011 MB / 1.156 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/1.299, allocations: 126.1 kB / 1.156 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/1.3, allocations: 0.9889 MB / 1.157 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.301, allocations: 0 / 1.157 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.301, allocations: 0 / 1.157 GB, free: 5.523 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.301, allocations: 4 kB / 1.157 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.302, allocations: 0.6518 MB / 1.158 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-06/1.302, allocations: 0 / 1.158 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.302, allocations: 11.98 kB / 1.158 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.302, allocations: 0.7812 kB / 1.158 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.302, allocations: 4 kB / 1.158 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.302, allocations: 4 kB / 1.158 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.302, allocations: 3.938 kB / 1.158 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/1.304, allocations: 1.058 MB / 1.159 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/1.304, allocations: 212.8 kB / 1.159 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.304, allocations: 4 kB / 1.159 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000691/1.305, allocations: 12 kB / 1.159 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/1.305, allocations: 13.86 kB / 1.159 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/1.305, allocations: 7.984 kB / 1.159 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002184/1.307, allocations: 1.007 MB / 1.16 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.152e-06/1.308, allocations: 0 / 1.16 GB, free: 2.414 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002358/1.31, allocations: 0.5071 MB / 1.161 GB, free: 1.906 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.004865/1.315, allocations: 2.149 MB / 1.163 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003993/1.319, allocations: 2.47 MB / 1.165 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.319, allocations: 4.062 kB / 1.165 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/1.319, allocations: 335.8 kB / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/1.32, allocations: 54.55 kB / 1.165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/1.327, allocations: 2.54 MB / 1.168 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.328, allocations: 1.175 MB / 1.169 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0007934/1.329, allocations: 133 kB / 1.169 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009669/1.33, allocations: 475.2 kB / 1.17 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of SimCode: time 1.142e-06/1.33, allocations: 3.938 kB / 1.17 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09191/1.422, allocations: 22.9 MB / 1.192 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003925/1.422, allocations: 226.5 kB / 1.192 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/5.215, allocations: 2.625 kB / 1.192 GB, free: 1.375 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)