Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006138/0.006138, allocations: 102 kB / 15.73 MB, free: 6.035 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.001268/0.001269, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7519/0.7519, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.52 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1621, allocations: 80.21 MB / 0.6593 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002391/0.1645, allocations: 1.39 MB / 0.6606 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004528/0.1691, allocations: 3.028 MB / 0.6636 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.1691, allocations: 3.938 kB / 0.6636 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.1693, allocations: 7.922 kB / 0.6636 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1695, allocations: 35.78 kB / 0.6636 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.1718, allocations: 0.9933 MB / 0.6646 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1719, allocations: 79.8 kB / 0.6647 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1719, allocations: 15.86 kB / 0.6647 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.172, allocations: 39.89 kB / 0.6647 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1722, allocations: 147.6 kB / 0.6649 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.1723, allocations: 16 kB / 0.6649 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.174, allocations: 1.369 MB / 0.6662 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.1742, allocations: 271.8 kB / 0.6665 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.1745, allocations: 270.3 kB / 0.6667 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.176, allocations: 1.481 MB / 0.6682 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.176, allocations: 0 / 0.6682 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.176, allocations: 0 / 0.6682 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1761, allocations: 0 / 0.6682 GB, free: 1.555 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.007463/0.1835, allocations: 1.214 MB / 0.6694 GB, free: 296 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1836, allocations: 8.031 kB / 0.6694 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1836, allocations: 38.73 kB / 0.6694 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.184, allocations: 83.69 kB / 0.6695 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.1843, allocations: 356.9 kB / 0.6698 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1844, allocations: 8.125 kB / 0.6698 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.1844, allocations: 12 kB / 0.6698 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.1848, allocations: 391.1 kB / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.1849, allocations: 0 / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1849, allocations: 0 / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1849, allocations: 0 / 0.6702 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.1853, allocations: 431.8 kB / 0.6706 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1858, allocations: 0.6442 MB / 0.6713 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.1864, allocations: 0.5593 MB / 0.6718 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.1867, allocations: 337.7 kB / 0.6721 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.1877, allocations: 1.028 MB / 0.6731 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.1881, allocations: 400.8 kB / 0.6735 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1881, allocations: 0 / 0.6735 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001284/0.1894, allocations: 1.304 MB / 0.6748 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1895, allocations: 81.11 kB / 0.6749 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.1905, allocations: 1.202 MB / 0.676 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.1906, allocations: 33.7 kB / 0.6761 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1908, allocations: 261.4 kB / 0.6763 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1908, allocations: 19.75 kB / 0.6763 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/0.1911, allocations: 351.7 kB / 0.6767 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1912, allocations: 310 kB / 0.677 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.1924, allocations: 1.361 MB / 0.6783 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.1937, allocations: 1.489 MB / 0.6798 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006716/0.2004, allocations: 3.545 MB / 0.6832 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.2004, allocations: 4 kB / 0.6832 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004065/0.2045, allocations: 3.961 MB / 0.6871 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.2045, allocations: 4 kB / 0.6871 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.2045, allocations: 4 kB / 0.6871 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2046, allocations: 3.984 kB / 0.6871 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.2047, allocations: 23.97 kB / 0.6871 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2047, allocations: 4 kB / 0.6871 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.2052, allocations: 228.4 kB / 0.6873 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.2052, allocations: 23.98 kB / 0.6874 GB, free: 13.25 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.000274/0.2055, allocations: 237.6 kB / 0.6876 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2056, allocations: 62.78 kB / 0.6877 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.2058, allocations: 82.83 kB / 0.6877 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2058, allocations: 3.984 kB / 0.6877 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2058, allocations: 0 / 0.6877 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.2059, allocations: 4 kB / 0.6877 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.2063, allocations: 0.4927 MB / 0.6882 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2063, allocations: 3.938 kB / 0.6882 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.2064, allocations: 4 kB / 0.6882 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2064, allocations: 4 kB / 0.6882 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.2064, allocations: 3.984 kB / 0.6882 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2064, allocations: 4.031 kB / 0.6882 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2064, allocations: 0 / 0.6882 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009143/0.2073, allocations: 1.005 MB / 0.6892 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2074, allocations: 151.9 kB / 0.6894 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.2075, allocations: 4 kB / 0.6894 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2076, allocations: 8 kB / 0.6894 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.2077, allocations: 3.984 kB / 0.6894 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.2077, allocations: 11.98 kB / 0.6894 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006594/0.2084, allocations: 0.6687 MB / 0.69 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2084, allocations: 4 kB / 0.69 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001018/0.2094, allocations: 383.9 kB / 0.6904 GB, free: 10.02 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.002103/0.2115, allocations: 1.927 MB / 0.6923 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.2138, allocations: 2.495 MB / 0.6947 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2138, allocations: 0 / 0.6947 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.2141, allocations: 339.8 kB / 0.6951 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.2144, allocations: 36.61 kB / 0.6951 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.2283, allocations: 15.02 MB / 0.7098 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.2289, allocations: 0.9679 MB / 0.7107 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.2291, allocations: 32.55 kB / 0.7107 GB, free: 4.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.2294, allocations: 263.3 kB / 0.711 GB, free: 4.707 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.2294, allocations: 0 / 0.711 GB, free: 4.707 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04085/0.2703, allocations: 19.59 MB / 0.7301 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.595/9.865, allocations: 17.36 kB / 0.7301 GB, free: 1.285 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)