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.009323/0.009323, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001755/0.001755, allocations: 198.6 kB / 16.68 MB, free: 5.98 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7743/0.7743, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.5809 GB, free: 8.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3791, allocations: 80.21 MB / 0.6592 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002254/0.3814, allocations: 1.36 MB / 0.6606 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3828, allocations: 0.7901 MB / 0.6613 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.817e-05/0.3828, allocations: 3.938 kB / 0.6613 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.506e-05/0.3829, allocations: 0.75 kB / 0.6613 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.3829, allocations: 6.547 kB / 0.6614 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006567/0.3836, allocations: 178.2 kB / 0.6615 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.3837, allocations: 47.16 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.705e-05/0.3838, allocations: 3.969 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.3838, allocations: 33.88 kB / 0.6616 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.3839, allocations: 25.22 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3839, allocations: 3.781 kB / 0.6616 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.3843, allocations: 165.8 kB / 0.6618 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.3844, allocations: 13.95 kB / 0.6618 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.3844, allocations: 28.14 kB / 0.6618 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.3847, allocations: 141.7 kB / 0.662 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3847, allocations: 0 / 0.662 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3847, allocations: 0 / 0.662 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3847, allocations: 0 / 0.662 GB, free: 8.086 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.0003893/0.3851, allocations: 372 kB / 0.6623 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3852, allocations: 9.156 kB / 0.6623 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.3852, allocations: 32.86 kB / 0.6624 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.3853, allocations: 8.031 kB / 0.6624 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.827e-05/0.3854, allocations: 168.2 kB / 0.6625 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3854, allocations: 9.562 kB / 0.6625 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.3854, allocations: 5.531 kB / 0.6625 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.3855, allocations: 57.45 kB / 0.6626 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3856, allocations: 3.938 kB / 0.6626 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3856, allocations: 1.938 kB / 0.6626 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3856, allocations: 0 / 0.6626 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3857, allocations: 48.61 kB / 0.6627 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.3859, allocations: 168.7 kB / 0.6628 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.386, allocations: 53.73 kB / 0.6629 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.386, allocations: 21.67 kB / 0.6629 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3861, allocations: 6.844 kB / 0.6629 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3861, allocations: 32.47 kB / 0.6629 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3861, allocations: 0 / 0.6629 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002439/0.3863, allocations: 86.44 kB / 0.663 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3864, allocations: 52.59 kB / 0.6631 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.953e-05/0.3865, allocations: 109 kB / 0.6632 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.3865, allocations: 27.14 kB / 0.6632 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.3865, allocations: 84.8 kB / 0.6633 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.3865, allocations: 24.16 kB / 0.6633 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.3866, allocations: 20.17 kB / 0.6633 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/0.3866, allocations: 317.7 kB / 0.6636 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.3867, allocations: 10.08 kB / 0.6636 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.3867, allocations: 15.42 kB / 0.6636 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.3868, allocations: 47.72 kB / 0.6637 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3868, allocations: 3.938 kB / 0.6637 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001192/0.3869, allocations: 72.45 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.387, allocations: 7.312 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.387, allocations: 0.5156 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.387, allocations: 1.344 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3871, allocations: 13.66 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3871, allocations: 0 / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.3871, allocations: 1.906 kB / 0.6638 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3872, allocations: 3.266 kB / 0.6638 GB, free: 6.352 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 5.261e-05/0.3872, allocations: 121.5 kB / 0.6639 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.3872, allocations: 5.875 kB / 0.6639 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.3876, allocations: 198.7 kB / 0.6641 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3876, allocations: 6.188 kB / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3876, allocations: 0 / 0.6641 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3876, allocations: 6.469 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.3878, allocations: 201.9 kB / 0.6643 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3878, allocations: 0 / 0.6643 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3879, allocations: 32.36 kB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3879, allocations: 0.6094 kB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3879, allocations: 3.422 kB / 0.6643 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3879, allocations: 5.5 kB / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3879, allocations: 0.5625 kB / 0.6643 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.3881, allocations: 154 kB / 0.6645 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.3881, allocations: 84.5 kB / 0.6646 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3882, allocations: 1.406 kB / 0.6646 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.3882, allocations: 4.656 kB / 0.6646 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.3882, allocations: 15.25 kB / 0.6646 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3882, allocations: 12.81 kB / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.3883, allocations: 86.53 kB / 0.6647 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3883, allocations: 1.656 kB / 0.6647 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002787/0.3886, allocations: 57.61 kB / 0.6647 GB, free: 5.602 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.0005497/0.3891, allocations: 0.7524 MB / 0.6655 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001627/0.3893, allocations: 51.97 kB / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3893, allocations: 9.031 kB / 0.6655 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.3894, allocations: 47.92 kB / 0.6656 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3897, allocations: 17.5 kB / 0.6656 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.3902, allocations: 228.4 kB / 0.6658 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3903, allocations: 0.6927 MB / 0.6665 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.81e-05/0.3904, allocations: 26.08 kB / 0.6665 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.3904, allocations: 34.64 kB / 0.6665 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.3904, allocations: 3.938 kB / 0.6665 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.4086, allocations: 3.288 MB / 0.6698 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.998, allocations: 13.77 kB / 0.6698 GB, free: 2.383 MB / 0.4981 GB (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)