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.004965/0.004965, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001349/0.001349, allocations: 192.2 kB / 16.67 MB, free: 6.391 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002709/0.002709, allocations: 290.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004721/0.004722, allocations: 91.91 kB / 0.681 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1949, allocations: 86.98 MB / 0.766 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Integrand): time 0.002601/0.1976, allocations: 1.325 MB / 0.7673 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1991, allocations: 0.7523 MB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.1991, allocations: 4 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.1991, allocations: 4 kB / 0.768 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.061e-05/0.1992, allocations: 3.938 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.1998, allocations: 143.5 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.1998, allocations: 15.92 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.1999, allocations: 0 / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.1999, allocations: 7.938 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.239e-05/0.1999, allocations: 8 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2, allocations: 0 / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.2004, allocations: 179.7 kB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.2004, allocations: 3.938 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.2004, allocations: 4 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.2007, allocations: 119.9 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2007, allocations: 0 / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2007, allocations: 7.984 kB / 0.7685 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2007, allocations: 0 / 0.7685 GB, free: 6.27 MB / 0.5606 GB 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.0005663/0.2013, allocations: 353.2 kB / 0.7688 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2013, allocations: 12.03 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.2014, allocations: 30.75 kB / 0.7688 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.2014, allocations: 12.83 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2015, allocations: 164.4 kB / 0.769 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2015, allocations: 12.25 kB / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.2016, allocations: 384 / 0.769 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.668e-05/0.2016, allocations: 37.81 kB / 0.7691 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.2017, allocations: 0 / 0.7691 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-06/0.2017, allocations: 0 / 0.7691 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2017, allocations: 0 / 0.7691 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.2017, allocations: 4 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.2019, allocations: 157.7 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.202, allocations: 30.55 kB / 0.7692 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.202, allocations: 8.922 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004912/0.2025, allocations: 130.9 kB / 0.7694 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2025, allocations: 34.5 kB / 0.7694 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2025, allocations: 0 / 0.7694 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.2027, allocations: 45.69 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2027, allocations: 51.41 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.2028, allocations: 105.8 kB / 0.7696 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2029, allocations: 25.7 kB / 0.7696 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.2029, allocations: 84.27 kB / 0.7697 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.2029, allocations: 3.953 kB / 0.7697 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.203, allocations: 21.66 kB / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2031, allocations: 310.8 kB / 0.77 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.2031, allocations: 4 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.2031, allocations: 7.984 kB / 0.77 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.2032, allocations: 12.86 kB / 0.7701 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2032, allocations: 4.062 kB / 0.7701 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.202e-05/0.2033, allocations: 45.59 kB / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.2033, allocations: 8 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2033, allocations: 0 / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2033, allocations: 0 / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.684e-05/0.2034, allocations: 4 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2034, allocations: 8.172 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.2034, allocations: 3.938 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.2034, allocations: 4 kB / 0.7701 GB, free: 4.32 MB / 0.5606 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.793e-05/0.2035, allocations: 118.5 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.2035, allocations: 3.938 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.2036, allocations: 51.62 kB / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2036, allocations: 0 / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2036, allocations: 0 / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2036, allocations: 0 / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2038, allocations: 153.7 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2038, allocations: 0 / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.2038, allocations: 7.938 kB / 0.7705 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2038, allocations: 3.938 kB / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2038, allocations: 4.031 kB / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.2038, allocations: 4 kB / 0.7705 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2038, allocations: 3.938 kB / 0.7705 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2041, allocations: 65.11 kB / 0.7705 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2041, allocations: 89 kB / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.2041, allocations: 0 / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.2041, allocations: 0 / 0.7706 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.517e-06/0.2042, allocations: 4.031 kB / 0.7706 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2042, allocations: 0 / 0.7706 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.2042, allocations: 87.27 kB / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2042, allocations: 0 / 0.7707 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002717/0.2045, allocations: 39.88 kB / 0.7707 GB, free: 3.602 MB / 0.5606 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.0006065/0.2051, allocations: 0.6772 MB / 0.7714 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.2052, allocations: 11.98 kB / 0.7714 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2052, allocations: 0 / 0.7714 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.231e-05/0.2052, allocations: 4 kB / 0.7714 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2055, allocations: 8 kB / 0.7714 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.2059, allocations: 163 kB / 0.7716 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.2062, allocations: 0.6768 MB / 0.7722 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.598e-05/0.2062, allocations: 7.984 kB / 0.7722 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.2062, allocations: 7.438 kB / 0.7723 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.2062, allocations: 0 / 0.7723 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/0.5203, allocations: 2.239 MB / 0.7744 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/8.666, allocations: 9.781 kB / 0.7745 GB, free: 14.63 MB / 0.5606 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)