Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.007595/0.007595, allocations: 102.6 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.001639/0.001639, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7889/0.7889, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.78 kB / 0.5809 GB, free: 1.297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 80.2 MB / 0.6593 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002707/0.1767, allocations: 1.389 MB / 0.6606 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004461/0.1812, allocations: 3.035 MB / 0.6636 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.1813, allocations: 0 / 0.6636 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1814, allocations: 7.922 kB / 0.6636 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1816, allocations: 39.78 kB / 0.6636 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.1841, allocations: 0.9992 MB / 0.6646 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1842, allocations: 87.67 kB / 0.6647 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.1843, allocations: 7.984 kB / 0.6647 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.878e-05/0.1843, allocations: 35.91 kB / 0.6647 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.1845, allocations: 165.6 kB / 0.6649 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1846, allocations: 12 kB / 0.6649 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.1864, allocations: 1.377 MB / 0.6662 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006265/0.187, allocations: 0.6875 MB / 0.6669 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.1873, allocations: 441 kB / 0.6673 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.1895, allocations: 1.788 MB / 0.6691 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1896, allocations: 0 / 0.6691 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1896, allocations: 0 / 0.6691 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1896, allocations: 0 / 0.6691 GB, free: 3.996 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.007815/0.1974, allocations: 1.694 MB / 0.6707 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1974, allocations: 12.03 kB / 0.6707 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.1975, allocations: 42.73 kB / 0.6708 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.1979, allocations: 135 kB / 0.6709 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.1984, allocations: 0.5172 MB / 0.6714 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1985, allocations: 12.12 kB / 0.6714 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1985, allocations: 4 kB / 0.6714 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004195/0.1989, allocations: 395.1 kB / 0.6718 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1989, allocations: 0 / 0.6718 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.199, allocations: 0 / 0.6718 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.199, allocations: 4 kB / 0.6718 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.1995, allocations: 431.7 kB / 0.6722 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.2003, allocations: 0.8112 MB / 0.673 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.2008, allocations: 0.5749 MB / 0.6736 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.2011, allocations: 333.7 kB / 0.6739 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.2022, allocations: 1.025 MB / 0.6749 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.2026, allocations: 412.8 kB / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.2026, allocations: 0 / 0.6753 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001288/0.2039, allocations: 1.343 MB / 0.6766 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.2039, allocations: 85.09 kB / 0.6767 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.2058, allocations: 1.843 MB / 0.6785 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2059, allocations: 29.7 kB / 0.6785 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.2062, allocations: 473.3 kB / 0.679 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.2063, allocations: 19.72 kB / 0.679 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.2066, allocations: 347.5 kB / 0.6793 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2067, allocations: 313.1 kB / 0.6796 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.2082, allocations: 1.506 MB / 0.6811 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.2096, allocations: 1.646 MB / 0.6827 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006949/0.2165, allocations: 3.694 MB / 0.6863 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2166, allocations: 4 kB / 0.6863 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004145/0.2207, allocations: 4.316 MB / 0.6905 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.2207, allocations: 7.984 kB / 0.6905 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2208, allocations: 4 kB / 0.6905 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2208, allocations: 0 / 0.6905 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2209, allocations: 15.94 kB / 0.6905 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2209, allocations: 3.984 kB / 0.6905 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000464/0.2214, allocations: 232.4 kB / 0.6908 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.2215, allocations: 19.98 kB / 0.6908 GB, free: 13.05 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.0003959/0.2219, allocations: 370.1 kB / 0.6911 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.222, allocations: 122 kB / 0.6912 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.2223, allocations: 145 kB / 0.6914 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2223, allocations: 8.031 kB / 0.6914 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2223, allocations: 0 / 0.6914 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2223, allocations: 0 / 0.6914 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007576/0.2231, allocations: 0.6871 MB / 0.6921 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2231, allocations: 0 / 0.6921 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.2232, allocations: 8 kB / 0.6921 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2232, allocations: 4 kB / 0.6921 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2232, allocations: 3.984 kB / 0.6921 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2232, allocations: 4 kB / 0.6921 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2232, allocations: 0 / 0.6921 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/0.2241, allocations: 1.067 MB / 0.6931 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.2242, allocations: 195.1 kB / 0.6933 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.2243, allocations: 3.984 kB / 0.6933 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2245, allocations: 4 kB / 0.6933 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.2245, allocations: 15.98 kB / 0.6933 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.2246, allocations: 11.98 kB / 0.6933 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00106/0.2257, allocations: 1.101 MB / 0.6944 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2257, allocations: 3.938 kB / 0.6944 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00102/0.2267, allocations: 435.8 kB / 0.6948 GB, free: 8.738 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.002173/0.2289, allocations: 1.978 MB / 0.6968 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.2312, allocations: 2.644 MB / 0.6994 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2312, allocations: 0 / 0.6994 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.2315, allocations: 335.8 kB / 0.6997 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.2319, allocations: 56.97 kB / 0.6997 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2609/0.4928, allocations: 36.37 MB / 0.7352 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.4936, allocations: 1.157 MB / 0.7364 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.4938, allocations: 36.55 kB / 0.7364 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.4942, allocations: 431.3 kB / 0.7368 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of SimCode: time 2.003e-06/0.4942, allocations: 0 / 0.7368 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0905/0.5847, allocations: 60.25 MB / 0.7957 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.18, allocations: 8.141 kB / 0.7957 GB, free: 1.324 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)