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.001125/0.001124, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001153/0.001153, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.58 kB / 0.5014 GB, free: 8.969 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1652, allocations: 80.22 MB / 0.5797 GB, free: 8.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002962/0.1682, allocations: 1.46 MB / 0.5812 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.1729, allocations: 3.037 MB / 0.5841 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.173, allocations: 0 / 0.5841 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.1731, allocations: 11.92 kB / 0.5841 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.1734, allocations: 23.84 kB / 0.5842 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.1761, allocations: 0.9021 MB / 0.585 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1763, allocations: 71.83 kB / 0.5851 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1763, allocations: 0 / 0.5851 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.1764, allocations: 55.77 kB / 0.5852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.1767, allocations: 149 kB / 0.5853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.1767, allocations: 16 kB / 0.5853 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.1787, allocations: 1.404 MB / 0.5867 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.179, allocations: 263.8 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.1792, allocations: 282.3 kB / 0.5872 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.1816, allocations: 1.481 MB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1816, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1816, allocations: 0 / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.728e-05/0.1816, allocations: 0 / 0.5887 GB, free: 15.8 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.008805/0.1904, allocations: 1.203 MB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1905, allocations: 12.03 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.1906, allocations: 42.67 kB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.191, allocations: 87.69 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.1915, allocations: 356.9 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1915, allocations: 8.375 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.1915, allocations: 7.938 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.192, allocations: 387.2 kB / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.192, allocations: 0 / 0.5907 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.192, allocations: 4 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.192, allocations: 4 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.1925, allocations: 431.7 kB / 0.5911 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.1932, allocations: 0.6364 MB / 0.5917 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1937, allocations: 0.5672 MB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.194, allocations: 333.6 kB / 0.5926 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.1953, allocations: 1.028 MB / 0.5936 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004594/0.1958, allocations: 408.9 kB / 0.594 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/0.1958, allocations: 0 / 0.594 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001522/0.1973, allocations: 1.289 MB / 0.5953 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.1974, allocations: 85.23 kB / 0.5953 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/0.1989, allocations: 1.206 MB / 0.5965 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.1989, allocations: 33.64 kB / 0.5965 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.1991, allocations: 261.4 kB / 0.5968 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.1992, allocations: 27.64 kB / 0.5968 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.1995, allocations: 347.5 kB / 0.5972 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1997, allocations: 314 kB / 0.5975 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.2009, allocations: 1.357 MB / 0.5988 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2021, allocations: 1.497 MB / 0.6002 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2684/0.4705, allocations: 3.531 MB / 0.6037 GB, free: 55.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.4705, allocations: 7.781 kB / 0.6037 GB, free: 55.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003314/0.4738, allocations: 3.96 MB / 0.6076 GB, free: 53.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4739, allocations: 10.22 kB / 0.6076 GB, free: 53.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4739, allocations: 3.766 kB / 0.6076 GB, free: 53.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4739, allocations: 1.438 kB / 0.6076 GB, free: 53.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.474, allocations: 16.23 kB / 0.6076 GB, free: 53.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.474, allocations: 3.344 kB / 0.6076 GB, free: 53.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.4744, allocations: 230.1 kB / 0.6078 GB, free: 53.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.4745, allocations: 23.03 kB / 0.6078 GB, free: 53.62 MB / 0.4981 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.0002179/0.4747, allocations: 244.4 kB / 0.6081 GB, free: 53.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.4748, allocations: 65.38 kB / 0.6081 GB, free: 53.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.475, allocations: 72.98 kB / 0.6082 GB, free: 53.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.475, allocations: 1.844 kB / 0.6082 GB, free: 53.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.475, allocations: 0 / 0.6082 GB, free: 53.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.475, allocations: 6.219 kB / 0.6082 GB, free: 53.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.4753, allocations: 0.4907 MB / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4753, allocations: 0 / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.4754, allocations: 5.938 kB / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4754, allocations: 0 / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4754, allocations: 9.781 kB / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4754, allocations: 0 / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4754, allocations: 6.594 kB / 0.6087 GB, free: 53.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.4761, allocations: 0.9993 MB / 0.6097 GB, free: 52.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.4761, allocations: 150.1 kB / 0.6098 GB, free: 52.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.4762, allocations: 3.344 kB / 0.6098 GB, free: 52.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4764, allocations: 7.734 kB / 0.6098 GB, free: 52.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.4764, allocations: 6.406 kB / 0.6098 GB, free: 52.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.4764, allocations: 19.25 kB / 0.6099 GB, free: 52.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004963/0.4769, allocations: 0.6631 MB / 0.6105 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4769, allocations: 1.688 kB / 0.6105 GB, free: 52.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008726/0.4778, allocations: 401.1 kB / 0.6109 GB, free: 52.58 MB / 0.4981 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.00176/0.4796, allocations: 1.923 MB / 0.6128 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.4812, allocations: 2.495 MB / 0.6152 GB, free: 50.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4812, allocations: 1.125 kB / 0.6152 GB, free: 50.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.4814, allocations: 341.8 kB / 0.6155 GB, free: 50.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4817, allocations: 39.69 kB / 0.6156 GB, free: 50.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.4931, allocations: 15.03 MB / 0.6303 GB, free: 44.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4935, allocations: 0.9677 MB / 0.6312 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.4937, allocations: 33.47 kB / 0.6312 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.4939, allocations: 258.3 kB / 0.6315 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.4939, allocations: 3.844 kB / 0.6315 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.5288, allocations: 19.3 MB / 0.6503 GB, free: 41.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.529, allocations: 281.9 kB / 0.6506 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/2.927, allocations: 7.438 kB / 0.6506 GB, free: 41.61 MB / 0.4981 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)