Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001008/0.001008, 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.008033/0.008033, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7651/0.7651, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 8 kB / 0.504 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4125, allocations: 81.59 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002129/0.4147, allocations: 1.446 MB / 0.5851 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.421, allocations: 4.312 MB / 0.5893 GB, free: 56 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.4212, allocations: 0 / 0.5893 GB, free: 56 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.4226, allocations: 348.6 kB / 0.5897 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.4228, allocations: 57.36 kB / 0.5897 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.4255, allocations: 0.7643 MB / 0.5905 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.4258, allocations: 192.7 kB / 0.5907 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.694e-05/0.4259, allocations: 9.125 kB / 0.5907 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.426, allocations: 55.47 kB / 0.5907 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.4263, allocations: 176.4 kB / 0.5909 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.4263, allocations: 14.31 kB / 0.5909 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.4294, allocations: 1.393 MB / 0.5923 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.4299, allocations: 280 kB / 0.5925 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003885/0.4303, allocations: 332.3 kB / 0.5928 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.4334, allocations: 1.535 MB / 0.5943 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4334, allocations: 0 / 0.5943 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4334, allocations: 0 / 0.5943 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.4334, allocations: 0 / 0.5943 GB, free: 14.21 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.01159/0.445, allocations: 1.214 MB / 0.5955 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.4451, allocations: 9.719 kB / 0.5955 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.4456, allocations: 101.1 kB / 0.5956 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.4461, allocations: 406.1 kB / 0.596 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4461, allocations: 7.922 kB / 0.596 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.4462, allocations: 11.62 kB / 0.596 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.4466, allocations: 389.8 kB / 0.5964 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.4467, allocations: 0 / 0.5964 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.4467, allocations: 5.438 kB / 0.5964 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4467, allocations: 5.406 kB / 0.5964 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.4472, allocations: 438.2 kB / 0.5968 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.4481, allocations: 0.6581 MB / 0.5975 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.4487, allocations: 0.5647 MB / 0.598 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003503/0.4491, allocations: 345.4 kB / 0.5984 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/0.4505, allocations: 1.034 MB / 0.5994 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.451, allocations: 402.4 kB / 0.5998 GB, free: 10.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.451, allocations: 0 / 0.5998 GB, free: 10.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.00174/0.4527, allocations: 1.298 MB / 0.601 GB, free: 10.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.4528, allocations: 83.61 kB / 0.6011 GB, free: 10.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.4543, allocations: 1.278 MB / 0.6024 GB, free: 9.543 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.4544, allocations: 31.08 kB / 0.6024 GB, free: 9.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.4547, allocations: 289.1 kB / 0.6027 GB, free: 9.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.4547, allocations: 18.53 kB / 0.6027 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/0.455, allocations: 289.2 kB / 0.6029 GB, free: 9.086 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4552, allocations: 321.4 kB / 0.6033 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.4567, allocations: 1.367 MB / 0.6046 GB, free: 8.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4582, allocations: 1.495 MB / 0.6061 GB, free: 7.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007592/0.4658, allocations: 3.533 MB / 0.6095 GB, free: 5.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4658, allocations: 4 kB / 0.6095 GB, free: 5.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004687/0.4705, allocations: 3.977 MB / 0.6134 GB, free: 1.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.4706, allocations: 4 kB / 0.6134 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.4706, allocations: 8 kB / 0.6134 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4706, allocations: 0 / 0.6134 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.4708, allocations: 15.98 kB / 0.6134 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4708, allocations: 0 / 0.6134 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.4716, allocations: 228.3 kB / 0.6136 GB, free: 1.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.4717, allocations: 28.02 kB / 0.6137 GB, free: 1.129 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.0004237/0.4721, allocations: 249.5 kB / 0.6139 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.4722, allocations: 74.62 kB / 0.614 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.4725, allocations: 79.72 kB / 0.614 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.4725, allocations: 4 kB / 0.614 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4725, allocations: 0 / 0.614 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.4726, allocations: 8.016 kB / 0.6141 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.4731, allocations: 0.5099 MB / 0.6146 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4731, allocations: 11.92 kB / 0.6146 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.4732, allocations: 4 kB / 0.6146 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4732, allocations: 0 / 0.6146 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4732, allocations: 7.984 kB / 0.6146 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4732, allocations: 0 / 0.6146 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4732, allocations: 0 / 0.6146 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.4743, allocations: 1.009 MB / 0.6156 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.4745, allocations: 163.6 kB / 0.6157 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.4746, allocations: 7.984 kB / 0.6157 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4748, allocations: 4 kB / 0.6157 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.4748, allocations: 11.92 kB / 0.6157 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.4749, allocations: 11.98 kB / 0.6158 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008886/0.4758, allocations: 0.7218 MB / 0.6165 GB, free: 14.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4758, allocations: 0 / 0.6165 GB, free: 14.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001798/0.4776, allocations: 399.9 kB / 0.6168 GB, free: 13.76 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.001366/0.479, allocations: 494.8 kB / 0.6173 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00244/0.4814, allocations: 2.492 MB / 0.6197 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4814, allocations: 0 / 0.6197 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.4818, allocations: 335.8 kB / 0.6201 GB, free: 10.44 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.4823, allocations: 60.77 kB / 0.6201 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.4849, allocations: 2.067 MB / 0.6221 GB, free: 8.277 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.4855, allocations: 0.9881 MB / 0.6231 GB, free: 7.266 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002021/0.4857, allocations: 41.97 kB / 0.6231 GB, free: 7.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4858, allocations: 27.42 kB / 0.6232 GB, free: 7.199 MB / 462.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4858, allocations: 0 / 0.6232 GB, free: 7.199 MB / 462.1 MB Notification: Performance of Templates: time 0.01791/0.5037, allocations: 9.768 MB / 0.6327 GB, free: 13.5 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)