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.001467/0.001467, allocations: 108.9 kB / 16.41 MB, free: 6.465 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.001389/0.001389, allocations: 187 kB / 17.34 MB, free: 5.719 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.44 kB / 0.5821 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 80.2 MB / 0.6604 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003353/0.1594, allocations: 1.733 MB / 0.6621 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006194/0.1656, allocations: 4.218 MB / 0.6662 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1657, allocations: 4 kB / 0.6662 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.167, allocations: 374.4 kB / 0.6666 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1672, allocations: 55.67 kB / 0.6666 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.1701, allocations: 0.9785 MB / 0.6676 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002754/0.1704, allocations: 150.8 kB / 0.6677 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.1704, allocations: 9.547 kB / 0.6677 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.1705, allocations: 59.72 kB / 0.6678 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1707, allocations: 163.5 kB / 0.6679 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.1708, allocations: 16 kB / 0.668 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.173, allocations: 1.385 MB / 0.6693 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.1732, allocations: 275.8 kB / 0.6696 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002625/0.1735, allocations: 306.1 kB / 0.6699 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.1757, allocations: 1.543 MB / 0.6714 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1757, allocations: 0 / 0.6714 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.805e-06/0.1757, allocations: 4 kB / 0.6714 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.1757, allocations: 3.938 kB / 0.6714 GB, free: 15.03 MB / 0.5137 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.01018/0.1859, allocations: 1.277 MB / 0.6726 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.186, allocations: 9.109 kB / 0.6726 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.1864, allocations: 91.59 kB / 0.6727 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.187, allocations: 406 kB / 0.6731 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.187, allocations: 4.375 kB / 0.6731 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.1871, allocations: 11.94 kB / 0.6731 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004164/0.1875, allocations: 387.2 kB / 0.6735 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1875, allocations: 7.922 kB / 0.6735 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1875, allocations: 0 / 0.6735 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1875, allocations: 4 kB / 0.6735 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.1879, allocations: 427.8 kB / 0.6739 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.1886, allocations: 0.6653 MB / 0.6746 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004889/0.1891, allocations: 0.5711 MB / 0.6751 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.1894, allocations: 333.6 kB / 0.6754 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009794/0.1904, allocations: 1.028 MB / 0.6764 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.1908, allocations: 400.8 kB / 0.6768 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.1908, allocations: 0 / 0.6768 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001288/0.1921, allocations: 1.297 MB / 0.6781 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1922, allocations: 89.03 kB / 0.6782 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1934, allocations: 1.281 MB / 0.6794 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.1934, allocations: 29.7 kB / 0.6795 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1936, allocations: 289.3 kB / 0.6797 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1937, allocations: 23.73 kB / 0.6797 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.194, allocations: 347.7 kB / 0.6801 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1941, allocations: 322 kB / 0.6804 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.1953, allocations: 1.357 MB / 0.6817 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.1965, allocations: 1.493 MB / 0.6832 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/0.2033, allocations: 3.553 MB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2033, allocations: 3.938 kB / 0.6866 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004093/0.2074, allocations: 3.961 MB / 0.6905 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2074, allocations: 8 kB / 0.6905 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.2075, allocations: 0 / 0.6905 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2075, allocations: 0 / 0.6905 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.2076, allocations: 23.86 kB / 0.6905 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2076, allocations: 8.031 kB / 0.6906 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.2081, allocations: 228.3 kB / 0.6908 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.2082, allocations: 27.98 kB / 0.6908 GB, free: 10.51 MB / 0.5294 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.0002955/0.2085, allocations: 245.6 kB / 0.691 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.2085, allocations: 70.69 kB / 0.6911 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.2088, allocations: 87.66 kB / 0.6912 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2088, allocations: 0 / 0.6912 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2088, allocations: 0 / 0.6912 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2088, allocations: 0 / 0.6912 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.2093, allocations: 0.5177 MB / 0.6917 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2093, allocations: 0 / 0.6917 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.2094, allocations: 7.984 kB / 0.6917 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2094, allocations: 4 kB / 0.6917 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2094, allocations: 0 / 0.6917 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2094, allocations: 0 / 0.6917 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2094, allocations: 0 / 0.6917 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008421/0.2102, allocations: 1.021 MB / 0.6927 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2104, allocations: 159.7 kB / 0.6928 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.2104, allocations: 3.984 kB / 0.6929 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.2106, allocations: 4 kB / 0.6929 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.2106, allocations: 15.98 kB / 0.6929 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.2107, allocations: 11.98 kB / 0.6929 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007741/0.2115, allocations: 0.7179 MB / 0.6936 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2115, allocations: 0 / 0.6936 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001074/0.2126, allocations: 403.9 kB / 0.694 GB, free: 7.148 MB / 0.5294 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.001486/0.2141, allocations: 478.8 kB / 0.6944 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.2165, allocations: 2.495 MB / 0.6969 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2166, allocations: 0 / 0.6969 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.2169, allocations: 343.8 kB / 0.6972 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.2173, allocations: 69.67 kB / 0.6973 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.2195, allocations: 1.909 MB / 0.6991 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.22, allocations: 0.9801 MB / 0.7001 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2201, allocations: 31.34 kB / 0.7001 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.2201, allocations: 4 kB / 0.7001 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of Templates: time 0.01811/0.2382, allocations: 11.19 MB / 0.711 GB, free: 5.594 MB / 0.545 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)