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.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 103.3 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9234/0.9234, allocations: 145 MB / 453.8 MB, free: 1.117 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 60.16 kB / 0.6281 GB, free: 10.7 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 87.83 MB / 0.7139 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002649/0.1857, allocations: 1.444 MB / 0.7153 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004545/0.1903, allocations: 2.92 MB / 0.7181 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.1903, allocations: 0 / 0.7181 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.1904, allocations: 7.922 kB / 0.7182 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.1904, allocations: 15.86 kB / 0.7182 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004171/0.1946, allocations: 1.645 MB / 0.7198 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.1947, allocations: 35.81 kB / 0.7198 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.1947, allocations: 7.984 kB / 0.7198 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.1947, allocations: 11.94 kB / 0.7198 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.1948, allocations: 19.81 kB / 0.7198 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1948, allocations: 0 / 0.7198 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.1973, allocations: 1.556 MB / 0.7214 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.1973, allocations: 3.984 kB / 0.7214 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.1974, allocations: 19.88 kB / 0.7214 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.1991, allocations: 1.083 MB / 0.7225 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1991, allocations: 8 kB / 0.7225 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1991, allocations: 0 / 0.7225 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.1991, allocations: 0 / 0.7225 GB, free: 10.1 MB / 0.545 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.0007197/0.1998, allocations: 0.5385 MB / 0.723 GB, free: 9.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1998, allocations: 12.03 kB / 0.723 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.1999, allocations: 106 kB / 0.7231 GB, free: 9.387 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.2, allocations: 80.17 kB / 0.7232 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.2001, allocations: 247.6 kB / 0.7234 GB, free: 9.027 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.2002, allocations: 154.9 kB / 0.7236 GB, free: 8.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.2003, allocations: 158.9 kB / 0.7237 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.624e-05/0.2003, allocations: 116.9 kB / 0.7238 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.2004, allocations: 75.28 kB / 0.7239 GB, free: 8.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.2004, allocations: 154.5 kB / 0.724 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.725e-05/0.2005, allocations: 150.6 kB / 0.7242 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.2006, allocations: 158.6 kB / 0.7243 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.2009, allocations: 461.9 kB / 0.7248 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.028e-05/0.201, allocations: 173.1 kB / 0.7249 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.201, allocations: 80.14 kB / 0.725 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.201, allocations: 83.22 kB / 0.7251 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.2011, allocations: 105.8 kB / 0.7252 GB, free: 7.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2011, allocations: 0 / 0.7252 GB, free: 7.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.373e-05/0.2012, allocations: 37.66 kB / 0.7252 GB, free: 7.066 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.2012, allocations: 126.7 kB / 0.7254 GB, free: 6.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.2014, allocations: 132 kB / 0.7255 GB, free: 6.793 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2014, allocations: 29.7 kB / 0.7255 GB, free: 6.758 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.2015, allocations: 100.1 kB / 0.7256 GB, free: 6.656 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.2015, allocations: 0 / 0.7256 GB, free: 6.656 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.2015, allocations: 13.72 kB / 0.7256 GB, free: 6.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2016, allocations: 322.8 kB / 0.7259 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.2016, allocations: 4 kB / 0.7259 GB, free: 6.309 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.148e-05/0.2017, allocations: 7.938 kB / 0.7259 GB, free: 6.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.614e-05/0.2017, allocations: 12.86 kB / 0.7259 GB, free: 6.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2017, allocations: 4.031 kB / 0.726 GB, free: 6.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.2018, allocations: 53.62 kB / 0.726 GB, free: 6.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2019, allocations: 4 kB / 0.726 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.2019, allocations: 4 kB / 0.726 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2019, allocations: 0 / 0.726 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.2019, allocations: 0 / 0.726 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2019, allocations: 0 / 0.726 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.2019, allocations: 3.953 kB / 0.726 GB, free: 6.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.2019, allocations: 7.938 kB / 0.726 GB, free: 6.203 MB / 0.545 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.0001037/0.202, allocations: 185.2 kB / 0.7262 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.2021, allocations: 112.9 kB / 0.7263 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.2021, allocations: 104.9 kB / 0.7264 GB, free: 5.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-05/0.2022, allocations: 184.2 kB / 0.7266 GB, free: 5.598 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.001e-05/0.2023, allocations: 184.2 kB / 0.7268 GB, free: 5.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.116e-05/0.2024, allocations: 180.2 kB / 0.7269 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.2026, allocations: 421.1 kB / 0.7273 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.737e-05/0.2027, allocations: 105 kB / 0.7274 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.608e-05/0.2027, allocations: 104.9 kB / 0.7275 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-05/0.2028, allocations: 176.3 kB / 0.7277 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.2029, allocations: 188.2 kB / 0.7279 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.056e-05/0.203, allocations: 180.2 kB / 0.728 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-05/0.203, allocations: 180.3 kB / 0.7282 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.2032, allocations: 311.7 kB / 0.7285 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.2033, allocations: 194 kB / 0.7287 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.333e-05/0.2034, allocations: 176.3 kB / 0.7289 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.2035, allocations: 105 kB / 0.729 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.2035, allocations: 188.2 kB / 0.7292 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.2036, allocations: 101 kB / 0.7292 GB, free: 2.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.344e-05/0.2037, allocations: 105.2 kB / 0.7293 GB, free: 2.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 0 / 0.7293 GB, free: 2.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008659/0.2045, allocations: 291 kB / 0.7296 GB, free: 2.285 MB / 0.545 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.00152/0.206, allocations: 1.183 MB / 0.7308 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2062, allocations: 33.7 kB / 0.7308 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2062, allocations: 0 / 0.7308 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.2062, allocations: 4.062 kB / 0.7308 GB, free: 1.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.2066, allocations: 471.5 kB / 0.7313 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2083, allocations: 1.588 MB / 0.7328 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.2086, allocations: 0.6846 MB / 0.7335 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.2086, allocations: 3.984 kB / 0.7335 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.2086, allocations: 15.44 kB / 0.7335 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.2086, allocations: 0 / 0.7335 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.2415, allocations: 7.154 MB / 0.7405 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.651, allocations: 10.67 kB / 0.7405 GB, free: 7.227 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.792370267998194] Failed to read output from testmodel.py, exit status != 0: 8.722328910997021 9.079887968 8.87806932 Calling exit ...