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.008006/0.008006, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002013/0.002013, allocations: 202.4 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.436/1.436, 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.8012/0.8012, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.81 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1687, allocations: 80.22 MB / 0.6593 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand_Length): time 0.002482/0.1712, allocations: 1.351 MB / 0.6606 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1727, allocations: 0.7881 MB / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1727, allocations: 0 / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.309e-05/0.1727, allocations: 0 / 0.6613 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.1728, allocations: 11.86 kB / 0.6614 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.1734, allocations: 175.5 kB / 0.6615 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.1735, allocations: 51.83 kB / 0.6616 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.1736, allocations: 8 kB / 0.6616 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.1736, allocations: 23.86 kB / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.1737, allocations: 31.91 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1737, allocations: 7.938 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.1741, allocations: 171.7 kB / 0.6618 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.1741, allocations: 8 kB / 0.6618 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1742, allocations: 23.84 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1745, allocations: 139.8 kB / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1745, allocations: 0 / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1745, allocations: 0 / 0.662 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1745, allocations: 4 kB / 0.662 GB, free: 11.2 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.0005093/0.175, allocations: 373.3 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1751, allocations: 12.03 kB / 0.6623 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.1751, allocations: 34.75 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.1751, allocations: 4.938 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1753, allocations: 168.3 kB / 0.6625 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1753, allocations: 12.11 kB / 0.6625 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1753, allocations: 0 / 0.6625 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1754, allocations: 61.59 kB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1755, allocations: 4 kB / 0.6626 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1755, allocations: 4 kB / 0.6626 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1755, allocations: 0 / 0.6626 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.1756, allocations: 43.95 kB / 0.6627 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.1758, allocations: 169.6 kB / 0.6628 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1759, allocations: 54.56 kB / 0.6629 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.176, allocations: 20.97 kB / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.176, allocations: 8 kB / 0.6629 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1761, allocations: 38.44 kB / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1761, allocations: 0 / 0.6629 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0002489/0.1763, allocations: 85.62 kB / 0.663 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1764, allocations: 55.41 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.985e-05/0.1765, allocations: 105.8 kB / 0.6632 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1765, allocations: 25.7 kB / 0.6632 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.1766, allocations: 80.14 kB / 0.6633 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1766, allocations: 19.91 kB / 0.6633 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/0.1767, allocations: 25.7 kB / 0.6633 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.1769, allocations: 314.8 kB / 0.6636 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.1769, allocations: 11.98 kB / 0.6636 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.982e-05/0.177, allocations: 8 kB / 0.6636 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.414e-05/0.1771, allocations: 41.16 kB / 0.6637 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.1771, allocations: 11.94 kB / 0.6637 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001453/0.1772, allocations: 69.64 kB / 0.6638 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1773, allocations: 4 kB / 0.6638 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1773, allocations: 4 kB / 0.6638 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1773, allocations: 4 kB / 0.6638 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.1774, allocations: 19.92 kB / 0.6638 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1774, allocations: 0 / 0.6638 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.1775, allocations: 7.938 kB / 0.6638 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.1775, allocations: 0 / 0.6638 GB, free: 9.105 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 9.223e-05/0.1776, allocations: 118.4 kB / 0.6639 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1776, allocations: 7.953 kB / 0.6639 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.178, allocations: 199.2 kB / 0.6641 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.178, allocations: 0 / 0.6641 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1781, allocations: 0 / 0.6641 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1781, allocations: 0 / 0.6641 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.1783, allocations: 201.5 kB / 0.6643 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1783, allocations: 4 kB / 0.6643 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1784, allocations: 35.92 kB / 0.6643 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1784, allocations: 0 / 0.6643 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1784, allocations: 7.984 kB / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.1784, allocations: 0 / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1784, allocations: 0 / 0.6643 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.1787, allocations: 159.7 kB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.1787, allocations: 85 kB / 0.6646 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1788, allocations: 11.98 kB / 0.6646 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.1788, allocations: 4 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.1788, allocations: 7.984 kB / 0.6646 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.1788, allocations: 8 kB / 0.6646 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.1789, allocations: 83.28 kB / 0.6647 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1789, allocations: 0 / 0.6647 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002789/0.1792, allocations: 51.86 kB / 0.6647 GB, free: 8.043 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.000797/0.18, allocations: 0.7527 MB / 0.6655 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.1803, allocations: 63.84 kB / 0.6655 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.1804, allocations: 0 / 0.6655 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.1805, allocations: 47.92 kB / 0.6656 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1809, allocations: 13.91 kB / 0.6656 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.1815, allocations: 242.8 kB / 0.6658 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1819, allocations: 0.6924 MB / 0.6665 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.442e-05/0.182, allocations: 24.05 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.182, allocations: 27.42 kB / 0.6665 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.182, allocations: 0 / 0.6665 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.2082, allocations: 3.298 MB / 0.6698 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/8.702, allocations: 7.688 kB / 0.6698 GB, free: 3.023 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)