Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.00545/0.00545, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001155/0.001155, allocations: 195.8 kB / 16.68 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8627/0.8627, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 72.33 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1595, allocations: 82.03 MB / 0.6753 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002771/0.1623, allocations: 1.437 MB / 0.6767 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004537/0.1669, allocations: 2.884 MB / 0.6795 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.442e-05/0.167, allocations: 3.938 kB / 0.6795 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.167, allocations: 3.938 kB / 0.6795 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.1671, allocations: 23.78 kB / 0.6795 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.1714, allocations: 1.6 MB / 0.6811 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.1715, allocations: 39.69 kB / 0.6811 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.1716, allocations: 7.984 kB / 0.6811 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.1716, allocations: 11.94 kB / 0.6811 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.08e-05/0.1716, allocations: 19.92 kB / 0.6811 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.1717, allocations: 0 / 0.6811 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.1743, allocations: 1.533 MB / 0.6826 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.1743, allocations: 7.938 kB / 0.6826 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.1744, allocations: 27.86 kB / 0.6827 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.1764, allocations: 1.099 MB / 0.6837 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.1764, allocations: 4 kB / 0.6837 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.013e-06/0.1764, allocations: 0 / 0.6837 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1764, allocations: 0 / 0.6837 GB, free: 2.082 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008339/0.1772, allocations: 0.5247 MB / 0.6843 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1773, allocations: 8.031 kB / 0.6843 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.1774, allocations: 110 kB / 0.6844 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.1774, allocations: 92.16 kB / 0.6845 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.1776, allocations: 250.4 kB / 0.6847 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.1777, allocations: 150.9 kB / 0.6848 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.1777, allocations: 150.9 kB / 0.685 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1779, allocations: 108.9 kB / 0.6851 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.1779, allocations: 75.28 kB / 0.6852 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.178, allocations: 158.6 kB / 0.6853 GB, free: 380 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.178, allocations: 154.5 kB / 0.6855 GB, free: 224 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.1781, allocations: 154.5 kB / 0.6856 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.1784, allocations: 465.9 kB / 0.6861 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.1785, allocations: 169.1 kB / 0.6862 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.1786, allocations: 84.12 kB / 0.6863 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.1786, allocations: 83.16 kB / 0.6864 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.1787, allocations: 109.8 kB / 0.6865 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 4.709e-06/0.1787, allocations: 0 / 0.6865 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.182e-05/0.1788, allocations: 41.53 kB / 0.6865 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.1788, allocations: 130.7 kB / 0.6866 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.179, allocations: 129.8 kB / 0.6868 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.179, allocations: 25.7 kB / 0.6868 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1791, allocations: 100.1 kB / 0.6869 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1791, allocations: 0 / 0.6869 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1791, allocations: 21.77 kB / 0.6869 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1793, allocations: 314.8 kB / 0.6872 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.1793, allocations: 8 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.1793, allocations: 8 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.1794, allocations: 20.8 kB / 0.6872 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1794, allocations: 0 / 0.6872 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001854/0.1796, allocations: 45.64 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1796, allocations: 11.98 kB / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.1796, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1797, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1797, allocations: 4 kB / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1797, allocations: 0 / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.1797, allocations: 3.953 kB / 0.6873 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1797, allocations: 4.062 kB / 0.6873 GB, free: 14.19 MB / 0.5294 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001432/0.1799, allocations: 185.1 kB / 0.6875 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.1799, allocations: 112.8 kB / 0.6876 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1801, allocations: 116.9 kB / 0.6877 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.196e-05/0.1801, allocations: 180.3 kB / 0.6879 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.339e-05/0.1802, allocations: 180.2 kB / 0.6881 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.951e-05/0.1803, allocations: 184.3 kB / 0.6882 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.1805, allocations: 421.1 kB / 0.6886 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/0.1806, allocations: 105 kB / 0.6887 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1806, allocations: 101 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.678e-05/0.1807, allocations: 180.2 kB / 0.689 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.828e-05/0.1808, allocations: 180.3 kB / 0.6892 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.89e-05/0.1809, allocations: 184.2 kB / 0.6893 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-05/0.1809, allocations: 184.2 kB / 0.6895 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1811, allocations: 303.7 kB / 0.6898 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/0.1812, allocations: 186 kB / 0.69 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.299e-05/0.1813, allocations: 196.2 kB / 0.6902 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.1814, allocations: 104.9 kB / 0.6903 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.1815, allocations: 184.2 kB / 0.6904 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.1815, allocations: 101 kB / 0.6905 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.538e-05/0.1816, allocations: 101.1 kB / 0.6906 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1816, allocations: 0 / 0.6906 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008972/0.1825, allocations: 295 kB / 0.6909 GB, free: 10.26 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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.001777/0.1843, allocations: 1.178 MB / 0.6921 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1844, allocations: 38.06 kB / 0.6921 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1844, allocations: 0 / 0.6921 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.1844, allocations: 3.938 kB / 0.6921 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005124/0.1849, allocations: 466.7 kB / 0.6926 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1867, allocations: 1.599 MB / 0.6941 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.187, allocations: 0.6807 MB / 0.6948 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.187, allocations: 7.984 kB / 0.6948 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.187, allocations: 15.44 kB / 0.6948 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.187, allocations: 0 / 0.6948 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.216, allocations: 7.124 MB / 0.7018 GB, free: 15.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.063, allocations: 6.375 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)