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.001112/0.001112, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001147/0.001147, allocations: 186.5 kB / 16.91 MB, free: 5.746 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.307/1.307, allocations: 222.9 MB / 240.6 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7248/0.7248, allocations: 132.2 MB / 422.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 68.09 kB / 0.5019 GB, free: 9.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1595, allocations: 80.2 MB / 0.5803 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00297/0.1626, allocations: 1.779 MB / 0.582 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005654/0.1682, allocations: 4.215 MB / 0.5861 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.1685, allocations: 7.938 kB / 0.5861 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1699, allocations: 337.6 kB / 0.5864 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.17, allocations: 55.72 kB / 0.5865 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.1728, allocations: 0.8895 MB / 0.5874 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.1731, allocations: 143.4 kB / 0.5875 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.1732, allocations: 13.56 kB / 0.5875 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.97e-05/0.1733, allocations: 55.77 kB / 0.5876 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.1735, allocations: 176.8 kB / 0.5877 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.1736, allocations: 12 kB / 0.5877 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.1757, allocations: 1.412 MB / 0.5891 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.1759, allocations: 275.8 kB / 0.5894 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.1762, allocations: 302.1 kB / 0.5897 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.1776, allocations: 1.056 MB / 0.5907 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1776, allocations: 0 / 0.5907 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.1777, allocations: 0 / 0.5907 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.1777, allocations: 0 / 0.5907 GB, free: 14.32 MB / 0.4981 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.008753/0.1864, allocations: 1.269 MB / 0.5919 GB, free: 13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1865, allocations: 16.03 kB / 0.592 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.1869, allocations: 91.58 kB / 0.5921 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.1873, allocations: 402 kB / 0.5924 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1874, allocations: 16.3 kB / 0.5924 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.1874, allocations: 12.12 kB / 0.5925 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1878, allocations: 387.2 kB / 0.5928 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1878, allocations: 3.938 kB / 0.5928 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1879, allocations: 0 / 0.5928 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1879, allocations: 4 kB / 0.5928 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.1883, allocations: 439.6 kB / 0.5933 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.1889, allocations: 0.6652 MB / 0.5939 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.1894, allocations: 0.5672 MB / 0.5945 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.1897, allocations: 337.7 kB / 0.5948 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.1908, allocations: 1.028 MB / 0.5958 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.1912, allocations: 404.9 kB / 0.5962 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.1912, allocations: 0 / 0.5962 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001258/0.1925, allocations: 1.293 MB / 0.5974 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.1925, allocations: 89.09 kB / 0.5975 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.1937, allocations: 1.281 MB / 0.5988 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.1938, allocations: 29.7 kB / 0.5988 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.194, allocations: 281.4 kB / 0.5991 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.194, allocations: 23.7 kB / 0.5991 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.1943, allocations: 347.5 kB / 0.5994 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1944, allocations: 318 kB / 0.5997 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.1955, allocations: 1.361 MB / 0.6011 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.1966, allocations: 1.499 MB / 0.6025 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2729/0.4695, allocations: 3.536 MB / 0.606 GB, free: 55.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.4696, allocations: 2.438 kB / 0.606 GB, free: 55.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00343/0.473, allocations: 3.971 MB / 0.6099 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4731, allocations: 3.188 kB / 0.6099 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.4731, allocations: 3.188 kB / 0.6099 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.4731, allocations: 3.469 kB / 0.6099 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.4733, allocations: 19 kB / 0.6099 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4733, allocations: 0 / 0.6099 GB, free: 53.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.4738, allocations: 230.9 kB / 0.6101 GB, free: 53.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.4738, allocations: 25.62 kB / 0.6101 GB, free: 53.22 MB / 0.4981 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 (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.0002775/0.4741, allocations: 250.5 kB / 0.6104 GB, free: 53.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.4742, allocations: 72.75 kB / 0.6104 GB, free: 53.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.4745, allocations: 76.48 kB / 0.6105 GB, free: 52.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.4745, allocations: 2.625 kB / 0.6105 GB, free: 52.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4745, allocations: 3.422 kB / 0.6105 GB, free: 52.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4745, allocations: 0 / 0.6105 GB, free: 52.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.4749, allocations: 0.5206 MB / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4749, allocations: 0 / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.4749, allocations: 10.36 kB / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4749, allocations: 0.5938 kB / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.475, allocations: 3.094 kB / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.475, allocations: 1.031 kB / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.475, allocations: 9.594 kB / 0.611 GB, free: 52.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007092/0.4757, allocations: 1.006 MB / 0.612 GB, free: 52.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.4758, allocations: 160.3 kB / 0.6122 GB, free: 52.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.4759, allocations: 0 / 0.6122 GB, free: 52.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.476, allocations: 13.38 kB / 0.6122 GB, free: 52.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.476, allocations: 3.094 kB / 0.6122 GB, free: 52.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/0.4761, allocations: 15.47 kB / 0.6122 GB, free: 52.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006481/0.4767, allocations: 0.7245 MB / 0.6129 GB, free: 52.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.583e-06/0.4768, allocations: 0 / 0.6129 GB, free: 52.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001113/0.4779, allocations: 401.1 kB / 0.6133 GB, free: 52.14 MB / 0.4981 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 (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.001096/0.479, allocations: 490.8 kB / 0.6138 GB, free: 52.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.4808, allocations: 2.5 MB / 0.6162 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4808, allocations: 0.5938 kB / 0.6162 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.4811, allocations: 347.6 kB / 0.6165 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.4816, allocations: 53.23 kB / 0.6166 GB, free: 51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.4836, allocations: 2.091 MB / 0.6186 GB, free: 50.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.484, allocations: 0.9906 MB / 0.6196 GB, free: 49.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.4841, allocations: 32.8 kB / 0.6196 GB, free: 49.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.833e-06/0.4841, allocations: 0 / 0.6196 GB, free: 49.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.01643/0.5005, allocations: 11.18 MB / 0.6306 GB, free: 47.96 MB / 0.4981 GB 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)