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_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001528/0.001528, allocations: 102.9 kB / 16.27 MB, free: 5.926 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.001516/0.001517, allocations: 189.6 kB / 17.2 MB, free: 5.562 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8521/0.8521, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 0.5061 GB, free: 8.277 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3479, allocations: 80.92 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00256/0.3505, allocations: 1.398 MB / 0.5865 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003964/0.3545, allocations: 3.021 MB / 0.5894 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.3546, allocations: 1.344 kB / 0.5894 GB, free: 21.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3547, allocations: 13.27 kB / 0.5894 GB, free: 21.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.355, allocations: 27.19 kB / 0.5895 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.3576, allocations: 0.9944 MB / 0.5904 GB, free: 21.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.3577, allocations: 80.41 kB / 0.5905 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.3577, allocations: 7.984 kB / 0.5905 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.3578, allocations: 37.08 kB / 0.5906 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.358, allocations: 147.6 kB / 0.5907 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.358, allocations: 12.81 kB / 0.5907 GB, free: 20.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.3597, allocations: 1.366 MB / 0.592 GB, free: 19.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3598, allocations: 267.8 kB / 0.5923 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.36, allocations: 280 kB / 0.5926 GB, free: 18.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.3613, allocations: 1.465 MB / 0.594 GB, free: 17.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3614, allocations: 0 / 0.594 GB, free: 17.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3614, allocations: 4 kB / 0.594 GB, free: 17.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3614, allocations: 0 / 0.594 GB, free: 17.41 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.009525/0.3709, allocations: 1.211 MB / 0.5952 GB, free: 16.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.371, allocations: 9.25 kB / 0.5952 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.3713, allocations: 90.16 kB / 0.5953 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.3717, allocations: 360.8 kB / 0.5956 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3717, allocations: 4.375 kB / 0.5956 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.3717, allocations: 12.12 kB / 0.5956 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.3721, allocations: 392.5 kB / 0.596 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.3721, allocations: 0 / 0.596 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3721, allocations: 0 / 0.596 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3721, allocations: 1.906 kB / 0.596 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.3724, allocations: 439.7 kB / 0.5964 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.3728, allocations: 0.6271 MB / 0.597 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/0.3732, allocations: 0.5633 MB / 0.5976 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.3734, allocations: 339.2 kB / 0.5979 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/0.3742, allocations: 1.031 MB / 0.5989 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.3745, allocations: 409.9 kB / 0.5993 GB, free: 11.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.3745, allocations: 0.5625 kB / 0.5993 GB, free: 11.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009471/0.3755, allocations: 1.287 MB / 0.6006 GB, free: 10.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.3755, allocations: 85.11 kB / 0.6007 GB, free: 10.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.3763, allocations: 1.2 MB / 0.6018 GB, free: 8.945 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.3763, allocations: 33.69 kB / 0.6019 GB, free: 8.906 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3764, allocations: 257.4 kB / 0.6021 GB, free: 8.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3765, allocations: 23.7 kB / 0.6021 GB, free: 8.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.3767, allocations: 353.2 kB / 0.6025 GB, free: 8.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.3768, allocations: 314 kB / 0.6028 GB, free: 7.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/0.3776, allocations: 1.359 MB / 0.6041 GB, free: 6.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008593/0.3784, allocations: 1.499 MB / 0.6055 GB, free: 5.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005784/0.3842, allocations: 3.543 MB / 0.609 GB, free: 1.465 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3843, allocations: 0 / 0.609 GB, free: 1.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004088/0.3883, allocations: 3.97 MB / 0.6129 GB, free: 13.46 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3884, allocations: 7.25 kB / 0.6129 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.3884, allocations: 8 kB / 0.6129 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3884, allocations: 0 / 0.6129 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.3886, allocations: 18.14 kB / 0.6129 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3886, allocations: 0 / 0.6129 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.3891, allocations: 228.3 kB / 0.6131 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.3892, allocations: 19.98 kB / 0.6132 GB, free: 13.18 MB / 462.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.0003238/0.3895, allocations: 247.2 kB / 0.6134 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.3896, allocations: 62.78 kB / 0.6134 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3899, allocations: 81.69 kB / 0.6135 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3899, allocations: 0 / 0.6135 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3899, allocations: 0 / 0.6135 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3899, allocations: 0 / 0.6135 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.3904, allocations: 0.4929 MB / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3904, allocations: 0 / 0.614 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.3905, allocations: 8.672 kB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3905, allocations: 0.5312 kB / 0.614 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3905, allocations: 8 kB / 0.614 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3905, allocations: 1.281 kB / 0.614 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.3905, allocations: 3.938 kB / 0.614 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3916, allocations: 0.9995 MB / 0.615 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3917, allocations: 149.3 kB / 0.6151 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.3918, allocations: 4 kB / 0.6152 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.3919, allocations: 3.984 kB / 0.6152 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.392, allocations: 9.219 kB / 0.6152 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.3921, allocations: 15.97 kB / 0.6152 GB, free: 11.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000777/0.3928, allocations: 0.6664 MB / 0.6158 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3928, allocations: 0 / 0.6158 GB, free: 10.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001137/0.394, allocations: 399.8 kB / 0.6162 GB, free: 9.953 MB / 462.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.001248/0.3952, allocations: 482.7 kB / 0.6167 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002632/0.3979, allocations: 2.499 MB / 0.6191 GB, free: 6.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3979, allocations: 0.5 kB / 0.6191 GB, free: 6.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.3983, allocations: 340.4 kB / 0.6194 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.3986, allocations: 46.78 kB / 0.6195 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.401, allocations: 1.806 MB / 0.6212 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006692/0.4016, allocations: 0.9607 MB / 0.6222 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.4018, allocations: 27.41 kB / 0.6222 GB, free: 3.758 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4018, allocations: 0 / 0.6222 GB, free: 3.758 MB / 462.1 MB Notification: Performance of Templates: time 0.01818/0.4199, allocations: 10.53 MB / 0.6325 GB, free: 9.223 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)