Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005611/0.005611, allocations: 171.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7449/0.7449, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0009305/0.0009306, allocations: 90.25 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004089, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4401, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.6174, allocations: 130.8 MB / 0.7773 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/0.6178, allocations: 124.9 kB / 0.7774 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.481/1.099, allocations: 30.16 MB / 0.8068 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/1.099, allocations: 7.875 kB / 0.8068 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.673e-05/1.099, allocations: 14.16 kB / 0.8068 GB, free: 131.2 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.002019/1.101, allocations: 1.204 MB / 0.808 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.101, allocations: 7.781 kB / 0.808 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/1.101, allocations: 109.4 kB / 0.8081 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/1.102, allocations: 465.9 kB / 0.8086 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/1.102, allocations: 23.81 kB / 0.8086 GB, free: 130 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/1.102, allocations: 35.41 kB / 0.8086 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/1.102, allocations: 389.2 kB / 0.809 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/1.102, allocations: 0 / 0.809 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.102, allocations: 4 kB / 0.809 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/1.102, allocations: 3.938 kB / 0.809 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/1.103, allocations: 435.5 kB / 0.8094 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/1.103, allocations: 0.772 MB / 0.8102 GB, free: 129.5 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/1.104, allocations: 0.5646 MB / 0.8107 GB, free: 129.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/1.105, allocations: 1.035 MB / 0.8117 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/1.105, allocations: 404.5 kB / 0.8121 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/1.105, allocations: 0 / 0.8121 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001084/1.106, allocations: 1.3 MB / 0.8134 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/1.106, allocations: 87.39 kB / 0.8135 GB, free: 128 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/1.107, allocations: 1.131 MB / 0.8146 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/1.107, allocations: 45.73 kB / 0.8146 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.107, allocations: 298.8 kB / 0.8149 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/1.107, allocations: 18.77 kB / 0.8149 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/1.107, allocations: 15.97 kB / 0.815 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.107, allocations: 423.7 kB / 0.8154 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/1.108, allocations: 1.215 MB / 0.8165 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.11, allocations: 1.366 MB / 0.8179 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/1.111, allocations: 1.606 MB / 0.8194 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.111, allocations: 0 / 0.8194 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003222/1.114, allocations: 3.458 MB / 0.8228 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.114, allocations: 4 kB / 0.8228 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/1.114, allocations: 7.094 kB / 0.8228 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.114, allocations: 8.031 kB / 0.8228 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/1.115, allocations: 136.7 kB / 0.823 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.115, allocations: 10.11 kB / 0.823 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/1.115, allocations: 240 kB / 0.8232 GB, free: 120.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/1.115, allocations: 59.8 kB / 0.8233 GB, free: 120.5 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.0003694/1.116, allocations: 271.4 kB / 0.8235 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/1.116, allocations: 70.69 kB / 0.8236 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008076/1.117, allocations: 0.9527 MB / 0.8245 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1.117, allocations: 4 kB / 0.8245 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.117, allocations: 3.938 kB / 0.8245 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.117, allocations: 3.938 kB / 0.8245 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/1.117, allocations: 0.5155 MB / 0.825 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.117, allocations: 0 / 0.825 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/1.117, allocations: 7.984 kB / 0.825 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.117, allocations: 4.031 kB / 0.825 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.117, allocations: 4 kB / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.117, allocations: 0 / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.117, allocations: 3.312 kB / 0.8251 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006819/1.118, allocations: 1.032 MB / 0.8261 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/1.118, allocations: 155.8 kB / 0.8262 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/1.118, allocations: 0 / 0.8262 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/1.118, allocations: 7.984 kB / 0.8262 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.118, allocations: 8 kB / 0.8262 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/1.118, allocations: 15.97 kB / 0.8262 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005976/1.119, allocations: 0.7023 MB / 0.8269 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/1.119, allocations: 0 / 0.8269 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001685/1.121, allocations: 0.5032 MB / 0.8274 GB, free: 116.4 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.001536/1.122, allocations: 0.6406 MB / 0.828 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001848/1.124, allocations: 2.359 MB / 0.8304 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.124, allocations: 0 / 0.8304 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/1.124, allocations: 343.7 kB / 0.8307 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/1.125, allocations: 60.73 kB / 0.8307 GB, free: 113 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/1.126, allocations: 1.969 MB / 0.8327 GB, free: 111 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/1.127, allocations: 1.008 MB / 0.8336 GB, free: 110 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002227/1.127, allocations: 58.95 kB / 0.8337 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.127, allocations: 43.42 kB / 0.8337 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/1.127, allocations: 3.938 kB / 0.8337 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.01676/1.144, allocations: 10.91 MB / 0.8444 GB, free: 99.03 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)