Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.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.FiniteLineSource_Integrand_Length,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length",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.005896/0.005896, allocations: 96.09 kB / 15.73 MB, free: 6.043 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.001424/0.001424, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9882/0.9882, allocations: 135.5 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 0.5858 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3877, allocations: 81.02 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.001956/0.3897, allocations: 1.352 MB / 0.6662 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3908, allocations: 0.7934 MB / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.22e-05/0.3909, allocations: 0 / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.007e-05/0.3909, allocations: 0 / 0.667 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.391, allocations: 13.19 kB / 0.667 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.3915, allocations: 173.1 kB / 0.6672 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.5e-05/0.3916, allocations: 47.55 kB / 0.6672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.3916, allocations: 3.375 kB / 0.6672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.3917, allocations: 27.2 kB / 0.6673 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.3917, allocations: 35.64 kB / 0.6673 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3917, allocations: 2.844 kB / 0.6673 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.392, allocations: 163.8 kB / 0.6675 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.3921, allocations: 15.92 kB / 0.6675 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.3921, allocations: 22.67 kB / 0.6675 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3923, allocations: 140.7 kB / 0.6676 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3923, allocations: 1.188 kB / 0.6676 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3923, allocations: 0 / 0.6676 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3923, allocations: 0 / 0.6676 GB, free: 4.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003172/0.3927, allocations: 368.4 kB / 0.668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3927, allocations: 8.906 kB / 0.668 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.577e-05/0.3927, allocations: 36.09 kB / 0.668 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.3928, allocations: 7.234 kB / 0.668 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.508e-05/0.3928, allocations: 182.7 kB / 0.6682 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3928, allocations: 5.844 kB / 0.6682 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.3929, allocations: 1.219 kB / 0.6682 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.393, allocations: 60.14 kB / 0.6683 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.393, allocations: 0 / 0.6683 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.393, allocations: 0 / 0.6683 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.393, allocations: 1.219 kB / 0.6683 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.746e-05/0.3931, allocations: 44.92 kB / 0.6683 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.3932, allocations: 177.8 kB / 0.6685 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.3933, allocations: 52.16 kB / 0.6685 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.3934, allocations: 24 kB / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3934, allocations: 1.375 kB / 0.6686 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.3934, allocations: 35.84 kB / 0.6686 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.3934, allocations: 0 / 0.6686 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002022/0.3936, allocations: 83.48 kB / 0.6687 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3937, allocations: 52.88 kB / 0.6687 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.3937, allocations: 110.3 kB / 0.6688 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.3937, allocations: 29.64 kB / 0.6689 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.714e-05/0.3938, allocations: 85.61 kB / 0.6689 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.3938, allocations: 21.84 kB / 0.669 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.3938, allocations: 21.72 kB / 0.669 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.638e-05/0.3939, allocations: 320.2 kB / 0.6693 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.3939, allocations: 7.875 kB / 0.6693 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.3939, allocations: 21.86 kB / 0.6693 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.631e-05/0.394, allocations: 35.77 kB / 0.6694 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.394, allocations: 5.312 kB / 0.6694 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001159/0.3941, allocations: 74.69 kB / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.3942, allocations: 5.75 kB / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3942, allocations: 0 / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3942, allocations: 0 / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.3943, allocations: 11.16 kB / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3943, allocations: 1.062 kB / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.3943, allocations: 1.062 kB / 0.6694 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3943, allocations: 6.953 kB / 0.6695 GB, free: 3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.475e-05/0.3944, allocations: 124 kB / 0.6696 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.3944, allocations: 10.23 kB / 0.6696 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.3948, allocations: 201.5 kB / 0.6698 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3948, allocations: 1.5 kB / 0.6698 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3948, allocations: 1.5 kB / 0.6698 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3948, allocations: 4 kB / 0.6698 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.3949, allocations: 203.1 kB / 0.67 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3949, allocations: 0 / 0.67 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.903e-05/0.395, allocations: 31.42 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.395, allocations: 1.094 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.395, allocations: 2.406 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3951, allocations: 1.156 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3951, allocations: 0 / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.3952, allocations: 159.4 kB / 0.6702 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.3953, allocations: 84.28 kB / 0.6702 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.3953, allocations: 1.281 kB / 0.6702 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.3953, allocations: 5.188 kB / 0.6702 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.3953, allocations: 9.828 kB / 0.6703 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.3954, allocations: 5.156 kB / 0.6703 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.324e-05/0.3954, allocations: 92.3 kB / 0.6703 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3954, allocations: 4 kB / 0.6704 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002567/0.3957, allocations: 53.22 kB / 0.6704 GB, free: 2.199 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0004956/0.3962, allocations: 0.746 MB / 0.6711 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.3963, allocations: 61.22 kB / 0.6712 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3963, allocations: 4 kB / 0.6712 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.3964, allocations: 51.92 kB / 0.6712 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.3967, allocations: 16.14 kB / 0.6713 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.3971, allocations: 234.8 kB / 0.6715 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.3972, allocations: 0.6913 MB / 0.6722 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.3973, allocations: 26.11 kB / 0.6722 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.3973, allocations: 30.33 kB / 0.6722 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.3973, allocations: 0 / 0.6722 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.4215, allocations: 3.298 MB / 0.6754 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.381, allocations: 15.67 kB / 0.6754 GB, free: 14.92 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length_res.csv --start-time 0.01 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.199996 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)