Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.8479/0.8479, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 172.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009659, allocations: 95.42 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 280.6 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.069e-05, allocations: 8 kB / 0.6767 GB, free: 12.66 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4237, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.5842, allocations: 122.9 MB / 0.8775 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5845, allocations: 107.9 kB / 0.8776 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4129/0.9975, allocations: 21.9 MB / 0.899 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9975, allocations: 3.781 kB / 0.899 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.449e-05/0.9975, allocations: 16.34 kB / 0.899 GB, free: 126.8 MB / 0.5573 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.001961/0.9995, allocations: 1.015 MB / 0.9 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9996, allocations: 9.75 kB / 0.9 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003651/0.9999, allocations: 96.84 kB / 0.9001 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/1.001, allocations: 429.4 kB / 0.9005 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.001, allocations: 4.984 kB / 0.9005 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/1.001, allocations: 25.25 kB / 0.9005 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005283/1.001, allocations: 421.8 kB / 0.9009 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/1.002, allocations: 378 kB / 0.9013 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.002, allocations: 0 / 0.9013 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/1.002, allocations: 1.797 kB / 0.9013 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/1.002, allocations: 5.281 kB / 0.9013 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/1.003, allocations: 0.6879 MB / 0.902 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/1.003, allocations: 0.5559 MB / 0.9025 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/1.004, allocations: 330.9 kB / 0.9028 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008052/1.004, allocations: 1.034 MB / 0.9039 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/1.005, allocations: 404.8 kB / 0.9042 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/1.005, allocations: 2.312 kB / 0.9042 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001173/1.006, allocations: 0.959 MB / 0.9052 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.006, allocations: 89.42 kB / 0.9053 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/1.007, allocations: 0.9993 MB / 0.9062 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/1.007, allocations: 30.38 kB / 0.9063 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/1.008, allocations: 259.5 kB / 0.9065 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/1.008, allocations: 17.73 kB / 0.9065 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/1.008, allocations: 0 / 0.9065 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.008, allocations: 416.5 kB / 0.9069 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/1.01, allocations: 1.192 MB / 0.9081 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.011, allocations: 1.329 MB / 0.9094 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.012, allocations: 1.583 MB / 0.9109 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.012, allocations: 0 / 0.9109 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003245/1.016, allocations: 3.381 MB / 0.9142 GB, free: 121 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.016, allocations: 11.45 kB / 0.9143 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.016, allocations: 0 / 0.9143 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.016, allocations: 3.844 kB / 0.9143 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/1.016, allocations: 148.9 kB / 0.9144 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.016, allocations: 3.969 kB / 0.9144 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/1.017, allocations: 227 kB / 0.9146 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/1.017, allocations: 59.14 kB / 0.9147 GB, free: 120.8 MB / 0.5573 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.0001157/1.017, allocations: 117.5 kB / 0.9148 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006245/1.018, allocations: 0.9506 MB / 0.9157 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/1.018, allocations: 76 kB / 0.9158 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/1.019, allocations: 0.9298 MB / 0.9167 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.019, allocations: 0 / 0.9167 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.019, allocations: 0 / 0.9167 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.019, allocations: 0 / 0.9167 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/1.019, allocations: 476.5 kB / 0.9171 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/1.019, allocations: 0 / 0.9171 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/1.019, allocations: 7.25 kB / 0.9172 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.019, allocations: 7.172 kB / 0.9172 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.019, allocations: 7.516 kB / 0.9172 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.019, allocations: 0 / 0.9172 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.019, allocations: 3.891 kB / 0.9172 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/1.02, allocations: 0.9993 MB / 0.9181 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/1.02, allocations: 153.5 kB / 0.9183 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/1.02, allocations: 3.688 kB / 0.9183 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/1.02, allocations: 6.578 kB / 0.9183 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/1.02, allocations: 10.94 kB / 0.9183 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.61e-05/1.02, allocations: 17.25 kB / 0.9183 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004906/1.021, allocations: 0.5882 MB / 0.9189 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.021, allocations: 0 / 0.9189 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001395/1.022, allocations: 484.9 kB / 0.9194 GB, free: 119.5 MB / 0.5573 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.002052/1.024, allocations: 2.084 MB / 0.9214 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001551/1.026, allocations: 2.319 MB / 0.9237 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.026, allocations: 0 / 0.9237 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/1.026, allocations: 339.5 kB / 0.924 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/1.026, allocations: 36.81 kB / 0.924 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/1.028, allocations: 1.774 MB / 0.9258 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.029, allocations: 0.9796 MB / 0.9267 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001959/1.029, allocations: 59.58 kB / 0.9268 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/1.029, allocations: 271.5 kB / 0.927 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.253e-06/1.029, allocations: 4 kB / 0.927 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/1.064, allocations: 16.11 MB / 0.9428 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/1.064, allocations: 246.4 kB / 0.943 GB, free: 99.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.744, allocations: 3.938 kB / 0.943 GB, free: 99.98 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)