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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001803/0.001803, allocations: 191.8 kB / 17.2 MB, free: 5.594 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8355/0.8355, allocations: 135.2 MB / 426.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 0.5061 GB, free: 8.273 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3414, allocations: 80.92 MB / 0.5851 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002633/0.3441, allocations: 1.722 MB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.3485, allocations: 4.214 MB / 0.5909 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.3486, allocations: 0.75 kB / 0.5909 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3496, allocations: 368.7 kB / 0.5912 GB, free: 20.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.3497, allocations: 66.16 kB / 0.5913 GB, free: 20.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3517, allocations: 0.9845 MB / 0.5923 GB, free: 19.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3519, allocations: 147.4 kB / 0.5924 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.3519, allocations: 13.55 kB / 0.5924 GB, free: 19.01 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.352, allocations: 48.86 kB / 0.5925 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3522, allocations: 159.5 kB / 0.5926 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.843e-05/0.3522, allocations: 16 kB / 0.5926 GB, free: 18.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.3537, allocations: 1.374 MB / 0.594 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.3538, allocations: 275.8 kB / 0.5942 GB, free: 17.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.354, allocations: 303.9 kB / 0.5945 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.3552, allocations: 1.535 MB / 0.596 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3552, allocations: 0 / 0.596 GB, free: 15.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3552, allocations: 4 kB / 0.596 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3552, allocations: 0 / 0.596 GB, free: 15.3 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.00936/0.3646, allocations: 1.275 MB / 0.5973 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3646, allocations: 9.109 kB / 0.5973 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.365, allocations: 101.4 kB / 0.5974 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3653, allocations: 402 kB / 0.5978 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.3654, allocations: 12.36 kB / 0.5978 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.3654, allocations: 8.781 kB / 0.5978 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.3657, allocations: 398.5 kB / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3658, allocations: 0 / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3658, allocations: 0 / 0.5982 GB, free: 13.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3658, allocations: 3.984 kB / 0.5982 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.3661, allocations: 435.7 kB / 0.5986 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.3666, allocations: 0.6621 MB / 0.5992 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.367, allocations: 0.5689 MB / 0.5998 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.3672, allocations: 338.5 kB / 0.6001 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007863/0.368, allocations: 1.022 MB / 0.6011 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.3683, allocations: 412.6 kB / 0.6015 GB, free: 9.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.3683, allocations: 0 / 0.6015 GB, free: 9.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009703/0.3693, allocations: 1.293 MB / 0.6028 GB, free: 7.996 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3693, allocations: 78.45 kB / 0.6028 GB, free: 7.902 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008794/0.3702, allocations: 1.281 MB / 0.6041 GB, free: 6.609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3703, allocations: 33.64 kB / 0.6041 GB, free: 6.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3704, allocations: 282.8 kB / 0.6044 GB, free: 6.289 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3704, allocations: 27.62 kB / 0.6044 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.3707, allocations: 351.5 kB / 0.6048 GB, free: 5.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.3707, allocations: 318.8 kB / 0.6051 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008265/0.3715, allocations: 1.358 MB / 0.6064 GB, free: 4.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.3724, allocations: 1.502 MB / 0.6079 GB, free: 2.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006076/0.3785, allocations: 3.534 MB / 0.6113 GB, free: 15.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3785, allocations: 0 / 0.6113 GB, free: 15.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004372/0.3829, allocations: 3.976 MB / 0.6152 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3829, allocations: 8 kB / 0.6152 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.383, allocations: 3.984 kB / 0.6152 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.383, allocations: 0 / 0.6152 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3831, allocations: 12 kB / 0.6152 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3831, allocations: 4 kB / 0.6152 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.3837, allocations: 233.4 kB / 0.6154 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.3837, allocations: 27.92 kB / 0.6155 GB, free: 10.81 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.000385/0.3841, allocations: 252.8 kB / 0.6157 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.3842, allocations: 70.69 kB / 0.6158 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.3845, allocations: 81.28 kB / 0.6159 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3846, allocations: 5.625 kB / 0.6159 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3846, allocations: 0 / 0.6159 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3846, allocations: 0 / 0.6159 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.3851, allocations: 0.5177 MB / 0.6164 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3852, allocations: 0.625 kB / 0.6164 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.3852, allocations: 9.391 kB / 0.6164 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3852, allocations: 0 / 0.6164 GB, free: 9.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3853, allocations: 4 kB / 0.6164 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3853, allocations: 0 / 0.6164 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.3853, allocations: 5.188 kB / 0.6164 GB, free: 9.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3864, allocations: 1.015 MB / 0.6174 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.3866, allocations: 157.3 kB / 0.6175 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.331e-05/0.3866, allocations: 0 / 0.6175 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3868, allocations: 7.984 kB / 0.6175 GB, free: 8.605 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3868, allocations: 5.75 kB / 0.6175 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.3869, allocations: 15.97 kB / 0.6176 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000838/0.3877, allocations: 0.714 MB / 0.6183 GB, free: 7.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3877, allocations: 1.969 kB / 0.6183 GB, free: 7.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001084/0.3888, allocations: 403.8 kB / 0.6186 GB, free: 7.473 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.001174/0.39, allocations: 491.2 kB / 0.6191 GB, free: 6.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.3924, allocations: 2.493 MB / 0.6215 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3925, allocations: 3.938 kB / 0.6215 GB, free: 4.488 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.3928, allocations: 336.8 kB / 0.6219 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3932, allocations: 63.17 kB / 0.6219 GB, free: 4.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.3957, allocations: 1.92 MB / 0.6238 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006239/0.3963, allocations: 0.9878 MB / 0.6248 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.3964, allocations: 35.41 kB / 0.6248 GB, free: 1.102 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3964, allocations: 0 / 0.6248 GB, free: 1.102 MB / 462.1 MB Notification: Performance of Templates: time 0.01701/0.4134, allocations: 11.18 MB / 0.6357 GB, free: 5.934 MB / 478.1 MB 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)