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.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",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.006103/0.006104, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001253/0.001253, allocations: 196.2 kB / 16.67 MB, free: 6.355 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7253/0.7253, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 75.88 kB / 0.5809 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3727, allocations: 80.2 MB / 0.6592 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002131/0.3749, allocations: 1.318 MB / 0.6605 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.376, allocations: 0.7528 MB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.3761, allocations: 0 / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.3761, allocations: 1.859 kB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.3762, allocations: 12.62 kB / 0.6613 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.3767, allocations: 143.2 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.821e-05/0.3768, allocations: 17.17 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.3768, allocations: 1.953 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/0.3769, allocations: 4.453 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.3769, allocations: 15.8 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.3769, allocations: 1.281 kB / 0.6614 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003791/0.3773, allocations: 172.3 kB / 0.6616 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.3773, allocations: 4.656 kB / 0.6616 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.3774, allocations: 7.5 kB / 0.6616 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.3776, allocations: 121.5 kB / 0.6617 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3776, allocations: 0 / 0.6617 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3776, allocations: 0 / 0.6617 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.3776, allocations: 0 / 0.6617 GB, free: 8.336 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002698/0.3779, allocations: 351 kB / 0.6621 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3779, allocations: 9.953 kB / 0.6621 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.108e-05/0.378, allocations: 30.75 kB / 0.6621 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.378, allocations: 3.562 kB / 0.6621 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.76e-05/0.3781, allocations: 178.8 kB / 0.6623 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3781, allocations: 5.438 kB / 0.6623 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3781, allocations: 4 kB / 0.6623 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.376e-05/0.3782, allocations: 31.05 kB / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3782, allocations: 0.6562 kB / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.3782, allocations: 1.281 kB / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3782, allocations: 0 / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.3782, allocations: 8.594 kB / 0.6623 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.3784, allocations: 152.9 kB / 0.6625 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.3784, allocations: 34.62 kB / 0.6625 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.3784, allocations: 12.56 kB / 0.6625 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.3789, allocations: 132.4 kB / 0.6627 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3789, allocations: 32.33 kB / 0.6627 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3789, allocations: 0 / 0.6627 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.3791, allocations: 42.66 kB / 0.6627 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.569e-05/0.3791, allocations: 56.56 kB / 0.6628 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/0.3792, allocations: 102.4 kB / 0.6629 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.3792, allocations: 27.14 kB / 0.6629 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.666e-05/0.3792, allocations: 84.91 kB / 0.663 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3792, allocations: 9.984 kB / 0.663 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.3793, allocations: 16.12 kB / 0.663 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.3793, allocations: 317.4 kB / 0.6633 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.34e-05/0.3793, allocations: 3.062 kB / 0.6633 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.3793, allocations: 3.438 kB / 0.6633 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.3794, allocations: 14.77 kB / 0.6633 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3794, allocations: 3.938 kB / 0.6633 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.391e-05/0.3794, allocations: 41.81 kB / 0.6634 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3794, allocations: 5.312 kB / 0.6634 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3795, allocations: 0.6094 kB / 0.6634 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3795, allocations: 0 / 0.6634 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.3795, allocations: 8.875 kB / 0.6634 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3795, allocations: 0 / 0.6634 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.382e-05/0.3795, allocations: 5.344 kB / 0.6634 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.3795, allocations: 0.75 kB / 0.6634 GB, free: 6.57 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 (2): * Single equations (assignments): 2 * 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.263e-05/0.3796, allocations: 112.8 kB / 0.6635 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-06/0.3796, allocations: 9.391 kB / 0.6635 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.3797, allocations: 50.61 kB / 0.6636 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3797, allocations: 0 / 0.6636 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3797, allocations: 1.188 kB / 0.6636 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3797, allocations: 0.6562 kB / 0.6636 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.746e-05/0.3798, allocations: 156.7 kB / 0.6637 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3798, allocations: 1.156 kB / 0.6637 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.693e-05/0.3798, allocations: 4.047 kB / 0.6637 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.3798, allocations: 0 / 0.6637 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3798, allocations: 1.953 kB / 0.6637 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3798, allocations: 7.969 kB / 0.6637 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3798, allocations: 256 / 0.6637 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.714e-05/0.3799, allocations: 66.86 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.3799, allocations: 82.84 kB / 0.6639 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3799, allocations: 6.203 kB / 0.6639 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.3799, allocations: 0 / 0.6639 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.38, allocations: 2.031 kB / 0.6639 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-06/0.38, allocations: 5.375 kB / 0.6639 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.048e-05/0.38, allocations: 84 kB / 0.664 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.38, allocations: 1.438 kB / 0.664 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002563/0.3803, allocations: 41.98 kB / 0.664 GB, free: 5.93 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 (2): * Single equations (assignments): 2 * 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.0003888/0.3807, allocations: 0.6784 MB / 0.6647 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.446e-05/0.3807, allocations: 8.312 kB / 0.6647 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.3807, allocations: 0 / 0.6647 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.3808, allocations: 5.953 kB / 0.6647 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.381, allocations: 12.59 kB / 0.6647 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.3813, allocations: 160.8 kB / 0.6648 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.786e-05/0.3814, allocations: 0.6796 MB / 0.6655 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.3814, allocations: 6.344 kB / 0.6655 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.3814, allocations: 8.812 kB / 0.6655 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3814, allocations: 0 / 0.6655 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.3993, allocations: 2.223 MB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.86, allocations: 16.39 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_res.csv --start-time 0.01 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005996 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)