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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.711/1.711, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001438/0.001438, allocations: 181 kB / 371.6 MB, free: 3.391 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.691/1.691, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009339/0.000934, allocations: 90.66 kB / 0.745 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.768e-05, allocations: 4 kB / 0.8664 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2817, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9896/1.271, allocations: 153.8 MB / 1.13 GB, free: 34.89 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/1.272, allocations: 115.9 kB / 1.13 GB, free: 34.85 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.08597/1.358, allocations: 21.78 MB / 1.152 GB, free: 22.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.815e-06/1.358, allocations: 0 / 1.152 GB, free: 22.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.675e-05/1.358, allocations: 15.94 kB / 1.152 GB, free: 22.45 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.003483/1.361, allocations: 1.027 MB / 1.153 GB, free: 21.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.361, allocations: 8.969 kB / 1.153 GB, free: 21.5 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/1.362, allocations: 36.3 kB / 1.153 GB, free: 21.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/1.362, allocations: 94.84 kB / 1.153 GB, free: 21.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/1.363, allocations: 429.2 kB / 1.153 GB, free: 20.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/1.363, allocations: 27 kB / 1.153 GB, free: 20.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/1.363, allocations: 34.31 kB / 1.153 GB, free: 20.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/1.363, allocations: 381.4 kB / 1.154 GB, free: 20.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/1.363, allocations: 7.938 kB / 1.154 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/1.363, allocations: 0 / 1.154 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.363, allocations: 1.5 kB / 1.154 GB, free: 20.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/1.364, allocations: 427.7 kB / 1.154 GB, free: 20.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009775/1.365, allocations: 0.7423 MB / 1.155 GB, free: 19.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/1.365, allocations: 0.5624 MB / 1.155 GB, free: 19.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/1.366, allocations: 334.4 kB / 1.156 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009753/1.367, allocations: 1.031 MB / 1.157 GB, free: 17.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000341/1.367, allocations: 401.5 kB / 1.157 GB, free: 17.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/1.367, allocations: 4.656 kB / 1.157 GB, free: 17.38 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0009773/1.368, allocations: 0.9585 MB / 1.158 GB, free: 16.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.368, allocations: 84.11 kB / 1.158 GB, free: 16.46 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.369, allocations: 1.055 MB / 1.159 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/1.369, allocations: 43.95 kB / 1.159 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/1.37, allocations: 274.1 kB / 1.159 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-05/1.37, allocations: 27.83 kB / 1.159 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/1.37, allocations: 13.25 kB / 1.159 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.37, allocations: 422.5 kB / 1.16 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/1.371, allocations: 1.201 MB / 1.161 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/1.373, allocations: 1.352 MB / 1.162 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/1.374, allocations: 1.6 MB / 1.164 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.374, allocations: 0 / 1.164 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004231/1.378, allocations: 3.419 MB / 1.167 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.378, allocations: 8.594 kB / 1.167 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/1.378, allocations: 7.984 kB / 1.167 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/1.378, allocations: 4 kB / 1.167 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/1.379, allocations: 139.9 kB / 1.167 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/1.379, allocations: 4 kB / 1.167 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/1.38, allocations: 240.4 kB / 1.168 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.38, allocations: 58.23 kB / 1.168 GB, free: 9.797 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.0001751/1.38, allocations: 135.4 kB / 1.168 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/1.38, allocations: 70.78 kB / 1.168 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/1.381, allocations: 0.9263 MB / 1.169 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.381, allocations: 4 kB / 1.169 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.381, allocations: 0 / 1.169 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.381, allocations: 0 / 1.169 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/1.382, allocations: 0.4932 MB / 1.169 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.382, allocations: 0.6875 kB / 1.169 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/1.382, allocations: 11.98 kB / 1.169 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/1.382, allocations: 32 / 1.169 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/1.382, allocations: 13.25 kB / 1.169 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.382, allocations: 0.75 kB / 1.169 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.382, allocations: 0 / 1.169 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/1.383, allocations: 1.002 MB / 1.17 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/1.383, allocations: 147.9 kB / 1.17 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.854e-05/1.383, allocations: 7.984 kB / 1.17 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/1.383, allocations: 4 kB / 1.17 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/1.384, allocations: 9.734 kB / 1.17 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/1.384, allocations: 11.98 kB / 1.17 GB, free: 7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007742/1.384, allocations: 0.6468 MB / 1.171 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.384, allocations: 7.875 kB / 1.171 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002402/1.387, allocations: 495.1 kB / 1.171 GB, free: 5.996 MB / 0.7448 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.004409/1.391, allocations: 2.088 MB / 1.173 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002349/1.394, allocations: 2.346 MB / 1.176 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.394, allocations: 4.062 kB / 1.176 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.394, allocations: 334.4 kB / 1.176 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/1.394, allocations: 30.94 kB / 1.176 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/1.398, allocations: 1.783 MB / 1.178 GB, free: 212 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/1.398, allocations: 0.993 MB / 1.179 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000276/1.399, allocations: 52.22 kB / 1.179 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/1.399, allocations: 277.2 kB / 1.179 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/1.399, allocations: 0 / 1.179 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04824/1.447, allocations: 16.84 MB / 1.196 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003891/1.448, allocations: 236.9 kB / 1.196 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.492, allocations: 0 / 1.196 GB, free: 14.19 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)