Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource",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.001374/0.001374, 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.001133/0.001133, allocations: 197 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 283 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 97.78 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1369, allocations: 86.98 MB / 0.6803 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource): time 0.002158/0.1391, allocations: 1.346 MB / 0.6816 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1408, allocations: 1.315 MB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.1409, allocations: 4 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.1409, allocations: 3.984 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.266e-05/0.141, allocations: 23.91 kB / 0.683 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.1418, allocations: 382.8 kB / 0.6833 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.1421, allocations: 376.6 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.021e-05/0.1422, allocations: 0 / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.1422, allocations: 119.9 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1424, allocations: 187.8 kB / 0.684 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.097e-05/0.1425, allocations: 20 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006784/0.1432, allocations: 495.2 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.1433, allocations: 107.8 kB / 0.6846 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.1434, allocations: 115.5 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.144, allocations: 0.534 MB / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.144, allocations: 0 / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.144, allocations: 0 / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.144, allocations: 0 / 0.6852 GB, free: 11.55 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005948/0.1446, allocations: 0.5418 MB / 0.6857 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1446, allocations: 12.03 kB / 0.6857 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.5e-05/0.1447, allocations: 54.73 kB / 0.6858 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.1448, allocations: 20.75 kB / 0.6858 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.1449, allocations: 195.9 kB / 0.686 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1449, allocations: 12.38 kB / 0.686 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.145, allocations: 20.38 kB / 0.686 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1455, allocations: 333.4 kB / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1455, allocations: 0 / 0.6863 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.1455, allocations: 4 kB / 0.6864 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1455, allocations: 4 kB / 0.6864 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.1494, allocations: 2.933 MB / 0.6892 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.1499, allocations: 381.2 kB / 0.6896 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000716/0.1506, allocations: 0.4952 MB / 0.6901 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.151, allocations: 236.7 kB / 0.6903 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.1522, allocations: 0.9235 MB / 0.6912 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1523, allocations: 42.5 kB / 0.6912 GB, free: 5.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 1.462e-06/0.1523, allocations: 3.938 kB / 0.6912 GB, free: 5.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.001281/0.1536, allocations: 0.7634 MB / 0.692 GB, free: 4.254 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1536, allocations: 59.34 kB / 0.692 GB, free: 4.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1537, allocations: 147.3 kB / 0.6922 GB, free: 4.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.1538, allocations: 37.7 kB / 0.6922 GB, free: 3.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1538, allocations: 93.14 kB / 0.6923 GB, free: 3.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.154, allocations: 149.8 kB / 0.6924 GB, free: 3.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.1541, allocations: 93.69 kB / 0.6925 GB, free: 3.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1542, allocations: 334.8 kB / 0.6929 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.1545, allocations: 203.8 kB / 0.6931 GB, free: 3.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.1549, allocations: 221.1 kB / 0.6933 GB, free: 2.895 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.1556, allocations: 488.4 kB / 0.6937 GB, free: 2.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1557, allocations: 4 kB / 0.6937 GB, free: 2.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008596/0.1565, allocations: 0.5484 MB / 0.6943 GB, free: 1.855 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1565, allocations: 4 kB / 0.6943 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1566, allocations: 0 / 0.6943 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1566, allocations: 4 kB / 0.6943 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1569, allocations: 95.89 kB / 0.6944 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1569, allocations: 0 / 0.6944 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.1569, allocations: 23.75 kB / 0.6944 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.157, allocations: 23.98 kB / 0.6944 GB, free: 1.707 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 (43): * Single equations (assignments): 43 * 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 0.0001409/0.1571, allocations: 166.4 kB / 0.6946 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.1572, allocations: 19.75 kB / 0.6946 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.1587, allocations: 0.892 MB / 0.6955 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1587, allocations: 4 kB / 0.6955 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1587, allocations: 3.984 kB / 0.6955 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1587, allocations: 8 kB / 0.6955 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.1591, allocations: 401.1 kB / 0.6959 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1591, allocations: 0 / 0.6959 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.1594, allocations: 103.8 kB / 0.696 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1594, allocations: 0 / 0.696 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.1594, allocations: 19.98 kB / 0.696 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1594, allocations: 4 kB / 0.696 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1595, allocations: 4 kB / 0.696 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.1603, allocations: 0.5929 MB / 0.6966 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.1604, allocations: 112.6 kB / 0.6967 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.1604, allocations: 8 kB / 0.6967 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-05/0.1605, allocations: 8 kB / 0.6967 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.1606, allocations: 43.83 kB / 0.6967 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.1606, allocations: 27.98 kB / 0.6968 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.1607, allocations: 105.2 kB / 0.6969 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1607, allocations: 0 / 0.6969 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004652/0.1612, allocations: 195.8 kB / 0.697 GB, free: 14.94 MB / 0.4981 GB 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 (44): * Single equations (assignments): 44 * 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.001493/0.1627, allocations: 1.276 MB / 0.6983 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.1637, allocations: 0.7338 MB / 0.699 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1637, allocations: 3.938 kB / 0.699 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.1641, allocations: 279.6 kB / 0.6993 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1644, allocations: 51.95 kB / 0.6993 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1655, allocations: 0.7069 MB / 0.7 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1658, allocations: 0.7485 MB / 0.7007 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005023/0.1663, allocations: 351.1 kB / 0.7011 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.1665, allocations: 91.41 kB / 0.7012 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1665, allocations: 0 / 0.7012 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.1911, allocations: 8.059 MB / 0.709 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.349, allocations: 2.688 kB / 0.709 GB, free: 2.867 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource.pipe 2>&1)