Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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_Erfint,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint",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.001567/0.001567, 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.002037/0.002037, allocations: 199.1 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002509/0.002509, allocations: 298.6 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 101.6 kB / 0.6066 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 89.15 MB / 0.6937 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.00177/0.157, allocations: 0.5601 MB / 0.6942 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1586, allocations: 1.317 MB / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.277e-05/0.1587, allocations: 0 / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1587, allocations: 3.938 kB / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.05e-06/0.1587, allocations: 0 / 0.6955 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000455/0.1592, allocations: 103.7 kB / 0.6956 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.56e-05/0.1592, allocations: 7.984 kB / 0.6956 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1593, allocations: 4 kB / 0.6956 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.723e-05/0.1593, allocations: 11.94 kB / 0.6956 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.544e-05/0.1593, allocations: 3.984 kB / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-06/0.1593, allocations: 0 / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1596, allocations: 115.8 kB / 0.6957 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1596, allocations: 3.984 kB / 0.6957 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.1597, allocations: 7.938 kB / 0.6957 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1598, allocations: 71.89 kB / 0.6958 GB, free: 1.965 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1598, allocations: 0 / 0.6958 GB, free: 1.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1598, allocations: 0 / 0.6958 GB, free: 1.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1598, allocations: 4 kB / 0.6958 GB, free: 1.961 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003753/0.1602, allocations: 335.9 kB / 0.6961 GB, free: 1.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1603, allocations: 12.03 kB / 0.6961 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.1603, allocations: 38.67 kB / 0.6962 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1604, allocations: 4.938 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1606, allocations: 168.3 kB / 0.6963 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-06/0.1606, allocations: 384 / 0.6963 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1606, allocations: 8.375 kB / 0.6964 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1607, allocations: 37.81 kB / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1607, allocations: 4 kB / 0.6964 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1608, allocations: 4 kB / 0.6964 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1608, allocations: 7.984 kB / 0.6964 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.1608, allocations: 4 kB / 0.6964 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.161, allocations: 157.6 kB / 0.6966 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1612, allocations: 50.61 kB / 0.6966 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.1612, allocations: 24.83 kB / 0.6966 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.1623, allocations: 1.481 MB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1624, allocations: 38.5 kB / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1624, allocations: 0 / 0.6981 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.1625, allocations: 53.69 kB / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1626, allocations: 55.34 kB / 0.6982 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.607e-05/0.1626, allocations: 89.86 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1627, allocations: 33.69 kB / 0.6983 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.1627, allocations: 88.12 kB / 0.6984 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1628, allocations: 15.75 kB / 0.6984 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.1628, allocations: 13.72 kB / 0.6984 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1629, allocations: 318.8 kB / 0.6987 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.163, allocations: 4 kB / 0.6988 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.163, allocations: 16 kB / 0.6988 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.1631, allocations: 24.84 kB / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1631, allocations: 0 / 0.6988 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.967e-05/0.1632, allocations: 57.69 kB / 0.6988 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1632, allocations: 13.34 kB / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1632, allocations: 3.938 kB / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1632, allocations: 0 / 0.6989 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.1633, allocations: 8 kB / 0.6989 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1633, allocations: 0 / 0.6989 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.1633, allocations: 0 / 0.6989 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1633, allocations: 0 / 0.6989 GB, free: 14.24 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 (5): * Single equations (assignments): 5 * 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.41e-05/0.1634, allocations: 122.4 kB / 0.699 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.1634, allocations: 7.938 kB / 0.699 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.1636, allocations: 65.19 kB / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1636, allocations: 0 / 0.6991 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1636, allocations: 3.938 kB / 0.6991 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1636, allocations: 3.984 kB / 0.6991 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1638, allocations: 161.5 kB / 0.6992 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1638, allocations: 0 / 0.6992 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.279e-05/0.1638, allocations: 11.98 kB / 0.6992 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1638, allocations: 3.938 kB / 0.6992 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1639, allocations: 4.25 kB / 0.6992 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1639, allocations: 4 kB / 0.6992 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.1639, allocations: 4 kB / 0.6992 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.164, allocations: 101.1 kB / 0.6993 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.1641, allocations: 81.05 kB / 0.6994 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1641, allocations: 32 / 0.6994 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.1641, allocations: 4 kB / 0.6994 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.1642, allocations: 3.938 kB / 0.6994 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1642, allocations: 8.062 kB / 0.6994 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.1642, allocations: 75.28 kB / 0.6995 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1642, allocations: 0 / 0.6995 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002255/0.1644, allocations: 35.98 kB / 0.6995 GB, free: 13.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (erfint_num) * 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 (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 Backend phase and start with SimCode phase: time 0.000622/0.1651, allocations: 0.6876 MB / 0.7002 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.1652, allocations: 35.92 kB / 0.7002 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1652, allocations: 0 / 0.7002 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.1652, allocations: 19.94 kB / 0.7003 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.1654, allocations: 3.984 kB / 0.7003 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1664, allocations: 1.138 MB / 0.7014 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.1667, allocations: 0.6768 MB / 0.702 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.1667, allocations: 8 kB / 0.702 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.1668, allocations: 19.38 kB / 0.7021 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1668, allocations: 0 / 0.7021 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.1898, allocations: 1.835 MB / 0.7039 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.322, allocations: 8.031 kB / 0.7039 GB, free: 9.086 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1)