Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.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_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",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.001152/0.001152, 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.001179/0.001179, allocations: 199.2 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 278.8 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9568/0.9568, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.00176, allocations: 99.73 kB / 0.5954 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1514, allocations: 86.98 MB / 0.6803 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState): time 0.002984/0.1545, allocations: 1.327 MB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.1549, allocations: 181 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/0.155, allocations: 3.938 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.155, allocations: 3.938 kB / 0.6818 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.1551, allocations: 15.91 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.1555, allocations: 67.84 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1556, allocations: 31.86 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.1557, allocations: 288 / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.868e-05/0.1557, allocations: 15.98 kB / 0.6819 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.1558, allocations: 7.938 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1558, allocations: 0 / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.1561, allocations: 115.9 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1561, allocations: 19.92 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.1561, allocations: 7.938 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1563, allocations: 91.8 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1563, allocations: 0 / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1563, allocations: 3.938 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1563, allocations: 0 / 0.6822 GB, free: 14.66 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.0003409/0.1567, allocations: 343.4 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1567, allocations: 12.03 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.1567, allocations: 34.75 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.1568, allocations: 0.9375 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1569, allocations: 168.4 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1569, allocations: 4.375 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.1569, allocations: 384 / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.157, allocations: 38.25 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1571, allocations: 3.938 kB / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1571, allocations: 0 / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1571, allocations: 0 / 0.6827 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.08e-05/0.1571, allocations: 23.92 kB / 0.6828 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.1573, allocations: 173.6 kB / 0.6829 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.436e-05/0.1574, allocations: 30.58 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.1574, allocations: 20.94 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000865/0.1583, allocations: 137 kB / 0.6831 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1583, allocations: 34.55 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1583, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002169/0.1586, allocations: 69.56 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.1587, allocations: 51.41 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1588, allocations: 101.9 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.1588, allocations: 25.7 kB / 0.6834 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.1589, allocations: 84.12 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1589, allocations: 19.75 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.1589, allocations: 13.72 kB / 0.6835 GB, free: 13.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.159, allocations: 314.8 kB / 0.6838 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.1591, allocations: 15.92 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.1591, allocations: 4 kB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.1591, allocations: 21.14 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1591, allocations: 0 / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.345e-05/0.1592, allocations: 57.61 kB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1593, allocations: 11.94 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1593, allocations: 0 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1593, allocations: 0 / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.1593, allocations: 19.92 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1594, allocations: 0 / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.1594, allocations: 4 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.1594, allocations: 0 / 0.6839 GB, free: 12.6 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 (4): * Single equations (assignments): 4 * 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.369e-05/0.1595, allocations: 110.5 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.1595, allocations: 7.844 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.1596, allocations: 75.08 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1596, allocations: 0 / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1596, allocations: 0 / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1596, allocations: 0 / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1597, allocations: 157.7 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1598, allocations: 4 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.1598, allocations: 4.25 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1598, allocations: 11.92 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1598, allocations: 8 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1598, allocations: 0 / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1598, allocations: 0 / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.1599, allocations: 77.06 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.16, allocations: 89 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.16, allocations: 7.938 kB / 0.6845 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.16, allocations: 4 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.16, allocations: 0 / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.16, allocations: 4 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.1601, allocations: 87.27 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1601, allocations: 0 / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1603, allocations: 16 kB / 0.6846 GB, free: 11.85 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 (4): * Single equations (assignments): 4 * 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.0004341/0.1607, allocations: 0.6397 MB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.1609, allocations: 27.92 kB / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1609, allocations: 0 / 0.6852 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.1609, allocations: 8 kB / 0.6852 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.1611, allocations: 11.98 kB / 0.6852 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.1614, allocations: 155.2 kB / 0.6854 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1617, allocations: 0.6807 MB / 0.686 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.937e-05/0.1618, allocations: 19.48 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1619, allocations: 11.42 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1619, allocations: 4 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.1819, allocations: 2.398 MB / 0.6884 GB, free: 8.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.28, allocations: 11.56 kB / 0.6884 GB, free: 8.008 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1)