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.001532/0.001532, allocations: 108 kB / 15.61 MB, free: 152 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.001716/0.001716, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9323/0.9323, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 71.77 kB / 0.5055 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 80.92 MB / 0.5845 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002653/0.1668, allocations: 1.397 MB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.1714, allocations: 3.01 MB / 0.5888 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.1715, allocations: 7.938 kB / 0.5888 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.269e-05/0.1716, allocations: 3.938 kB / 0.5888 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1718, allocations: 35.83 kB / 0.5889 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.1742, allocations: 0.9975 MB / 0.5898 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1743, allocations: 75.81 kB / 0.5899 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.1743, allocations: 7.984 kB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.074e-05/0.1744, allocations: 43.78 kB / 0.59 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1746, allocations: 147.6 kB / 0.5901 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.1747, allocations: 12 kB / 0.5901 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.1765, allocations: 1.377 MB / 0.5915 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1767, allocations: 259.9 kB / 0.5917 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.1769, allocations: 278.3 kB / 0.592 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.1786, allocations: 1.453 MB / 0.5934 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1786, allocations: 0 / 0.5934 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1786, allocations: 0 / 0.5934 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1786, allocations: 0 / 0.5934 GB, free: 11.26 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.01022/0.1888, allocations: 1.226 MB / 0.5946 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.1889, allocations: 8.031 kB / 0.5946 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.209e-05/0.189, allocations: 34.75 kB / 0.5946 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/0.1894, allocations: 83.69 kB / 0.5947 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.1898, allocations: 356.9 kB / 0.595 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1899, allocations: 4.375 kB / 0.595 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.1899, allocations: 15.92 kB / 0.5951 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1904, allocations: 383.2 kB / 0.5954 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.1904, allocations: 4 kB / 0.5954 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1904, allocations: 3.938 kB / 0.5954 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1904, allocations: 4 kB / 0.5954 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.1909, allocations: 439.7 kB / 0.5959 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.1915, allocations: 0.6364 MB / 0.5965 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.1921, allocations: 0.5671 MB / 0.597 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1925, allocations: 337.7 kB / 0.5974 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.1936, allocations: 1.028 MB / 0.5984 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.1941, allocations: 396.9 kB / 0.5987 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.226e-06/0.1941, allocations: 0 / 0.5987 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001299/0.1954, allocations: 1.293 MB / 0.6 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.1955, allocations: 85.05 kB / 0.6001 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.1967, allocations: 1.202 MB / 0.6013 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.1967, allocations: 41.62 kB / 0.6013 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.1969, allocations: 257.4 kB / 0.6015 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.197, allocations: 23.77 kB / 0.6016 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/0.1973, allocations: 355.5 kB / 0.6019 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1974, allocations: 306 kB / 0.6022 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.1986, allocations: 1.361 MB / 0.6035 GB, free: 380 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2727/0.4714, allocations: 1.493 MB / 0.605 GB, free: 52.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/0.4778, allocations: 3.54 MB / 0.6084 GB, free: 50.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4778, allocations: 3.75 kB / 0.6084 GB, free: 50.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003234/0.4811, allocations: 3.957 MB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4811, allocations: 8.938 kB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4812, allocations: 1.375 kB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.4812, allocations: 3.188 kB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4813, allocations: 13.95 kB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4813, allocations: 5.188 kB / 0.6123 GB, free: 48.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.4817, allocations: 227.9 kB / 0.6126 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4818, allocations: 27.53 kB / 0.6126 GB, free: 48.57 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.000239/0.482, allocations: 243.2 kB / 0.6128 GB, free: 48.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.4821, allocations: 63.66 kB / 0.6129 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.4824, allocations: 74.92 kB / 0.6129 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.4824, allocations: 3.188 kB / 0.613 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4824, allocations: 0 / 0.613 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4824, allocations: 0 / 0.613 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.4827, allocations: 0.4892 MB / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4827, allocations: 3.375 kB / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.4828, allocations: 8.047 kB / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4828, allocations: 3.094 kB / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.4828, allocations: 3 kB / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4828, allocations: 2.75 kB / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4828, allocations: 0 / 0.6134 GB, free: 48.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.4835, allocations: 1.005 MB / 0.6144 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.4836, allocations: 154.4 kB / 0.6146 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.4837, allocations: 8.344 kB / 0.6146 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.4838, allocations: 7.25 kB / 0.6146 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.4839, allocations: 8.906 kB / 0.6146 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.4839, allocations: 15.34 kB / 0.6146 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005273/0.4844, allocations: 0.673 MB / 0.6153 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4844, allocations: 3.344 kB / 0.6153 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009078/0.4854, allocations: 395.4 kB / 0.6157 GB, free: 47.54 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.001854/0.4872, allocations: 1.918 MB / 0.6175 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001749/0.489, allocations: 2.501 MB / 0.62 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.489, allocations: 0 / 0.62 GB, free: 45.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.4893, allocations: 336.5 kB / 0.6203 GB, free: 45.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4896, allocations: 36.91 kB / 0.6203 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.5026, allocations: 14.93 MB / 0.6349 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.5031, allocations: 0.9629 MB / 0.6358 GB, free: 38.44 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.5033, allocations: 33.89 kB / 0.6359 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.5036, allocations: 270.2 kB / 0.6361 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.5036, allocations: 0 / 0.6361 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05082/0.5544, allocations: 19.42 MB / 0.6551 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.534/9.088, allocations: 10.77 kB / 0.6551 GB, free: 36.95 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 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)