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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.006417/0.006417, 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.001381/0.001381, allocations: 195.2 kB / 16.67 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.8827/0.8827, allocations: 143.1 MB / 433.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 66.33 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.152, allocations: 82.04 MB / 0.6753 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002779/0.1548, allocations: 1.439 MB / 0.6767 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004539/0.1594, allocations: 2.887 MB / 0.6795 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.1595, allocations: 0 / 0.6795 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.1595, allocations: 3.938 kB / 0.6795 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.1597, allocations: 23.84 kB / 0.6795 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.1639, allocations: 1.588 MB / 0.6811 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.164, allocations: 39.69 kB / 0.6811 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.164, allocations: 11.97 kB / 0.6811 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.1641, allocations: 15.94 kB / 0.6811 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.926e-05/0.1641, allocations: 11.94 kB / 0.6811 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1641, allocations: 3.938 kB / 0.6811 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.1667, allocations: 1.54 MB / 0.6826 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1667, allocations: 15.92 kB / 0.6827 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1668, allocations: 15.88 kB / 0.6827 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.1687, allocations: 1.103 MB / 0.6838 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1687, allocations: 0 / 0.6838 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1687, allocations: 0 / 0.6838 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1688, allocations: 0 / 0.6838 GB, free: 2.105 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.0007485/0.1695, allocations: 0.5247 MB / 0.6843 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1696, allocations: 8.031 kB / 0.6843 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1696, allocations: 118 kB / 0.6844 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.964e-05/0.1697, allocations: 88.16 kB / 0.6845 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1699, allocations: 247.6 kB / 0.6847 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.1699, allocations: 150.9 kB / 0.6848 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.17, allocations: 154.9 kB / 0.685 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.776e-05/0.17, allocations: 104.9 kB / 0.6851 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.1701, allocations: 79.28 kB / 0.6852 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.1701, allocations: 154.6 kB / 0.6853 GB, free: 400 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.1702, allocations: 150.6 kB / 0.6855 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.1702, allocations: 154.5 kB / 0.6856 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1705, allocations: 465.9 kB / 0.6861 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.075e-05/0.1706, allocations: 169.1 kB / 0.6862 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.1707, allocations: 84.12 kB / 0.6863 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1707, allocations: 79.22 kB / 0.6864 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.1708, allocations: 109.8 kB / 0.6865 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1708, allocations: 11.88 kB / 0.6865 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.321e-05/0.1709, allocations: 33.66 kB / 0.6865 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1709, allocations: 126.7 kB / 0.6866 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1711, allocations: 136.3 kB / 0.6868 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1711, allocations: 25.7 kB / 0.6868 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1711, allocations: 92.08 kB / 0.6869 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.1711, allocations: 4 kB / 0.6869 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1712, allocations: 21.77 kB / 0.6869 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.1713, allocations: 318.8 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.1713, allocations: 8 kB / 0.6872 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.1713, allocations: 4 kB / 0.6872 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.1714, allocations: 16.8 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1714, allocations: 4 kB / 0.6872 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001282/0.1715, allocations: 45.64 kB / 0.6873 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1716, allocations: 8 kB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.1716, allocations: 3.984 kB / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.1716, allocations: 0 / 0.6873 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-06/0.1716, allocations: 7.938 kB / 0.6873 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1716, allocations: 4.062 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.1717, allocations: 3.953 kB / 0.6873 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1717, allocations: 0 / 0.6873 GB, free: 14.21 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 8.728e-05/0.1718, allocations: 185.1 kB / 0.6875 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.1719, allocations: 116.8 kB / 0.6876 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.1719, allocations: 112.8 kB / 0.6877 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-05/0.172, allocations: 180.3 kB / 0.6879 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.359e-05/0.172, allocations: 184.2 kB / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.107e-05/0.1721, allocations: 180.3 kB / 0.6882 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.1723, allocations: 421.1 kB / 0.6886 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/0.1724, allocations: 105 kB / 0.6887 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1724, allocations: 101 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.09e-05/0.1725, allocations: 184.2 kB / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.1726, allocations: 176.3 kB / 0.6892 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-05/0.1727, allocations: 188.2 kB / 0.6893 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.27e-05/0.1728, allocations: 180.2 kB / 0.6895 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.1729, allocations: 307.7 kB / 0.6898 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.173, allocations: 190 kB / 0.69 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.1731, allocations: 192.1 kB / 0.6902 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.1732, allocations: 101 kB / 0.6903 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1733, allocations: 180.2 kB / 0.6904 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.1733, allocations: 105 kB / 0.6905 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.1734, allocations: 105.3 kB / 0.6906 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1734, allocations: 0 / 0.6906 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007876/0.1742, allocations: 287 kB / 0.6909 GB, free: 10.29 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.001525/0.1757, allocations: 1.19 MB / 0.6921 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.1758, allocations: 38.06 kB / 0.6921 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1758, allocations: 3.938 kB / 0.6921 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.1758, allocations: 0 / 0.6921 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1762, allocations: 468.4 kB / 0.6926 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1778, allocations: 1.595 MB / 0.6941 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1781, allocations: 0.6807 MB / 0.6948 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.1781, allocations: 4 kB / 0.6948 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.1781, allocations: 19.42 kB / 0.6948 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1781, allocations: 3.938 kB / 0.6948 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.2032, allocations: 7.124 MB / 0.7018 GB, free: 15.24 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/7.97, allocations: 11.56 kB / 0.7018 GB, free: 15.23 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)