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.004477/0.004477, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001054/0.001054, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 267.1 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9403/0.9403, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 91.33 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 86.97 MB / 0.766 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.001692/0.1533, allocations: 0.5734 MB / 0.7665 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.155, allocations: 1.307 MB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.155, allocations: 0 / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.1551, allocations: 0 / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.1551, allocations: 0 / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.1556, allocations: 99.72 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.199e-05/0.1556, allocations: 4 kB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.1557, allocations: 7.984 kB / 0.7679 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.1557, allocations: 7.938 kB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.1557, allocations: 4 kB / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1557, allocations: 0 / 0.7679 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.156, allocations: 123.8 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.156, allocations: 3.984 kB / 0.768 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.1561, allocations: 3.938 kB / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1562, allocations: 76.11 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1563, allocations: 3.938 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1563, allocations: 0 / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1563, allocations: 3.938 kB / 0.7681 GB, free: 6.645 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003431/0.1566, allocations: 349.4 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1567, allocations: 8.031 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.1567, allocations: 34.75 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.1568, allocations: 8.891 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.087e-05/0.1569, allocations: 164.4 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.157, allocations: 8.312 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.157, allocations: 4.375 kB / 0.7687 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1571, allocations: 41.81 kB / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1571, allocations: 0 / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.1571, allocations: 4 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1571, allocations: 0 / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.1572, allocations: 15.92 kB / 0.7687 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1573, allocations: 153.7 kB / 0.7689 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1575, allocations: 42.66 kB / 0.7689 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.1575, allocations: 24.86 kB / 0.7689 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008924/0.1585, allocations: 1.481 MB / 0.7704 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.1585, allocations: 34.5 kB / 0.7704 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.1585, allocations: 3.984 kB / 0.7704 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001601/0.1587, allocations: 65.61 kB / 0.7705 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1587, allocations: 51.41 kB / 0.7705 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.891e-05/0.1588, allocations: 89.86 kB / 0.7706 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1588, allocations: 25.7 kB / 0.7707 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.1588, allocations: 84.14 kB / 0.7707 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.1588, allocations: 19.84 kB / 0.7708 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1589, allocations: 21.7 kB / 0.7708 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.159, allocations: 314.8 kB / 0.7711 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.159, allocations: 8 kB / 0.7711 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.683e-05/0.159, allocations: 7.984 kB / 0.7711 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.1591, allocations: 24.86 kB / 0.7711 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1591, allocations: 0 / 0.7711 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.693e-05/0.1592, allocations: 57.62 kB / 0.7712 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1592, allocations: 11.94 kB / 0.7712 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1592, allocations: 4 kB / 0.7712 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1592, allocations: 0 / 0.7712 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.1593, allocations: 7.984 kB / 0.7712 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1593, allocations: 4 kB / 0.7712 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.1593, allocations: 3.953 kB / 0.7712 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1594, allocations: 3.984 kB / 0.7712 GB, free: 2.914 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 (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 7.178e-05/0.1594, allocations: 114.5 kB / 0.7713 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.009e-05/0.1595, allocations: 7.875 kB / 0.7713 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.1596, allocations: 77.11 kB / 0.7714 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1596, allocations: 3.938 kB / 0.7714 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1596, allocations: 0 / 0.7714 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1596, allocations: 0 / 0.7714 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1597, allocations: 157.7 kB / 0.7715 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1597, allocations: 256 / 0.7715 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.1598, allocations: 12 kB / 0.7716 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1598, allocations: 3.938 kB / 0.7716 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1598, allocations: 4 kB / 0.7716 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1598, allocations: 4 kB / 0.7716 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1598, allocations: 0 / 0.7716 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.16, allocations: 105 kB / 0.7717 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.16, allocations: 85 kB / 0.7717 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1601, allocations: 0 / 0.7717 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.452e-05/0.1601, allocations: 4.031 kB / 0.7718 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1601, allocations: 7.984 kB / 0.7718 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1601, allocations: 0 / 0.7718 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.1601, allocations: 79.38 kB / 0.7718 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 4 kB / 0.7718 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002317/0.1604, allocations: 27.88 kB / 0.7719 GB, free: 2.129 MB / 0.5606 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.0005768/0.161, allocations: 0.6867 MB / 0.7725 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.634e-05/0.1611, allocations: 32.05 kB / 0.7726 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1611, allocations: 0 / 0.7726 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.1611, allocations: 19.98 kB / 0.7726 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1613, allocations: 10.58 kB / 0.7726 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.1622, allocations: 1.141 MB / 0.7737 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2825/0.4447, allocations: 0.6768 MB / 0.7744 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.4448, allocations: 4.438 kB / 0.7744 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.4448, allocations: 11.11 kB / 0.7744 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.4449, allocations: 0 / 0.7744 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.4642, allocations: 1.844 MB / 0.7762 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.074, allocations: 8.922 kB / 0.7762 GB, free: 14.16 MB / 0.5606 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)