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.005045/0.005045, allocations: 96.62 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.001241/0.001241, allocations: 193.2 kB / 16.67 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9145/0.9145, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3876, allocations: 80.92 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.001927/0.3896, allocations: 1.359 MB / 0.6655 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3906, allocations: 0.7883 MB / 0.6663 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.3907, allocations: 1.406 kB / 0.6663 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.13e-05/0.3907, allocations: 0 / 0.6663 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.245e-05/0.3908, allocations: 17.14 kB / 0.6663 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.3913, allocations: 173.8 kB / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.3913, allocations: 46.75 kB / 0.6665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.3914, allocations: 6.922 kB / 0.6666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.773e-05/0.3914, allocations: 23.44 kB / 0.6666 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.3915, allocations: 35.2 kB / 0.6666 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3915, allocations: 3.312 kB / 0.6666 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.3918, allocations: 169 kB / 0.6668 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.3918, allocations: 14.59 kB / 0.6668 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.3919, allocations: 14.25 kB / 0.6668 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3921, allocations: 145.5 kB / 0.6669 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3921, allocations: 5.188 kB / 0.6669 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3921, allocations: 0 / 0.6669 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3921, allocations: 0 / 0.6669 GB, free: 5.227 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.0003271/0.3924, allocations: 367.8 kB / 0.6673 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3925, allocations: 9.406 kB / 0.6673 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.3925, allocations: 40.33 kB / 0.6673 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.3925, allocations: 6.578 kB / 0.6673 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.485e-05/0.3926, allocations: 163.2 kB / 0.6675 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.3926, allocations: 9.75 kB / 0.6675 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3926, allocations: 1.312 kB / 0.6675 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.3928, allocations: 59.16 kB / 0.6676 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3928, allocations: 1.375 kB / 0.6676 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3928, allocations: 7.938 kB / 0.6676 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3928, allocations: 5.219 kB / 0.6676 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.3929, allocations: 44.2 kB / 0.6676 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.393, allocations: 169.3 kB / 0.6678 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.3931, allocations: 52.88 kB / 0.6678 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.3932, allocations: 23.7 kB / 0.6679 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3932, allocations: 2.344 kB / 0.6679 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.033e-05/0.3932, allocations: 30.56 kB / 0.6679 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.3932, allocations: 1.469 kB / 0.6679 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002089/0.3934, allocations: 85.98 kB / 0.668 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.3935, allocations: 52.88 kB / 0.668 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.302e-05/0.3935, allocations: 106.3 kB / 0.6681 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.3935, allocations: 25.7 kB / 0.6682 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.603e-05/0.3936, allocations: 85.58 kB / 0.6682 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3936, allocations: 26.5 kB / 0.6683 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3936, allocations: 21.47 kB / 0.6683 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.3937, allocations: 320 kB / 0.6686 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.247e-05/0.3937, allocations: 9.281 kB / 0.6686 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.3937, allocations: 11.58 kB / 0.6686 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.3938, allocations: 37.55 kB / 0.6686 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3938, allocations: 3.938 kB / 0.6686 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001141/0.3939, allocations: 83.38 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.394, allocations: 5.562 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.394, allocations: 0 / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.394, allocations: 1.156 kB / 0.6687 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.3941, allocations: 15.53 kB / 0.6687 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3941, allocations: 3.984 kB / 0.6687 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.3941, allocations: 4.984 kB / 0.6688 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3942, allocations: 2.906 kB / 0.6688 GB, free: 3.41 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.818e-05/0.3942, allocations: 116.1 kB / 0.6689 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.3942, allocations: 10.55 kB / 0.6689 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.3946, allocations: 193.6 kB / 0.6691 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3946, allocations: 1.219 kB / 0.6691 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3946, allocations: 1.094 kB / 0.6691 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3946, allocations: 4 kB / 0.6691 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3947, allocations: 203.6 kB / 0.6693 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3947, allocations: 3.938 kB / 0.6693 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.3949, allocations: 35.77 kB / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.3949, allocations: 5.406 kB / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3949, allocations: 1.562 kB / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3949, allocations: 1.812 kB / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3949, allocations: 0 / 0.6693 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3951, allocations: 155.3 kB / 0.6695 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.3951, allocations: 83.69 kB / 0.6695 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3952, allocations: 1.219 kB / 0.6695 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.207e-05/0.3952, allocations: 5.094 kB / 0.6695 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.3952, allocations: 10.05 kB / 0.6696 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3953, allocations: 4.969 kB / 0.6696 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.3953, allocations: 93.31 kB / 0.6696 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3953, allocations: 0 / 0.6696 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002763/0.3956, allocations: 52.19 kB / 0.6697 GB, free: 2.617 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.0004812/0.3961, allocations: 0.7576 MB / 0.6704 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3962, allocations: 53.52 kB / 0.6705 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3962, allocations: 0 / 0.6705 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.488e-05/0.3963, allocations: 55.28 kB / 0.6705 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.3965, allocations: 21.22 kB / 0.6706 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.3969, allocations: 235.6 kB / 0.6708 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.972e-05/0.397, allocations: 0.6927 MB / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.3971, allocations: 19.44 kB / 0.6715 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.3972, allocations: 34.67 kB / 0.6715 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.3972, allocations: 0 / 0.6715 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.4176, allocations: 3.298 MB / 0.6747 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.083, allocations: 12.47 kB / 0.6747 GB, free: 15.33 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)