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.0065/0.0065, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001457/0.001457, allocations: 197.4 kB / 16.67 MB, free: 5.98 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 63.59 kB / 0.5809 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1752, allocations: 80.22 MB / 0.6593 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003203/0.1784, allocations: 1.397 MB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006113/0.1846, allocations: 3.024 MB / 0.6636 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.1846, allocations: 0 / 0.6636 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1848, allocations: 15.86 kB / 0.6636 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002553/0.1851, allocations: 35.83 kB / 0.6636 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.1885, allocations: 0.9913 MB / 0.6646 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.1887, allocations: 71.77 kB / 0.6647 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.1888, allocations: 23.89 kB / 0.6647 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.838e-05/0.1889, allocations: 39.86 kB / 0.6647 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.1892, allocations: 139.6 kB / 0.6649 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.1892, allocations: 16 kB / 0.6649 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.1919, allocations: 1.373 MB / 0.6662 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.1922, allocations: 267.8 kB / 0.6665 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.1926, allocations: 274.3 kB / 0.6667 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.1947, allocations: 1.477 MB / 0.6682 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1947, allocations: 4 kB / 0.6682 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1947, allocations: 0 / 0.6682 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.1948, allocations: 0 / 0.6682 GB, free: 4.809 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.009271/0.204, allocations: 1.21 MB / 0.6694 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.2041, allocations: 8.031 kB / 0.6694 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.605e-05/0.2042, allocations: 42.73 kB / 0.6694 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004682/0.2047, allocations: 87.69 kB / 0.6695 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.2051, allocations: 360.9 kB / 0.6698 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2052, allocations: 12.11 kB / 0.6698 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.2052, allocations: 7.984 kB / 0.6699 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.2057, allocations: 383.2 kB / 0.6702 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2057, allocations: 0 / 0.6702 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2057, allocations: 4 kB / 0.6702 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2057, allocations: 0 / 0.6702 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.2062, allocations: 443.7 kB / 0.6706 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.2068, allocations: 0.6325 MB / 0.6713 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.2073, allocations: 0.5594 MB / 0.6718 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.2076, allocations: 345.6 kB / 0.6721 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.2088, allocations: 1.025 MB / 0.6731 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000415/0.2092, allocations: 400.9 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.2092, allocations: 0 / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001324/0.2105, allocations: 1.293 MB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.2106, allocations: 81.11 kB / 0.6749 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.2118, allocations: 1.21 MB / 0.676 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.2119, allocations: 29.83 kB / 0.6761 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.2121, allocations: 257.4 kB / 0.6763 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.2121, allocations: 23.73 kB / 0.6763 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003286/0.2125, allocations: 351.5 kB / 0.6767 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2126, allocations: 310 kB / 0.677 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.2138, allocations: 1.365 MB / 0.6783 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.2151, allocations: 1.497 MB / 0.6798 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007251/0.2224, allocations: 3.534 MB / 0.6832 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2224, allocations: 4 kB / 0.6832 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004435/0.2268, allocations: 3.961 MB / 0.6871 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2269, allocations: 12.03 kB / 0.6871 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2269, allocations: 0 / 0.6871 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2269, allocations: 0 / 0.6871 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.2271, allocations: 15.98 kB / 0.6871 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2271, allocations: 4 kB / 0.6871 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.2277, allocations: 224.3 kB / 0.6873 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.2278, allocations: 23.98 kB / 0.6874 GB, free: 0.5195 MB / 0.5137 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.0003909/0.2282, allocations: 245.5 kB / 0.6876 GB, free: 276 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2283, allocations: 66.78 kB / 0.6877 GB, free: 208 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.2287, allocations: 75.2 kB / 0.6877 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2287, allocations: 0 / 0.6877 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.2287, allocations: 4 kB / 0.6877 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2287, allocations: 3.938 kB / 0.6877 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.2293, allocations: 0.4927 MB / 0.6882 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2293, allocations: 3.938 kB / 0.6882 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2294, allocations: 20.02 kB / 0.6882 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.2295, allocations: 4 kB / 0.6882 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.2295, allocations: 0 / 0.6882 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2295, allocations: 0 / 0.6882 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.2295, allocations: 4 kB / 0.6882 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2308, allocations: 1.001 MB / 0.6892 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.231, allocations: 147.9 kB / 0.6894 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.2311, allocations: 4 kB / 0.6894 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.2312, allocations: 15.92 kB / 0.6894 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2313, allocations: 3.938 kB / 0.6894 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.2313, allocations: 15.97 kB / 0.6894 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000769/0.2321, allocations: 0.6687 MB / 0.6901 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.2321, allocations: 0 / 0.6901 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001091/0.2332, allocations: 391.9 kB / 0.6904 GB, free: 13.26 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.002628/0.2358, allocations: 1.922 MB / 0.6923 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.238, allocations: 2.492 MB / 0.6947 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.238, allocations: 64 / 0.6947 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.2383, allocations: 347.7 kB / 0.6951 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2387, allocations: 37.36 kB / 0.6951 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.2527, allocations: 15.01 MB / 0.7098 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.2532, allocations: 0.9679 MB / 0.7107 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000122/0.2534, allocations: 32.55 kB / 0.7107 GB, free: 8.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.2537, allocations: 263.3 kB / 0.711 GB, free: 7.953 MB / 0.545 GB Notification: Performance of SimCode: time 8.91e-07/0.2537, allocations: 0 / 0.711 GB, free: 7.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.3021, allocations: 19.79 MB / 0.7303 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.91, allocations: 4.188 kB / 0.7303 GB, free: 4.352 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)