Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.FiniteLineSource_Integrand_Length,fileNamePrefix="IDEAS_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_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.001067/0.001067, 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.001113/0.001113, allocations: 196.3 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7497/0.7497, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 60.5 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3876, allocations: 80.2 MB / 0.5802 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002362/0.39, allocations: 1.35 MB / 0.5815 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3912, allocations: 0.7926 MB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.3913, allocations: 0 / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3913, allocations: 1.219 kB / 0.5823 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.461e-05/0.3913, allocations: 9.391 kB / 0.5823 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.3919, allocations: 178.9 kB / 0.5825 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.061e-05/0.392, allocations: 50.75 kB / 0.5826 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.392, allocations: 3.297 kB / 0.5826 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.3921, allocations: 26.27 kB / 0.5826 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.3921, allocations: 33.75 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3922, allocations: 2.469 kB / 0.5826 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.3925, allocations: 170.2 kB / 0.5828 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.3926, allocations: 13.88 kB / 0.5828 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.3926, allocations: 20.77 kB / 0.5828 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3928, allocations: 135.2 kB / 0.5829 GB, free: 2.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3929, allocations: 7.938 kB / 0.5829 GB, free: 2.883 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3929, allocations: 0 / 0.5829 GB, free: 2.883 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3929, allocations: 0.8125 kB / 0.5829 GB, free: 2.883 MB / 430.1 MB 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.0003354/0.3932, allocations: 368.3 kB / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3933, allocations: 9.766 kB / 0.5833 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.3933, allocations: 36.11 kB / 0.5833 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3933, allocations: 3.516 kB / 0.5833 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.511e-05/0.3934, allocations: 180.1 kB / 0.5835 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3934, allocations: 1.156 kB / 0.5835 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3934, allocations: 6.469 kB / 0.5835 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3936, allocations: 64.97 kB / 0.5836 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3936, allocations: 1.219 kB / 0.5836 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3936, allocations: 0.7969 kB / 0.5836 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3936, allocations: 5.406 kB / 0.5836 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3937, allocations: 47.98 kB / 0.5836 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.3939, allocations: 167.9 kB / 0.5838 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.296e-05/0.394, allocations: 50.34 kB / 0.5838 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.813e-05/0.394, allocations: 25.34 kB / 0.5839 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3941, allocations: 2.516 kB / 0.5839 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.3941, allocations: 31.5 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.3941, allocations: 1.125 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.00022/0.3943, allocations: 90.41 kB / 0.584 GB, free: 1.855 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3943, allocations: 51.97 kB / 0.584 GB, free: 1.793 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.3944, allocations: 105.4 kB / 0.5841 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.3944, allocations: 27.02 kB / 0.5842 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.3944, allocations: 89.67 kB / 0.5843 GB, free: 1.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.3945, allocations: 16.38 kB / 0.5843 GB, free: 1.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.3945, allocations: 23.59 kB / 0.5843 GB, free: 1.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.3946, allocations: 317.8 kB / 0.5846 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.509e-05/0.3946, allocations: 10.02 kB / 0.5846 GB, free: 1.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.3946, allocations: 19.08 kB / 0.5846 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.3947, allocations: 42.98 kB / 0.5847 GB, free: 1.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3947, allocations: 0 / 0.5847 GB, free: 1.191 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001231/0.3949, allocations: 81.05 kB / 0.5847 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3949, allocations: 5.375 kB / 0.5847 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3949, allocations: 1.859 kB / 0.5847 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3949, allocations: 0 / 0.5847 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.395, allocations: 13.97 kB / 0.5848 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.395, allocations: 4 kB / 0.5848 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.3951, allocations: 1.906 kB / 0.5848 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3951, allocations: 3.391 kB / 0.5848 GB, free: 1.137 MB / 430.1 MB 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.708e-05/0.3951, allocations: 117.2 kB / 0.5849 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3951, allocations: 10.2 kB / 0.5849 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.3956, allocations: 203.8 kB / 0.5851 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3956, allocations: 3.078 kB / 0.5851 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3956, allocations: 0 / 0.5851 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3956, allocations: 1.219 kB / 0.5851 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.3957, allocations: 202.9 kB / 0.5853 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3957, allocations: 0.9062 kB / 0.5853 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3958, allocations: 29.95 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3958, allocations: 2.422 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3959, allocations: 3.094 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3959, allocations: 1.031 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3959, allocations: 0.9375 kB / 0.5853 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3961, allocations: 149.3 kB / 0.5855 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.306e-05/0.3961, allocations: 88.47 kB / 0.5855 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3961, allocations: 2.266 kB / 0.5855 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.308e-05/0.3962, allocations: 4.812 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.3962, allocations: 10.78 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3962, allocations: 5.219 kB / 0.5856 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.3963, allocations: 85.84 kB / 0.5857 GB, free: 440 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3963, allocations: 5.062 kB / 0.5857 GB, free: 436 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.3966, allocations: 52.05 kB / 0.5857 GB, free: 424 kB / 430.1 MB 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.0006652/0.3972, allocations: 0.7465 MB / 0.5864 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.3974, allocations: 66.45 kB / 0.5865 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3974, allocations: 4 kB / 0.5865 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.3975, allocations: 48.89 kB / 0.5865 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3978, allocations: 12.53 kB / 0.5866 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.3984, allocations: 227.8 kB / 0.5868 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3987, allocations: 0.6949 MB / 0.5875 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.097e-05/0.3988, allocations: 28.92 kB / 0.5875 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.3989, allocations: 36.67 kB / 0.5875 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3989, allocations: 0 / 0.5875 GB, free: 14.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.4194, allocations: 3.252 MB / 0.5907 GB, free: 14.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.123/7.543, allocations: 6.938 kB / 0.5907 GB, free: 14.36 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand_Length.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length.pipe 2>&1)