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.8799/0.8799, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001092/0.001092, allocations: 175.9 kB / 182.2 MB, free: 9.461 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.426/1.426, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008926/0.0008926, allocations: 87.92 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 281 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.016e-05, allocations: 8 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5077, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.6783, allocations: 122.9 MB / 0.8774 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.6786, allocations: 111.8 kB / 0.8775 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.5403/1.219, allocations: 21.89 MB / 0.8989 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/1.219, allocations: 0 / 0.8989 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.162e-05/1.219, allocations: 13.38 kB / 0.8989 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.00221/1.221, allocations: 1.009 MB / 0.8999 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.221, allocations: 9.562 kB / 0.8999 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/1.222, allocations: 99.08 kB / 0.9 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/1.222, allocations: 433.5 kB / 0.9004 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.222, allocations: 2.719 kB / 0.9004 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/1.223, allocations: 20.98 kB / 0.9004 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006241/1.223, allocations: 424.6 kB / 0.9009 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004666/1.224, allocations: 380.1 kB / 0.9012 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/1.224, allocations: 4.812 kB / 0.9012 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.224, allocations: 0.7969 kB / 0.9012 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.224, allocations: 1.062 kB / 0.9012 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/1.225, allocations: 0.692 MB / 0.9019 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/1.225, allocations: 0.5607 MB / 0.9024 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/1.226, allocations: 333.5 kB / 0.9028 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009178/1.227, allocations: 1.033 MB / 0.9038 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/1.227, allocations: 396.9 kB / 0.9042 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/1.227, allocations: 0 / 0.9042 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.00146/1.229, allocations: 0.9568 MB / 0.9051 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/1.229, allocations: 90.03 kB / 0.9052 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.23, allocations: 0.9983 MB / 0.9061 GB, free: 124 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-05/1.23, allocations: 27.83 kB / 0.9062 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/1.231, allocations: 260 kB / 0.9064 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/1.231, allocations: 19.34 kB / 0.9064 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/1.231, allocations: 3.25 kB / 0.9064 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.231, allocations: 420.1 kB / 0.9068 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.233, allocations: 1.185 MB / 0.908 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/1.234, allocations: 1.332 MB / 0.9093 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/1.236, allocations: 1.588 MB / 0.9109 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.236, allocations: 0 / 0.9109 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003315/1.239, allocations: 3.371 MB / 0.9141 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.239, allocations: 11.67 kB / 0.9142 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.239, allocations: 3.188 kB / 0.9142 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/1.239, allocations: 9.875 kB / 0.9142 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/1.24, allocations: 139.5 kB / 0.9143 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.24, allocations: 7.469 kB / 0.9143 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007474/1.24, allocations: 237.5 kB / 0.9145 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/1.241, allocations: 58.42 kB / 0.9146 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.0001181/1.241, allocations: 111.5 kB / 0.9147 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/1.241, allocations: 62.28 kB / 0.9148 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/1.241, allocations: 0.9376 MB / 0.9157 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.242, allocations: 2.844 kB / 0.9157 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.242, allocations: 0 / 0.9157 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.242, allocations: 0 / 0.9157 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/1.242, allocations: 473 kB / 0.9161 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.242, allocations: 0 / 0.9161 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/1.242, allocations: 10.58 kB / 0.9161 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.242, allocations: 0 / 0.9161 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.242, allocations: 9.562 kB / 0.9161 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.242, allocations: 3.844 kB / 0.9161 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.242, allocations: 6.297 kB / 0.9162 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/1.243, allocations: 0.9918 MB / 0.9171 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.362e-05/1.243, allocations: 155.1 kB / 0.9173 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/1.243, allocations: 4 kB / 0.9173 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/1.243, allocations: 11.03 kB / 0.9173 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/1.243, allocations: 6.125 kB / 0.9173 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/1.243, allocations: 14.19 kB / 0.9173 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004992/1.244, allocations: 0.597 MB / 0.9179 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.244, allocations: 0 / 0.9179 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00151/1.245, allocations: 477 kB / 0.9183 GB, free: 119.7 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.001321/1.246, allocations: 0.5746 MB / 0.9189 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.248, allocations: 2.325 MB / 0.9212 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.248, allocations: 0 / 0.9212 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/1.248, allocations: 336.9 kB / 0.9215 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/1.249, allocations: 29.5 kB / 0.9215 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/1.25, allocations: 1.422 MB / 0.9229 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.25, allocations: 0.9827 MB / 0.9239 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001792/1.251, allocations: 54.41 kB / 0.9239 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/1.251, allocations: 39.03 kB / 0.924 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/1.251, allocations: 3.875 kB / 0.924 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.01452/1.265, allocations: 8.891 MB / 0.9326 GB, free: 110.5 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)