Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008189/0.008189, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7564/0.7564, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 8 kB / 0.504 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4021, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001328/0.4035, allocations: 1.127 MB / 0.5848 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005035/0.4085, allocations: 3.158 MB / 0.5879 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.4086, allocations: 4 kB / 0.5879 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.4087, allocations: 7.891 kB / 0.5879 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.4089, allocations: 27.83 kB / 0.5879 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.4108, allocations: 0.768 MB / 0.5887 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.411, allocations: 113.2 kB / 0.5888 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.4111, allocations: 8.172 kB / 0.5888 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.4111, allocations: 32.67 kB / 0.5888 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.4114, allocations: 152.9 kB / 0.589 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.4115, allocations: 12.25 kB / 0.589 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.4137, allocations: 1.394 MB / 0.5903 GB, free: 308 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.414, allocations: 269.9 kB / 0.5906 GB, free: 232 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.4142, allocations: 304.9 kB / 0.5909 GB, free: 16 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.4165, allocations: 1.467 MB / 0.5923 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4165, allocations: 0.9062 kB / 0.5923 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4165, allocations: 0 / 0.5923 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4165, allocations: 0 / 0.5923 GB, free: 15.55 MB / 446.1 MB 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.01077/0.4273, allocations: 1.161 MB / 0.5935 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4273, allocations: 9.844 kB / 0.5935 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.4277, allocations: 89.27 kB / 0.5936 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.4281, allocations: 361.2 kB / 0.5939 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4282, allocations: 4.062 kB / 0.5939 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.8e-05/0.4282, allocations: 12.86 kB / 0.5939 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.4287, allocations: 389.5 kB / 0.5943 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.4287, allocations: 4 kB / 0.5943 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4287, allocations: 2.594 kB / 0.5943 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4288, allocations: 0 / 0.5943 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.4292, allocations: 433.8 kB / 0.5947 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/0.4298, allocations: 0.6252 MB / 0.5953 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/0.4304, allocations: 0.5656 MB / 0.5959 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.4307, allocations: 345.4 kB / 0.5962 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/0.4318, allocations: 1.04 MB / 0.5972 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/0.4322, allocations: 407.8 kB / 0.5976 GB, free: 12.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.4322, allocations: 0 / 0.5976 GB, free: 12.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001353/0.4335, allocations: 1.291 MB / 0.5989 GB, free: 12.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.4336, allocations: 79.36 kB / 0.5989 GB, free: 11.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4348, allocations: 1.206 MB / 0.6001 GB, free: 11.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.4349, allocations: 27.73 kB / 0.6001 GB, free: 11.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4351, allocations: 260.3 kB / 0.6004 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.4351, allocations: 27.91 kB / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.4354, allocations: 284.8 kB / 0.6007 GB, free: 10.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4355, allocations: 315.4 kB / 0.601 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.4368, allocations: 1.359 MB / 0.6023 GB, free: 9.902 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.4382, allocations: 1.497 MB / 0.6038 GB, free: 9.227 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007394/0.4456, allocations: 3.542 MB / 0.6072 GB, free: 7.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4456, allocations: 4 kB / 0.6072 GB, free: 7.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004427/0.4501, allocations: 3.96 MB / 0.6111 GB, free: 3.719 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.4501, allocations: 9.562 kB / 0.6111 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.4501, allocations: 3.984 kB / 0.6111 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4501, allocations: 0 / 0.6111 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.4503, allocations: 15.94 kB / 0.6111 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4503, allocations: 4 kB / 0.6111 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.4509, allocations: 240.3 kB / 0.6114 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.451, allocations: 23.98 kB / 0.6114 GB, free: 3.426 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.4513, allocations: 237.6 kB / 0.6116 GB, free: 3.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.4513, allocations: 66.77 kB / 0.6117 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.4516, allocations: 78.83 kB / 0.6118 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.4516, allocations: 32 / 0.6118 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4517, allocations: 8 kB / 0.6118 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4517, allocations: 0 / 0.6118 GB, free: 3.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.4521, allocations: 0.4928 MB / 0.6123 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4521, allocations: 0 / 0.6123 GB, free: 2.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.4522, allocations: 4 kB / 0.6123 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4522, allocations: 7.984 kB / 0.6123 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4522, allocations: 0 / 0.6123 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4522, allocations: 0 / 0.6123 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4522, allocations: 4 kB / 0.6123 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.4532, allocations: 1.005 MB / 0.6132 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.4533, allocations: 147.9 kB / 0.6134 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.4534, allocations: 8 kB / 0.6134 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.4535, allocations: 4 kB / 0.6134 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.4536, allocations: 7.984 kB / 0.6134 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.4536, allocations: 15.92 kB / 0.6134 GB, free: 1.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007218/0.4543, allocations: 0.6726 MB / 0.6141 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4543, allocations: 0 / 0.6141 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001438/0.4558, allocations: 391.9 kB / 0.6145 GB, free: 184 kB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.4571, allocations: 490.7 kB / 0.6149 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.4593, allocations: 2.492 MB / 0.6174 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4594, allocations: 0 / 0.6174 GB, free: 13.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.4597, allocations: 339.8 kB / 0.6177 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.4601, allocations: 36.55 kB / 0.6177 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.4623, allocations: 1.93 MB / 0.6196 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.4628, allocations: 0.9643 MB / 0.6205 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.463, allocations: 36.55 kB / 0.6206 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.639e-05/0.4631, allocations: 23.42 kB / 0.6206 GB, free: 9.812 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4631, allocations: 0 / 0.6206 GB, free: 9.812 MB / 462.1 MB Notification: Performance of Templates: time 0.01655/0.4797, allocations: 9.169 MB / 0.6296 GB, free: 0.6836 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)