Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009527/0.0009526, allocations: 167.9 kB / 16.76 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4436/0.4436, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.3 MB / 348.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008377, allocations: 98.3 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003969, allocations: 16 kB / 0.4901 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 71.02 MB / 0.5595 GB, free: 43.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4169, allocations: 115.1 MB / 0.6719 GB, free: 10.37 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4172, allocations: 115.7 kB / 0.672 GB, free: 10.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07701/0.4943, allocations: 22.07 MB / 0.6936 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4943, allocations: 0 / 0.6936 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.793e-05/0.4944, allocations: 12 kB / 0.6936 GB, free: 4.133 MB / 0.4948 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.002656/0.497, allocations: 1.133 MB / 0.6947 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4971, allocations: 8.031 kB / 0.6947 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.4976, allocations: 99.67 kB / 0.6948 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.4984, allocations: 436.7 kB / 0.6952 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.4984, allocations: 24.36 kB / 0.6952 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4986, allocations: 36.38 kB / 0.6953 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.4992, allocations: 383.8 kB / 0.6956 GB, free: 1.918 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.4992, allocations: 4.125 kB / 0.6957 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.4992, allocations: 3.938 kB / 0.6957 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4992, allocations: 0 / 0.6957 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006091/0.4998, allocations: 447.7 kB / 0.6961 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.5009, allocations: 0.7339 MB / 0.6968 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007611/0.5016, allocations: 0.5633 MB / 0.6973 GB, free: 108 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2754/0.7771, allocations: 331 kB / 0.6977 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/0.7778, allocations: 1.033 MB / 0.6987 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.7783, allocations: 405.7 kB / 0.6991 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.7783, allocations: 0.9688 kB / 0.6991 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.001542/0.7799, allocations: 1.3 MB / 0.7003 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.7799, allocations: 82.02 kB / 0.7004 GB, free: 120 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.7812, allocations: 1.199 MB / 0.7016 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.7813, allocations: 41.17 kB / 0.7016 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.7815, allocations: 276.2 kB / 0.7019 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.7815, allocations: 21.73 kB / 0.7019 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.7815, allocations: 18.47 kB / 0.7019 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.7817, allocations: 412.6 kB / 0.7023 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.7832, allocations: 1.221 MB / 0.7035 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.7845, allocations: 1.362 MB / 0.7048 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/0.7893, allocations: 2.757 MB / 0.7075 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.7893, allocations: 1.875 kB / 0.7075 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003017/0.7923, allocations: 3.445 MB / 0.7109 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7924, allocations: 6.406 kB / 0.7109 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7924, allocations: 3.406 kB / 0.7109 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.7924, allocations: 3.438 kB / 0.7109 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000537/0.7929, allocations: 147.7 kB / 0.711 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.793, allocations: 3.594 kB / 0.7111 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/0.7935, allocations: 244.8 kB / 0.7113 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.7936, allocations: 57.23 kB / 0.7113 GB, free: 116.3 MB / 0.4948 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.0002244/0.7938, allocations: 259.1 kB / 0.7116 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.7938, allocations: 67.8 kB / 0.7117 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007219/0.7946, allocations: 0.944 MB / 0.7126 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7946, allocations: 6.969 kB / 0.7126 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7946, allocations: 0 / 0.7126 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7946, allocations: 0 / 0.7126 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.7949, allocations: 497.5 kB / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.7949, allocations: 3.531 kB / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.303e-05/0.795, allocations: 9.797 kB / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.795, allocations: 2.906 kB / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.795, allocations: 6.953 kB / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.795, allocations: 3.938 kB / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.795, allocations: 0 / 0.7131 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006097/0.7956, allocations: 1.004 MB / 0.7141 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.7957, allocations: 153.2 kB / 0.7142 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.211e-05/0.7957, allocations: 3.938 kB / 0.7142 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.7959, allocations: 11.19 kB / 0.7142 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.7959, allocations: 1.406 kB / 0.7142 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.796, allocations: 14.84 kB / 0.7142 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004917/0.7965, allocations: 0.6566 MB / 0.7149 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7965, allocations: 3.344 kB / 0.7149 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001119/0.7976, allocations: 495.5 kB / 0.7154 GB, free: 115.2 MB / 0.4948 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.001087/0.7987, allocations: 0.5603 MB / 0.7159 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.8003, allocations: 2.363 MB / 0.7182 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8003, allocations: 6.938 kB / 0.7182 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.8005, allocations: 334.9 kB / 0.7185 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.8009, allocations: 38.8 kB / 0.7186 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.8024, allocations: 1.843 MB / 0.7204 GB, free: 113 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.8027, allocations: 0.962 MB / 0.7213 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.8028, allocations: 61.84 kB / 0.7214 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.8029, allocations: 37.72 kB / 0.7214 GB, free: 112 MB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.8029, allocations: 4 kB / 0.7214 GB, free: 112 MB / 0.4948 GB Notification: Performance of Templates: time 0.0124/0.8153, allocations: 9.434 MB / 0.7306 GB, free: 106.5 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)