Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand,fileNamePrefix="BuildingSystems_BuildingSystems_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.00171/0.00171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 287.2 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 97.91 kB / 0.6066 GB, free: 24.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1746, allocations: 89.14 MB / 0.6936 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002647/0.1773, allocations: 1.33 MB / 0.6949 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1786, allocations: 0.7492 MB / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.1787, allocations: 0 / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.1787, allocations: 0 / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.1788, allocations: 11.91 kB / 0.6957 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.1793, allocations: 135.5 kB / 0.6958 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.1794, allocations: 19.86 kB / 0.6958 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1794, allocations: 8 kB / 0.6958 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.1794, allocations: 11.94 kB / 0.6959 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.888e-05/0.1795, allocations: 0 / 0.6959 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1795, allocations: 4 kB / 0.6959 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003688/0.1799, allocations: 167.7 kB / 0.696 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.1799, allocations: 3.938 kB / 0.696 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.1799, allocations: 15.92 kB / 0.696 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1801, allocations: 120 kB / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1801, allocations: 0 / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1802, allocations: 0 / 0.6961 GB, free: 1.625 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1802, allocations: 0 / 0.6961 GB, free: 1.625 MB / 494.1 MB 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.0003932/0.1806, allocations: 359.3 kB / 0.6965 GB, free: 1.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1806, allocations: 8.031 kB / 0.6965 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1807, allocations: 34.75 kB / 0.6965 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.1807, allocations: 4.938 kB / 0.6965 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1808, allocations: 164.3 kB / 0.6967 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.1808, allocations: 384 / 0.6967 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.271e-06/0.1809, allocations: 384 / 0.6967 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.181, allocations: 37.81 kB / 0.6967 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.181, allocations: 0 / 0.6967 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.181, allocations: 11.98 kB / 0.6967 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.181, allocations: 3.938 kB / 0.6967 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.1811, allocations: 11.94 kB / 0.6968 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.1812, allocations: 149.7 kB / 0.6969 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.1813, allocations: 26.58 kB / 0.6969 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.1813, allocations: 8.922 kB / 0.6969 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005102/0.1818, allocations: 135.4 kB / 0.6971 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.1819, allocations: 38.5 kB / 0.6971 GB, free: 476 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1819, allocations: 0 / 0.6971 GB, free: 476 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001427/0.182, allocations: 45.62 kB / 0.6971 GB, free: 424 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.1821, allocations: 55.53 kB / 0.6972 GB, free: 356 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.1822, allocations: 101.8 kB / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1822, allocations: 25.7 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1823, allocations: 88.14 kB / 0.6974 GB, free: 120 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1823, allocations: 3.906 kB / 0.6974 GB, free: 116 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1823, allocations: 13.72 kB / 0.6974 GB, free: 96 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1825, allocations: 310.8 kB / 0.6977 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.1825, allocations: 8 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.1825, allocations: 7.984 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.1825, allocations: 12.86 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1826, allocations: 0 / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.659e-05/0.1826, allocations: 45.58 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1826, allocations: 4 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1827, allocations: 256 / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1827, allocations: 4 kB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.1827, allocations: 4 kB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1827, allocations: 8.031 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.1827, allocations: 7.984 kB / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.1828, allocations: 0 / 0.6978 GB, free: 15.67 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 7.065e-05/0.1828, allocations: 106.5 kB / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1829, allocations: 11.84 kB / 0.6979 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.783e-05/0.183, allocations: 48.75 kB / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.183, allocations: 0 / 0.698 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.183, allocations: 4 kB / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.183, allocations: 0 / 0.698 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1831, allocations: 157.7 kB / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1831, allocations: 0 / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.1831, allocations: 7.938 kB / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1831, allocations: 0 / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1832, allocations: 0 / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1832, allocations: 0 / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1832, allocations: 0 / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.1833, allocations: 65.12 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.1833, allocations: 89.02 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1833, allocations: 0 / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-06/0.1834, allocations: 3.938 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.1834, allocations: 8 kB / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.1834, allocations: 0 / 0.6983 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.1834, allocations: 83.27 kB / 0.6984 GB, free: 15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1834, allocations: 0 / 0.6984 GB, free: 15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002338/0.1837, allocations: 39.94 kB / 0.6984 GB, free: 14.96 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.0006241/0.1843, allocations: 0.6755 MB / 0.6991 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.682e-05/0.1844, allocations: 19.92 kB / 0.6991 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1844, allocations: 0 / 0.6991 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.1844, allocations: 4 kB / 0.6991 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.1846, allocations: 13.09 kB / 0.6991 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.185, allocations: 151.2 kB / 0.6992 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1853, allocations: 0.6729 MB / 0.6999 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.1854, allocations: 4 kB / 0.6999 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1854, allocations: 19.42 kB / 0.6999 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1854, allocations: 0 / 0.6999 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2091, allocations: 2.241 MB / 0.7021 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.434, allocations: 10.88 kB / 0.7021 GB, free: 11.28 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Integrand.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand.pipe 2>&1)