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.001075/0.001075, allocations: 108 kB / 15.61 MB, free: 152 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.001116/0.001116, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.311/1.311, 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.00213/0.002131, allocations: 278.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 0.9564/0.9564, allocations: 169.3 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 107.1 kB / 0.5954 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1551, allocations: 86.98 MB / 0.6803 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint): time 0.00185/0.157, allocations: 0.5661 MB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1587, allocations: 1.304 MB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.1588, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.1588, allocations: 4 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.243e-06/0.1588, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.1593, allocations: 96.44 kB / 0.6823 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.243e-05/0.1594, allocations: 11.94 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.1594, allocations: 12.8 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.1595, allocations: 3.984 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.1595, allocations: 4.625 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1595, allocations: 0 / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.1598, allocations: 117.1 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1598, allocations: 0 / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.1598, allocations: 7.938 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.16, allocations: 76.58 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.16, allocations: 3.984 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.16, allocations: 4 kB / 0.6825 GB, free: 14.35 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1601, allocations: 0 / 0.6825 GB, free: 14.35 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.0003573/0.1604, allocations: 343.7 kB / 0.6828 GB, free: 13.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1605, allocations: 8.031 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.085e-05/0.1605, allocations: 34.75 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.1607, allocations: 8.938 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.06e-05/0.1608, allocations: 164.4 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1608, allocations: 384 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.1608, allocations: 384 / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1609, allocations: 49.81 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1609, allocations: 3.938 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.161, allocations: 3.984 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.161, allocations: 4 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/0.161, allocations: 19.92 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1612, allocations: 153.7 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1614, allocations: 42.62 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.1614, allocations: 20.86 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009347/0.1624, allocations: 1.478 MB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1624, allocations: 34.5 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1624, allocations: 0 / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000174/0.1626, allocations: 69.52 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.1626, allocations: 51.41 kB / 0.6849 GB, free: 11.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.1627, allocations: 93.86 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1627, allocations: 29.7 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.1627, allocations: 80.14 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.1628, allocations: 7.906 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.1628, allocations: 21.7 kB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1629, allocations: 310.8 kB / 0.6854 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.163, allocations: 8 kB / 0.6854 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.163, allocations: 7.984 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.716e-05/0.163, allocations: 28.86 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.163, allocations: 3.938 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.119e-05/0.1631, allocations: 57.59 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1632, allocations: 7.938 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1632, allocations: 0 / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1632, allocations: 4 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.013e-05/0.1632, allocations: 7.984 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1633, allocations: 0 / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.1633, allocations: 7.938 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1633, allocations: 4 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB 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 6.837e-05/0.1634, allocations: 110.5 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.1634, allocations: 7.938 kB / 0.6857 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1635, allocations: 73.05 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1635, allocations: 4 kB / 0.6857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1635, allocations: 0 / 0.6857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1636, allocations: 256 / 0.6857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1637, allocations: 165.7 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1637, allocations: 4 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.1637, allocations: 12 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1638, allocations: 3.938 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1638, allocations: 0 / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1638, allocations: 3.984 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1638, allocations: 3.938 kB / 0.6859 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1639, allocations: 105 kB / 0.686 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.164, allocations: 81.05 kB / 0.6861 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.164, allocations: 0 / 0.6861 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.164, allocations: 8.062 kB / 0.6861 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.1641, allocations: 8.172 kB / 0.6861 GB, free: 9.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1641, allocations: 0 / 0.6861 GB, free: 9.949 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.1641, allocations: 75.28 kB / 0.6862 GB, free: 9.875 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1641, allocations: 0 / 0.6862 GB, free: 9.875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1643, allocations: 28 kB / 0.6862 GB, free: 9.848 MB / 494.1 MB 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.0006167/0.165, allocations: 0.6944 MB / 0.6869 GB, free: 9.121 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.1651, allocations: 24 kB / 0.6869 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1651, allocations: 0 / 0.6869 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.04e-05/0.1651, allocations: 23.92 kB / 0.6869 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1653, allocations: 9.719 kB / 0.6869 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009419/0.1662, allocations: 1.139 MB / 0.6881 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.1665, allocations: 0.6845 MB / 0.6887 GB, free: 7.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.362e-05/0.1665, allocations: 4 kB / 0.6887 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.1665, allocations: 15.42 kB / 0.6887 GB, free: 7.117 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1666, allocations: 0 / 0.6887 GB, free: 7.117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.1852, allocations: 1.837 MB / 0.6905 GB, free: 5.484 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.426, allocations: 12.14 kB / 0.6906 GB, free: 5.477 MB / 494.1 MB (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)