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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7723/0.7723, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001112/0.001112, allocations: 187.4 kB / 191.5 MB, free: 5.762 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.398/1.398, allocations: 223.2 MB / 447.7 MB, free: 6.543 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.0008692/0.0008692, allocations: 88.27 kB / 0.5188 GB, free: 2.895 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001675/0.001675, allocations: 268.7 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004476/0.0004477, allocations: 20 kB / 0.6929 GB, free: 2.285 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4318, allocations: 82.78 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.603, allocations: 123.6 MB / 0.8945 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.6033, allocations: 127.8 kB / 0.8946 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4075/1.011, allocations: 22.06 MB / 0.9161 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.043e-06/1.011, allocations: 3.875 kB / 0.9161 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.323e-05/1.011, allocations: 17.16 kB / 0.9162 GB, free: 123.4 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.002231/1.013, allocations: 1.148 MB / 0.9173 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.013, allocations: 12.14 kB / 0.9173 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/1.014, allocations: 92.38 kB / 0.9174 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/1.014, allocations: 430.2 kB / 0.9178 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/1.014, allocations: 28.75 kB / 0.9178 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.613e-05/1.014, allocations: 33.06 kB / 0.9178 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/1.015, allocations: 389.3 kB / 0.9182 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.015, allocations: 0.5 kB / 0.9182 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.015, allocations: 0.5 kB / 0.9182 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.015, allocations: 1.031 kB / 0.9182 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/1.016, allocations: 437.5 kB / 0.9186 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/1.016, allocations: 0.7435 MB / 0.9194 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006244/1.017, allocations: 0.5676 MB / 0.9199 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/1.018, allocations: 1.036 MB / 0.9209 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/1.018, allocations: 401 kB / 0.9213 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/1.018, allocations: 0 / 0.9213 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001832/1.02, allocations: 1.296 MB / 0.9226 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.02, allocations: 85.97 kB / 0.9227 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008773/1.021, allocations: 1.066 MB / 0.9237 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/1.021, allocations: 45.58 kB / 0.9237 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/1.021, allocations: 274.8 kB / 0.924 GB, free: 120 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/1.021, allocations: 22.88 kB / 0.924 GB, free: 120 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/1.021, allocations: 11.94 kB / 0.924 GB, free: 120 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000105/1.021, allocations: 426.3 kB / 0.9244 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/1.022, allocations: 1.211 MB / 0.9256 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.023, allocations: 1.364 MB / 0.927 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/1.025, allocations: 1.606 MB / 0.9285 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.025, allocations: 0 / 0.9285 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003313/1.028, allocations: 3.449 MB / 0.9319 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.028, allocations: 3.562 kB / 0.9319 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.028, allocations: 7.344 kB / 0.9319 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/1.028, allocations: 3.906 kB / 0.9319 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/1.029, allocations: 139.6 kB / 0.932 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.029, allocations: 3.812 kB / 0.932 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/1.029, allocations: 246.7 kB / 0.9323 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-05/1.029, allocations: 59.42 kB / 0.9323 GB, free: 116.1 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 () * Number of clocked 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.0002842/1.03, allocations: 263.8 kB / 0.9326 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/1.03, allocations: 62.28 kB / 0.9326 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008812/1.031, allocations: 0.9493 MB / 0.9336 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.031, allocations: 7.828 kB / 0.9336 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.031, allocations: 0 / 0.9336 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.031, allocations: 0 / 0.9336 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/1.031, allocations: 0.4898 MB / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.031, allocations: 4 kB / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/1.031, allocations: 10.55 kB / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.031, allocations: 3.891 kB / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.031, allocations: 4 kB / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.031, allocations: 3.891 kB / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.031, allocations: 0 / 0.9341 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006707/1.032, allocations: 1.014 MB / 0.9351 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/1.032, allocations: 151.7 kB / 0.9352 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/1.032, allocations: 8 kB / 0.9352 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.032, allocations: 0 / 0.9352 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/1.032, allocations: 12.02 kB / 0.9352 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/1.032, allocations: 19.22 kB / 0.9353 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005337/1.033, allocations: 0.6551 MB / 0.9359 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/1.033, allocations: 0 / 0.9359 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001736/1.035, allocations: 494.4 kB / 0.9364 GB, free: 113.1 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) * Number of clocked states: 0 () * 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.001521/1.036, allocations: 0.5611 MB / 0.9369 GB, free: 112.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.038, allocations: 2.367 MB / 0.9392 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.038, allocations: 0 / 0.9392 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/1.038, allocations: 333.9 kB / 0.9395 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/1.038, allocations: 40.59 kB / 0.9396 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/1.04, allocations: 1.833 MB / 0.9414 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.041, allocations: 0.9823 MB / 0.9423 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002054/1.041, allocations: 59.31 kB / 0.9424 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.041, allocations: 42.98 kB / 0.9424 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of SimCode: time 5.41e-07/1.041, allocations: 3.938 kB / 0.9424 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.01503/1.056, allocations: 9.197 MB / 0.9514 GB, free: 99.24 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)