Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.008424/0.008424, allocations: 96.7 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.002014/0.002014, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.764/1.764, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 64.73 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1615, allocations: 80.21 MB / 0.6593 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002532/0.164, allocations: 1.337 MB / 0.6606 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1663, allocations: 1.32 MB / 0.6618 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.1664, allocations: 3.938 kB / 0.6619 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.1664, allocations: 7.984 kB / 0.6619 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.1666, allocations: 23.84 kB / 0.6619 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1676, allocations: 362.9 kB / 0.6622 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.1681, allocations: 376.6 kB / 0.6626 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1681, allocations: 4.281 kB / 0.6626 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1683, allocations: 123.8 kB / 0.6627 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.1686, allocations: 183.8 kB / 0.6629 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.1686, allocations: 20 kB / 0.6629 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008647/0.1695, allocations: 495.3 kB / 0.6634 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.1696, allocations: 111.8 kB / 0.6635 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.1698, allocations: 115.5 kB / 0.6636 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.1705, allocations: 0.5414 MB / 0.6641 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1706, allocations: 4 kB / 0.6641 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1706, allocations: 4 kB / 0.6641 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.1706, allocations: 0 / 0.6641 GB, free: 8.988 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007671/0.1714, allocations: 0.5449 MB / 0.6647 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1714, allocations: 8.031 kB / 0.6647 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.278e-05/0.1715, allocations: 54.73 kB / 0.6647 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.1716, allocations: 20.8 kB / 0.6647 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.1717, allocations: 192.1 kB / 0.6649 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1718, allocations: 16.12 kB / 0.6649 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.1718, allocations: 20 kB / 0.665 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.1724, allocations: 333.3 kB / 0.6653 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1724, allocations: 3.938 kB / 0.6653 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1725, allocations: 4 kB / 0.6653 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1725, allocations: 4 kB / 0.6653 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/0.1771, allocations: 2.929 MB / 0.6681 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.1778, allocations: 385.2 kB / 0.6685 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.1786, allocations: 0.4992 MB / 0.669 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.179, allocations: 237.4 kB / 0.6692 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001526/0.1806, allocations: 0.9313 MB / 0.6701 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.1806, allocations: 38.56 kB / 0.6702 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.295e-06/0.1806, allocations: 0 / 0.6702 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00144/0.1821, allocations: 0.7642 MB / 0.6709 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.1821, allocations: 59.41 kB / 0.671 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1823, allocations: 144.4 kB / 0.6711 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.1823, allocations: 33.7 kB / 0.6711 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1824, allocations: 101.1 kB / 0.6712 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1826, allocations: 158.6 kB / 0.6714 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1827, allocations: 97.69 kB / 0.6715 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1829, allocations: 334.8 kB / 0.6718 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.1833, allocations: 207.8 kB / 0.672 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.1836, allocations: 207.8 kB / 0.6722 GB, free: 324 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/0.1844, allocations: 498.5 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1845, allocations: 3.938 kB / 0.6727 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001006/0.1855, allocations: 0.5479 MB / 0.6732 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1855, allocations: 8 kB / 0.6732 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1855, allocations: 0 / 0.6732 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1855, allocations: 0 / 0.6732 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.1859, allocations: 95.89 kB / 0.6733 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1859, allocations: 4 kB / 0.6733 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.186, allocations: 15.89 kB / 0.6733 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.186, allocations: 27.98 kB / 0.6734 GB, free: 15.12 MB / 0.5137 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 (43): * Single equations (assignments): 43 * 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 0.0001781/0.1862, allocations: 162.3 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.1863, allocations: 23.86 kB / 0.6735 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.188, allocations: 0.9033 MB / 0.6744 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.188, allocations: 4 kB / 0.6744 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.188, allocations: 0 / 0.6744 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.188, allocations: 0 / 0.6744 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.1885, allocations: 401.2 kB / 0.6748 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1886, allocations: 4 kB / 0.6748 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.1889, allocations: 91.89 kB / 0.6749 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1889, allocations: 0 / 0.6749 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.1889, allocations: 27.98 kB / 0.6749 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1889, allocations: 4 kB / 0.6749 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1889, allocations: 3.938 kB / 0.6749 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.19, allocations: 0.5883 MB / 0.6755 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.19, allocations: 104.8 kB / 0.6756 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.1901, allocations: 12 kB / 0.6756 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.1902, allocations: 4 kB / 0.6756 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.393e-05/0.1902, allocations: 39.95 kB / 0.6757 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.195e-05/0.1903, allocations: 27.98 kB / 0.6757 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.1904, allocations: 114 kB / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1904, allocations: 3.938 kB / 0.6758 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005428/0.191, allocations: 191.6 kB / 0.676 GB, free: 12.36 MB / 0.5137 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 (44): * Single equations (assignments): 44 * 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.001818/0.1928, allocations: 1.285 MB / 0.6772 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009356/0.1937, allocations: 0.5036 MB / 0.6777 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1937, allocations: 0 / 0.6777 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.1942, allocations: 280.3 kB / 0.678 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1945, allocations: 47.97 kB / 0.678 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.1958, allocations: 0.7046 MB / 0.6787 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.1962, allocations: 0.7555 MB / 0.6795 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005522/0.1967, allocations: 341 kB / 0.6798 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.1969, allocations: 87.41 kB / 0.6799 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1969, allocations: 0 / 0.6799 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.2284, allocations: 8.106 MB / 0.6878 GB, free: 484 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.444, allocations: 23.47 kB / 0.6878 GB, free: 468 kB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)