Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_SmallScaleValidation,fileNamePrefix="IDEAS_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_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.001349/0.001354, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001573/0.001574, allocations: 177.3 kB / 15.94 MB, free: 228 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.598/1.598, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 15.92 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4172, allocations: 81.57 MB / 0.583 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001724/0.419, allocations: 1.379 MB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004994/0.424, allocations: 3.798 MB / 0.5881 GB, free: 492 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4242, allocations: 0.625 kB / 0.5881 GB, free: 492 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.4253, allocations: 335.9 kB / 0.5884 GB, free: 324 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.4255, allocations: 53.59 kB / 0.5884 GB, free: 288 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.4283, allocations: 0.7225 MB / 0.5891 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.4286, allocations: 95.81 kB / 0.5892 GB, free: 15.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.046e-05/0.4287, allocations: 14.91 kB / 0.5892 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.4288, allocations: 56.84 kB / 0.5893 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.4291, allocations: 166.7 kB / 0.5895 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.55e-05/0.4291, allocations: 14.34 kB / 0.5895 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.432, allocations: 1.251 MB / 0.5907 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.4324, allocations: 257.2 kB / 0.5909 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.4325, allocations: 123.6 kB / 0.5911 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4346, allocations: 1.028 MB / 0.5921 GB, free: 15.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4346, allocations: 5 kB / 0.5921 GB, free: 15.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4346, allocations: 0.75 kB / 0.5921 GB, free: 15.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.4347, allocations: 0 / 0.5921 GB, free: 15.13 MB / 446.1 MB 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.01109/0.4458, allocations: 1.221 MB / 0.5933 GB, free: 14.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4458, allocations: 9.469 kB / 0.5933 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.4459, allocations: 36.39 kB / 0.5933 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.4463, allocations: 95.95 kB / 0.5934 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.4469, allocations: 398.8 kB / 0.5938 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.447, allocations: 3.312 kB / 0.5938 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.447, allocations: 8.875 kB / 0.5938 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.4475, allocations: 390.6 kB / 0.5942 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4476, allocations: 0 / 0.5942 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.4476, allocations: 7.984 kB / 0.5942 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4476, allocations: 1.219 kB / 0.5942 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.4481, allocations: 432 kB / 0.5946 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008262/0.4489, allocations: 0.6638 MB / 0.5952 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.4496, allocations: 0.5761 MB / 0.5958 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.4507, allocations: 1.033 MB / 0.5968 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.4512, allocations: 411.2 kB / 0.5972 GB, free: 11.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.4512, allocations: 0 / 0.5972 GB, free: 11.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001561/0.4527, allocations: 1.289 MB / 0.5984 GB, free: 11.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.4528, allocations: 79.2 kB / 0.5985 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.4544, allocations: 1.282 MB / 0.5998 GB, free: 10.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.4545, allocations: 32.27 kB / 0.5998 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.4547, allocations: 279.7 kB / 0.6001 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.4547, allocations: 28.38 kB / 0.6001 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.4548, allocations: 4 kB / 0.6001 GB, free: 10.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.455, allocations: 425.3 kB / 0.6005 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.4564, allocations: 1.362 MB / 0.6018 GB, free: 9.516 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4579, allocations: 1.493 MB / 0.6033 GB, free: 8.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/0.4598, allocations: 1.895 MB / 0.6051 GB, free: 7.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4598, allocations: 0 / 0.6051 GB, free: 7.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004769/0.4646, allocations: 3.952 MB / 0.609 GB, free: 5.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.4646, allocations: 4 kB / 0.609 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.4647, allocations: 11.97 kB / 0.609 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4647, allocations: 0 / 0.609 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4649, allocations: 15.98 kB / 0.609 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4649, allocations: 0 / 0.609 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.4656, allocations: 232.4 kB / 0.6093 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.4657, allocations: 23.98 kB / 0.6093 GB, free: 5.141 MB / 446.1 MB 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.0003695/0.4661, allocations: 249.6 kB / 0.6095 GB, free: 4.887 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.4661, allocations: 70.69 kB / 0.6096 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.4664, allocations: 83.62 kB / 0.6097 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.4665, allocations: 4 kB / 0.6097 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4665, allocations: 0 / 0.6097 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4665, allocations: 0 / 0.6097 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005521/0.467, allocations: 0.5215 MB / 0.6102 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.467, allocations: 4 kB / 0.6102 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.4671, allocations: 7.984 kB / 0.6102 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4671, allocations: 4.031 kB / 0.6102 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4672, allocations: 4 kB / 0.6102 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4672, allocations: 0 / 0.6102 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4672, allocations: 0 / 0.6102 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.4681, allocations: 1.021 MB / 0.6112 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4683, allocations: 155.8 kB / 0.6113 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.4683, allocations: 4 kB / 0.6113 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.4685, allocations: 11.98 kB / 0.6114 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4685, allocations: 11.88 kB / 0.6114 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.4686, allocations: 11.97 kB / 0.6114 GB, free: 2.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008291/0.4694, allocations: 0.7101 MB / 0.6121 GB, free: 2.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4694, allocations: 0 / 0.6121 GB, free: 2.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0017/0.4711, allocations: 399.9 kB / 0.6125 GB, free: 1.766 MB / 446.1 MB 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.00265/0.4738, allocations: 1.998 MB / 0.6144 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002424/0.4762, allocations: 2.499 MB / 0.6168 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4763, allocations: 0 / 0.6168 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.4766, allocations: 343.8 kB / 0.6172 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.477, allocations: 59.83 kB / 0.6172 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.4806, allocations: 2.737 MB / 0.6199 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.4812, allocations: 1.004 MB / 0.6209 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.4814, allocations: 41.42 kB / 0.6209 GB, free: 8.965 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.4817, allocations: 291.3 kB / 0.6212 GB, free: 8.68 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4817, allocations: 0 / 0.6212 GB, free: 8.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.707/2.188, allocations: 17.6 MB / 0.6384 GB, free: 7.336 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004241/2.189, allocations: 256.9 kB / 0.6386 GB, free: 6.996 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/6.297, allocations: 2.031 kB / 0.6386 GB, free: 6.996 MB / 478.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) Environment - environmentSimulation: