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.005312/0.005312, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001166/0.001166, allocations: 197.4 kB / 16.67 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.97 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1649, allocations: 80.2 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.003071/0.168, allocations: 1.345 MB / 0.6606 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1703, allocations: 1.328 MB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.1703, allocations: 3.938 kB / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.1704, allocations: 0 / 0.6619 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1705, allocations: 15.91 kB / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1719, allocations: 378.8 kB / 0.6622 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.1723, allocations: 376.6 kB / 0.6626 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.1724, allocations: 4.281 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.1726, allocations: 119.9 kB / 0.6627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.1729, allocations: 179.8 kB / 0.6629 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.173, allocations: 24 kB / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008995/0.1739, allocations: 495.3 kB / 0.6634 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.174, allocations: 111.8 kB / 0.6635 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.1742, allocations: 115.5 kB / 0.6636 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008588/0.1751, allocations: 0.5453 MB / 0.6641 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1751, allocations: 0 / 0.6641 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1751, allocations: 0 / 0.6641 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.1751, allocations: 0 / 0.6641 GB, free: 8.953 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.0008339/0.1759, allocations: 0.5449 MB / 0.6647 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.176, allocations: 8.031 kB / 0.6647 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.621e-05/0.1761, allocations: 58.72 kB / 0.6647 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.512e-05/0.1762, allocations: 24.8 kB / 0.6647 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1763, allocations: 188.1 kB / 0.6649 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1763, allocations: 16.12 kB / 0.6649 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1764, allocations: 16 kB / 0.665 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/0.1769, allocations: 325.3 kB / 0.6653 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.177, allocations: 0 / 0.6653 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.177, allocations: 8 kB / 0.6653 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.177, allocations: 8 kB / 0.6653 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004172/0.1812, allocations: 2.933 MB / 0.6681 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1817, allocations: 389.2 kB / 0.6685 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000742/0.1825, allocations: 0.4992 MB / 0.669 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.1828, allocations: 233.4 kB / 0.6692 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.1842, allocations: 0.9235 MB / 0.6701 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1842, allocations: 42.55 kB / 0.6702 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.1842, allocations: 0 / 0.6702 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.001285/0.1855, allocations: 0.7681 MB / 0.6709 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1856, allocations: 55.41 kB / 0.671 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1857, allocations: 140.2 kB / 0.6711 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.1858, allocations: 33.7 kB / 0.6711 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1858, allocations: 101 kB / 0.6712 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.186, allocations: 158.6 kB / 0.6714 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1861, allocations: 97.69 kB / 0.6715 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1862, allocations: 338.8 kB / 0.6718 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1866, allocations: 207.8 kB / 0.672 GB, free: 500 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.1869, allocations: 207.8 kB / 0.6722 GB, free: 292 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.1877, allocations: 494.5 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1877, allocations: 3.938 kB / 0.6727 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008905/0.1886, allocations: 0.5518 MB / 0.6732 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1886, allocations: 4 kB / 0.6732 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1886, allocations: 0 / 0.6732 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.1886, allocations: 7.984 kB / 0.6732 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.1889, allocations: 95.89 kB / 0.6733 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1889, allocations: 0 / 0.6733 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.189, allocations: 23.89 kB / 0.6733 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.1891, allocations: 20 kB / 0.6734 GB, free: 15.09 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.0001598/0.1892, allocations: 166.3 kB / 0.6735 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.1893, allocations: 23.86 kB / 0.6735 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.1909, allocations: 0.8994 MB / 0.6744 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1909, allocations: 4 kB / 0.6744 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1909, allocations: 4 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1909, allocations: 3.984 kB / 0.6744 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.1914, allocations: 397.2 kB / 0.6748 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1914, allocations: 0 / 0.6748 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002801/0.1917, allocations: 99.88 kB / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.1917, allocations: 4 kB / 0.6749 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.1917, allocations: 19.98 kB / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1917, allocations: 4 kB / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1917, allocations: 0 / 0.6749 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.1926, allocations: 0.6001 MB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.1927, allocations: 100.9 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.1928, allocations: 4 kB / 0.6756 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.1928, allocations: 7.938 kB / 0.6756 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.1929, allocations: 35.97 kB / 0.6757 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.163e-05/0.1929, allocations: 27.98 kB / 0.6757 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.19e-05/0.193, allocations: 117.6 kB / 0.6758 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.193, allocations: 3.938 kB / 0.6758 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004815/0.1935, allocations: 187.6 kB / 0.676 GB, free: 12.33 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.001628/0.1951, allocations: 1.281 MB / 0.6772 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007909/0.1959, allocations: 0.4997 MB / 0.6777 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.196, allocations: 3.938 kB / 0.6777 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.1964, allocations: 296.3 kB / 0.678 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1967, allocations: 43.97 kB / 0.678 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1978, allocations: 0.7007 MB / 0.6787 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1982, allocations: 0.7485 MB / 0.6795 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005436/0.1987, allocations: 351.6 kB / 0.6798 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.1989, allocations: 91.41 kB / 0.6799 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1989, allocations: 0 / 0.6799 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.227, allocations: 8.102 MB / 0.6878 GB, free: 448 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.731, allocations: 8.531 kB / 0.6878 GB, free: 444 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)