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_SmallScaleValidation.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_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.000982/0.0009821, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001178/0.001178, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9317/0.9317, allocations: 135.3 MB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 9.281 kB / 0.5071 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1604, allocations: 82.33 MB / 0.5875 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001706/0.1622, allocations: 1.402 MB / 0.5889 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.1672, allocations: 3.876 MB / 0.5927 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1673, allocations: 4 kB / 0.5927 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000945/0.1683, allocations: 318.7 kB / 0.593 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.1684, allocations: 51.72 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1704, allocations: 0.7452 MB / 0.5938 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1707, allocations: 167.4 kB / 0.5939 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.1707, allocations: 9.547 kB / 0.5939 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.83e-05/0.1708, allocations: 59.72 kB / 0.594 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.171, allocations: 183.6 kB / 0.5942 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.1711, allocations: 16 kB / 0.5942 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.1729, allocations: 1.306 MB / 0.5955 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.1731, allocations: 263.2 kB / 0.5957 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.813e-05/0.1732, allocations: 129.1 kB / 0.5958 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.1743, allocations: 1.029 MB / 0.5968 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1743, allocations: 0 / 0.5968 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1743, allocations: 0 / 0.5968 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1743, allocations: 0 / 0.5968 GB, free: 9.387 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.007071/0.1814, allocations: 1.23 MB / 0.598 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1815, allocations: 8.031 kB / 0.598 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.1815, allocations: 30.56 kB / 0.5981 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.1818, allocations: 94.66 kB / 0.5982 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1823, allocations: 396.8 kB / 0.5985 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1823, allocations: 7.938 kB / 0.5985 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.1823, allocations: 4 kB / 0.5985 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003905/0.1827, allocations: 403.1 kB / 0.5989 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.1827, allocations: 0 / 0.5989 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1828, allocations: 0 / 0.5989 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1828, allocations: 4 kB / 0.5989 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.1832, allocations: 431.8 kB / 0.5993 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.1837, allocations: 0.6652 MB / 0.6 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.1842, allocations: 0.5594 MB / 0.6005 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.1845, allocations: 337.7 kB / 0.6009 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009038/0.1854, allocations: 1.036 MB / 0.6019 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003762/0.1858, allocations: 404.8 kB / 0.6023 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.865e-06/0.1858, allocations: 3.984 kB / 0.6023 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001207/0.187, allocations: 1.3 MB / 0.6035 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1871, allocations: 81.09 kB / 0.6036 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.1883, allocations: 1.273 MB / 0.6049 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.1883, allocations: 29.7 kB / 0.6049 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1885, allocations: 281.4 kB / 0.6052 GB, free: 380 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1886, allocations: 19.92 kB / 0.6052 GB, free: 360 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.1886, allocations: 8 kB / 0.6052 GB, free: 352 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.2963/0.4849, allocations: 423.2 kB / 0.6056 GB, free: 48.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.4864, allocations: 1.364 MB / 0.6069 GB, free: 48.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4876, allocations: 1.488 MB / 0.6084 GB, free: 48.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.4891, allocations: 1.898 MB / 0.6102 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4892, allocations: 0 / 0.6102 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003782/0.4929, allocations: 3.948 MB / 0.6141 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.493, allocations: 9.5 kB / 0.6141 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.493, allocations: 0 / 0.6141 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.4931, allocations: 8.109 kB / 0.6141 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4932, allocations: 20.16 kB / 0.6141 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4932, allocations: 0 / 0.6141 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.4937, allocations: 229.2 kB / 0.6143 GB, free: 46.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.4937, allocations: 23.22 kB / 0.6144 GB, free: 46.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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002911/0.494, allocations: 246.6 kB / 0.6146 GB, free: 46.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.4941, allocations: 77.41 kB / 0.6147 GB, free: 46.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.4944, allocations: 83.92 kB / 0.6147 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4944, allocations: 3 kB / 0.6147 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4944, allocations: 1.594 kB / 0.6147 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4944, allocations: 0 / 0.6147 GB, free: 46.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.4948, allocations: 0.5208 MB / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4948, allocations: 0 / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.4949, allocations: 6 kB / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.4949, allocations: 3.875 kB / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4949, allocations: 6.188 kB / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.495, allocations: 0 / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.495, allocations: 0 / 0.6153 GB, free: 46.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008028/0.4958, allocations: 1.006 MB / 0.6163 GB, free: 45.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4959, allocations: 173.4 kB / 0.6164 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.496, allocations: 2.078 kB / 0.6164 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4961, allocations: 2.625 kB / 0.6164 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4962, allocations: 9.875 kB / 0.6164 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.4962, allocations: 15.92 kB / 0.6165 GB, free: 45.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006907/0.4969, allocations: 0.7089 MB / 0.6171 GB, free: 45.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4969, allocations: 0 / 0.6171 GB, free: 45.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001025/0.498, allocations: 401.3 kB / 0.6175 GB, free: 45.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002383/0.5004, allocations: 1.935 MB / 0.6194 GB, free: 44.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002038/0.5024, allocations: 2.495 MB / 0.6219 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5024, allocations: 0 / 0.6219 GB, free: 43.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.5027, allocations: 341.3 kB / 0.6222 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.5031, allocations: 49.78 kB / 0.6222 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.5132, allocations: 9.468 MB / 0.6315 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.5137, allocations: 0.9888 MB / 0.6324 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002091/0.5139, allocations: 42.78 kB / 0.6325 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/0.5142, allocations: 290.4 kB / 0.6328 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.5143, allocations: 0 / 0.6328 GB, free: 38.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04829/0.5625, allocations: 18.76 MB / 0.6511 GB, free: 37.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.5628, allocations: 267.5 kB / 0.6513 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.857, allocations: 1.125 kB / 0.6513 GB, free: 37.48 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: