Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.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.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_InfiniteLineSource",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.001079/0.001079, 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.001072/0.001072, allocations: 195 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 275.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9224/0.9224, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 95.61 kB / 0.5954 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1578, allocations: 86.98 MB / 0.6803 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource): time 0.002208/0.16, allocations: 1.306 MB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.1605, allocations: 220.2 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.1605, allocations: 4 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.1605, allocations: 0.8438 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.1606, allocations: 3.938 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1609, allocations: 40.55 kB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.257e-05/0.161, allocations: 44.62 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.161, allocations: 0 / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.161, allocations: 24.66 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.1611, allocations: 15.98 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1611, allocations: 4.625 kB / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1613, allocations: 39.97 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.1613, allocations: 25.94 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.1614, allocations: 11.92 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1615, allocations: 72.02 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1615, allocations: 0 / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1615, allocations: 0 / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1615, allocations: 4 kB / 0.6821 GB, free: 14.72 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003502/0.1619, allocations: 343.4 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1619, allocations: 15.97 kB / 0.6824 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.1619, allocations: 34.75 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.1623, allocations: 28.8 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1625, allocations: 164.4 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1625, allocations: 4.375 kB / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.1625, allocations: 384 / 0.6827 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1627, allocations: 62.2 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1627, allocations: 7.938 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1627, allocations: 4 kB / 0.6827 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1627, allocations: 3.938 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.1629, allocations: 59.86 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1631, allocations: 169.7 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.1632, allocations: 62.53 kB / 0.683 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.1633, allocations: 24.97 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1633, allocations: 7.969 kB / 0.683 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1633, allocations: 38.56 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1633, allocations: 0 / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003256/0.1637, allocations: 105.4 kB / 0.6832 GB, free: 13.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.1637, allocations: 55.41 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.071e-05/0.1638, allocations: 109.8 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1638, allocations: 25.7 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.1638, allocations: 92.12 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1639, allocations: 19.66 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1639, allocations: 25.7 kB / 0.6835 GB, free: 13.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.164, allocations: 314.8 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.1641, allocations: 19.98 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.515e-05/0.1641, allocations: 15.97 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.1643, allocations: 49.14 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1643, allocations: 0 / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002146/0.1645, allocations: 85.66 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1645, allocations: 7.938 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1645, allocations: 4 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.1645, allocations: 0 / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1646, allocations: 11.98 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1646, allocations: 4 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1647, allocations: 3.938 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1647, allocations: 0 / 0.684 GB, free: 12.55 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 (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 prepare postOptimizeDAE: time 7.465e-05/0.1648, allocations: 118.5 kB / 0.6841 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.1649, allocations: 15.78 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1651, allocations: 94.02 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1651, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1651, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1651, allocations: 0 / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.1652, allocations: 185.6 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1653, allocations: 0 / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.1653, allocations: 11.98 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1654, allocations: 3.938 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1654, allocations: 4 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1654, allocations: 400 / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1654, allocations: 4 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1656, allocations: 120.9 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.1657, allocations: 77.11 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1657, allocations: 11.86 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.1658, allocations: 0 / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1658, allocations: 4 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.1658, allocations: 4 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.359e-05/0.1658, allocations: 95.27 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1658, allocations: 0 / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.1661, allocations: 20 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB 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 (7): * Single equations (assignments): 7 * 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.0005455/0.1666, allocations: 0.6708 MB / 0.6854 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1668, allocations: 51.97 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1668, allocations: 0 / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.1669, allocations: 31.91 kB / 0.6855 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.1671, allocations: 20.17 kB / 0.6855 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1684, allocations: 1.328 MB / 0.6868 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1686, allocations: 0.6976 MB / 0.6874 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1687, allocations: 24.52 kB / 0.6875 GB, free: 8.738 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.1687, allocations: 19.42 kB / 0.6875 GB, free: 8.719 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1688, allocations: 0 / 0.6875 GB, free: 8.719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.1854, allocations: 2.31 MB / 0.6897 GB, free: 6.617 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.313, allocations: 9.281 kB / 0.6898 GB, free: 6.613 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource_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_InfiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.InfiniteLineSource.pipe 2>&1)