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.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.001424/0.001424, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.001584/0.001584, allocations: 220.3 kB / 22.25 MB, free: 4.863 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.809 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.9443/0.9443, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.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.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"}) [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.002203/0.002203, allocations: 67 kB / 0.6332 GB, free: 6.645 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1715, allocations: 87.89 MB / 0.719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003198/0.1747, allocations: 1.433 MB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.1794, allocations: 2.666 MB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.1794, allocations: 0 / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.1794, allocations: 3.938 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.1795, allocations: 23.78 kB / 0.723 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004185/0.1837, allocations: 1.637 MB / 0.7246 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1838, allocations: 47.67 kB / 0.7247 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.1839, allocations: 3.938 kB / 0.7247 GB, free: 8.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.1839, allocations: 15.92 kB / 0.7247 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.109e-05/0.1839, allocations: 19.92 kB / 0.7247 GB, free: 8.902 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1839, allocations: 7.938 kB / 0.7247 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.1863, allocations: 1.47 MB / 0.7262 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.1863, allocations: 8 kB / 0.7262 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.1863, allocations: 23.86 kB / 0.7262 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1878, allocations: 1.089 MB / 0.7273 GB, free: 6.301 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1878, allocations: 3.938 kB / 0.7273 GB, free: 6.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1878, allocations: 0 / 0.7273 GB, free: 6.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1878, allocations: 0 / 0.7273 GB, free: 6.297 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.000668/0.1885, allocations: 468 kB / 0.7277 GB, free: 5.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1886, allocations: 12.03 kB / 0.7277 GB, free: 5.797 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.628e-05/0.1886, allocations: 106 kB / 0.7278 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.1887, allocations: 80.17 kB / 0.7279 GB, free: 5.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.1889, allocations: 201.7 kB / 0.7281 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.189, allocations: 154.9 kB / 0.7282 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.1891, allocations: 154.9 kB / 0.7284 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1892, allocations: 108.9 kB / 0.7285 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.1892, allocations: 79.22 kB / 0.7286 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.1893, allocations: 150.6 kB / 0.7287 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.331e-05/0.1894, allocations: 150.6 kB / 0.7289 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.1895, allocations: 150.6 kB / 0.729 GB, free: 4.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.1899, allocations: 437 kB / 0.7294 GB, free: 3.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.19, allocations: 169.2 kB / 0.7296 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.19, allocations: 84.08 kB / 0.7297 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.1901, allocations: 87.16 kB / 0.7297 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.706e-05/0.1902, allocations: 113.8 kB / 0.7298 GB, free: 3.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.1902, allocations: 0 / 0.7298 GB, free: 3.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.113e-05/0.1902, allocations: 33.66 kB / 0.7299 GB, free: 3.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.1903, allocations: 126.7 kB / 0.73 GB, free: 3.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1905, allocations: 132.2 kB / 0.7301 GB, free: 3.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.1905, allocations: 25.7 kB / 0.7302 GB, free: 3.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1906, allocations: 92.12 kB / 0.7302 GB, free: 3.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.1906, allocations: 0 / 0.7302 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1906, allocations: 17.72 kB / 0.7303 GB, free: 3.043 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1908, allocations: 318.8 kB / 0.7306 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.1908, allocations: 15.94 kB / 0.7306 GB, free: 2.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.1908, allocations: 4 kB / 0.7306 GB, free: 2.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.478e-05/0.1909, allocations: 12.86 kB / 0.7306 GB, free: 2.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1909, allocations: 0 / 0.7306 GB, free: 2.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001475/0.191, allocations: 57.64 kB / 0.7306 GB, free: 2.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.191, allocations: 4 kB / 0.7306 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.1911, allocations: 8 kB / 0.7307 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1911, allocations: 0 / 0.7307 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.1911, allocations: 0 / 0.7307 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1911, allocations: 0 / 0.7307 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.1911, allocations: 7.938 kB / 0.7307 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1911, allocations: 8.047 kB / 0.7307 GB, free: 2.598 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.0001266/0.1913, allocations: 196.3 kB / 0.7309 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.1913, allocations: 116.8 kB / 0.731 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.1914, allocations: 112.8 kB / 0.7311 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-05/0.1915, allocations: 180.2 kB / 0.7313 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/0.1916, allocations: 180.3 kB / 0.7314 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.232e-05/0.1917, allocations: 180.2 kB / 0.7316 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.1919, allocations: 392.2 kB / 0.732 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.228e-05/0.192, allocations: 101 kB / 0.7321 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.192, allocations: 104.9 kB / 0.7322 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.083e-05/0.1921, allocations: 184.3 kB / 0.7323 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.699e-05/0.1922, allocations: 180.2 kB / 0.7325 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.615e-05/0.1923, allocations: 180.3 kB / 0.7327 GB, free: 412 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.826e-05/0.1924, allocations: 184.2 kB / 0.7329 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1926, allocations: 319.6 kB / 0.7332 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.1926, allocations: 116.9 kB / 0.7333 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.1927, allocations: 184.2 kB / 0.7335 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.1928, allocations: 101 kB / 0.7335 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.1929, allocations: 180.2 kB / 0.7337 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.193, allocations: 101 kB / 0.7338 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.941e-05/0.193, allocations: 105.1 kB / 0.7339 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.193, allocations: 4 kB / 0.7339 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009707/0.194, allocations: 298.9 kB / 0.7342 GB, free: 14.78 MB / 0.5606 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.001409/0.1954, allocations: 1.19 MB / 0.7354 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1955, allocations: 37.69 kB / 0.7354 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1955, allocations: 4.062 kB / 0.7354 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.1955, allocations: 4 kB / 0.7354 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.196, allocations: 463.6 kB / 0.7359 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1976, allocations: 1.618 MB / 0.7374 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.906e-05/0.1977, allocations: 63.34 kB / 0.7375 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.535e-05/0.1977, allocations: 0 / 0.7375 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.1977, allocations: 19.47 kB / 0.7375 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.1977, allocations: 0 / 0.7375 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03599/0.2337, allocations: 7.853 MB / 0.7452 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.86, allocations: 4 kB / 0.7452 GB, free: 3.594 MB / 0.5606 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.974989882204682] Failed to read output from testmodel.py, exit status != 0: 11.974462216719985 12.288191347 12.097574495 Calling exit ...