Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001723/0.001723, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 190.8 kB / 16.67 MB, free: 6.539 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.041/1.041, allocations: 135.6 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.89 kB / 0.5858 GB, free: 3.156 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4557/0.4578, allocations: 81.03 MB / 0.6649 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002141/0.46, allocations: 1.406 MB / 0.6663 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003819/0.4638, allocations: 3.025 MB / 0.6693 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.4639, allocations: 5.531 kB / 0.6693 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.464, allocations: 5.094 kB / 0.6693 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.4643, allocations: 39.58 kB / 0.6693 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.4668, allocations: 0.9866 MB / 0.6703 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.4669, allocations: 76.72 kB / 0.6703 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.467, allocations: 8.109 kB / 0.6703 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.467, allocations: 42.45 kB / 0.6704 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.4672, allocations: 141 kB / 0.6705 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.4673, allocations: 13.25 kB / 0.6705 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.4694, allocations: 1.38 MB / 0.6719 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.4696, allocations: 268.1 kB / 0.6721 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.4698, allocations: 272.8 kB / 0.6724 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.4718, allocations: 1.481 MB / 0.6738 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4718, allocations: 3.938 kB / 0.6738 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4718, allocations: 4 kB / 0.6738 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.4718, allocations: 0 / 0.6738 GB, free: 0.8555 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.01077/0.4826, allocations: 1.245 MB / 0.6751 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4826, allocations: 10.53 kB / 0.6751 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.4827, allocations: 36.28 kB / 0.6751 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/0.4832, allocations: 91.33 kB / 0.6752 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004634/0.4837, allocations: 363.1 kB / 0.6755 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4837, allocations: 10.42 kB / 0.6756 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.4838, allocations: 8.969 kB / 0.6756 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.4843, allocations: 382.4 kB / 0.6759 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4843, allocations: 3.938 kB / 0.6759 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4843, allocations: 5.25 kB / 0.6759 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4843, allocations: 5.141 kB / 0.6759 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.4849, allocations: 438.2 kB / 0.6764 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.4857, allocations: 0.631 MB / 0.677 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007314/0.4864, allocations: 0.5697 MB / 0.6775 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.4868, allocations: 337.2 kB / 0.6779 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.4881, allocations: 1.024 MB / 0.6789 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.4885, allocations: 415.2 kB / 0.6792 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.4885, allocations: 0 / 0.6792 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0018/0.4904, allocations: 1.28 MB / 0.6805 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.4904, allocations: 87.52 kB / 0.6806 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.4919, allocations: 1.214 MB / 0.6818 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/0.4919, allocations: 27.23 kB / 0.6818 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.4922, allocations: 268.7 kB / 0.682 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.4923, allocations: 24.98 kB / 0.6821 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.4927, allocations: 351 kB / 0.6824 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4929, allocations: 311.1 kB / 0.6827 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.4942, allocations: 1.36 MB / 0.684 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.496, allocations: 1.496 MB / 0.6855 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007868/0.5039, allocations: 3.545 MB / 0.689 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5039, allocations: 0 / 0.689 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005243/0.5092, allocations: 3.966 MB / 0.6928 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5092, allocations: 10.34 kB / 0.6928 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.5092, allocations: 4.031 kB / 0.6928 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5093, allocations: 0 / 0.6928 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.5094, allocations: 19.92 kB / 0.6929 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5094, allocations: 4 kB / 0.6929 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.5101, allocations: 229.4 kB / 0.6931 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.5102, allocations: 23.98 kB / 0.6931 GB, free: 3.402 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.0003512/0.5105, allocations: 237.6 kB / 0.6933 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.5106, allocations: 83.22 kB / 0.6934 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.5109, allocations: 74.84 kB / 0.6935 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5109, allocations: 0 / 0.6935 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.5109, allocations: 4 kB / 0.6935 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.511, allocations: 0 / 0.6935 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.5116, allocations: 0.489 MB / 0.694 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5116, allocations: 0 / 0.694 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.5117, allocations: 11.98 kB / 0.694 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5117, allocations: 8.031 kB / 0.694 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.5117, allocations: 4 kB / 0.694 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.5117, allocations: 0 / 0.694 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5117, allocations: 7.984 kB / 0.694 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5127, allocations: 1.002 MB / 0.695 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.5129, allocations: 160.4 kB / 0.6951 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.096e-05/0.513, allocations: 4 kB / 0.6951 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.5131, allocations: 7.984 kB / 0.6951 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.5132, allocations: 11.98 kB / 0.6951 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.5132, allocations: 7.984 kB / 0.6952 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008191/0.514, allocations: 0.6687 MB / 0.6958 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.514, allocations: 0 / 0.6958 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001441/0.5155, allocations: 399 kB / 0.6962 GB, free: 128 kB / 0.5137 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.002734/0.5182, allocations: 1.943 MB / 0.6981 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.521, allocations: 2.492 MB / 0.7005 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5211, allocations: 0 / 0.7005 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.5214, allocations: 343.9 kB / 0.7008 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5218, allocations: 34.09 kB / 0.7009 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/0.5387, allocations: 15.06 MB / 0.7156 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.5394, allocations: 0.9717 MB / 0.7165 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002452/0.5397, allocations: 32.56 kB / 0.7166 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.54, allocations: 263.3 kB / 0.7168 GB, free: 10.76 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.5401, allocations: 0 / 0.7168 GB, free: 10.76 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05323/0.5933, allocations: 19.6 MB / 0.7359 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.38, allocations: 9.562 kB / 0.736 GB, free: 7.355 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)