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.001738/0.001738, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002195/0.002195, allocations: 217 kB / 22.25 MB, free: 5.078 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.035 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.9792/0.9792, allocations: 145 MB / 457.4 MB, free: 15.55 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.002041/0.002041, allocations: 67.83 kB / 0.6333 GB, free: 7.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1827, allocations: 87.88 MB / 0.7191 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003018/0.1857, allocations: 1.462 MB / 0.7205 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005032/0.1907, allocations: 2.993 MB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.1908, allocations: 0 / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.1908, allocations: 7.922 kB / 0.7234 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.537e-05/0.1908, allocations: 19.86 kB / 0.7235 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.1953, allocations: 1.708 MB / 0.7251 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.1954, allocations: 47.67 kB / 0.7252 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.1955, allocations: 0 / 0.7252 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.1955, allocations: 15.92 kB / 0.7252 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.308e-05/0.1955, allocations: 15.92 kB / 0.7252 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1955, allocations: 4 kB / 0.7252 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.1984, allocations: 1.767 MB / 0.7269 GB, free: 7.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.1985, allocations: 7.938 kB / 0.7269 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.515e-05/0.1985, allocations: 15.88 kB / 0.727 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.2002, allocations: 1.138 MB / 0.7281 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2003, allocations: 0 / 0.7281 GB, free: 6.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2003, allocations: 0 / 0.7281 GB, free: 6.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2003, allocations: 3.938 kB / 0.7281 GB, free: 6.145 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.0006777/0.2009, allocations: 478.2 kB / 0.7285 GB, free: 5.648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.201, allocations: 12.03 kB / 0.7285 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.2011, allocations: 114 kB / 0.7286 GB, free: 5.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.2011, allocations: 76.22 kB / 0.7287 GB, free: 5.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.2013, allocations: 197.7 kB / 0.7289 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.2014, allocations: 150.9 kB / 0.7291 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.2014, allocations: 154.9 kB / 0.7292 GB, free: 4.922 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.039e-05/0.2015, allocations: 104.9 kB / 0.7293 GB, free: 4.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.2015, allocations: 79.28 kB / 0.7294 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/0.2016, allocations: 150.6 kB / 0.7295 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/0.2017, allocations: 154.5 kB / 0.7297 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.2018, allocations: 158.6 kB / 0.7298 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.2021, allocations: 433 kB / 0.7302 GB, free: 3.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.2022, allocations: 173.1 kB / 0.7304 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.2022, allocations: 84.19 kB / 0.7305 GB, free: 3.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.2022, allocations: 83.2 kB / 0.7306 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.2023, allocations: 113.8 kB / 0.7307 GB, free: 3.344 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.2023, allocations: 4 kB / 0.7307 GB, free: 3.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.893e-05/0.2024, allocations: 33.66 kB / 0.7307 GB, free: 3.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.2025, allocations: 126.7 kB / 0.7308 GB, free: 3.164 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2026, allocations: 139.7 kB / 0.731 GB, free: 3.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2026, allocations: 25.7 kB / 0.731 GB, free: 2.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.2027, allocations: 88.14 kB / 0.7311 GB, free: 2.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.2027, allocations: 4 kB / 0.7311 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.2027, allocations: 17.66 kB / 0.7311 GB, free: 2.871 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2029, allocations: 318.8 kB / 0.7314 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.2029, allocations: 8 kB / 0.7314 GB, free: 2.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.2029, allocations: 8 kB / 0.7314 GB, free: 2.535 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.2029, allocations: 12.8 kB / 0.7314 GB, free: 2.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.203, allocations: 4 kB / 0.7314 GB, free: 2.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001334/0.2031, allocations: 57.58 kB / 0.7315 GB, free: 2.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2031, allocations: 4 kB / 0.7315 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.2031, allocations: 4 kB / 0.7315 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2031, allocations: 0 / 0.7315 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.2031, allocations: 0 / 0.7315 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2031, allocations: 8.062 kB / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.2032, allocations: 0 / 0.7315 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2032, allocations: 0 / 0.7315 GB, free: 2.438 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.0001067/0.2033, allocations: 185.1 kB / 0.7317 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.2033, allocations: 116.8 kB / 0.7318 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.138e-05/0.2034, allocations: 108.8 kB / 0.7319 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.212e-05/0.2035, allocations: 184.2 kB / 0.7321 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.439e-05/0.2036, allocations: 180.3 kB / 0.7322 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.098e-05/0.2037, allocations: 184.2 kB / 0.7324 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.2039, allocations: 384.2 kB / 0.7328 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.674e-05/0.204, allocations: 109 kB / 0.7329 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.204, allocations: 104.9 kB / 0.733 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.501e-05/0.2041, allocations: 180.3 kB / 0.7331 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.2042, allocations: 180.2 kB / 0.7333 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-05/0.2043, allocations: 192.2 kB / 0.7335 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-05/0.2043, allocations: 176.3 kB / 0.7337 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.2045, allocations: 319.7 kB / 0.734 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.2046, allocations: 112.9 kB / 0.7341 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/0.2047, allocations: 180.2 kB / 0.7343 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.2048, allocations: 105 kB / 0.7344 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.2049, allocations: 184.2 kB / 0.7345 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.2049, allocations: 101 kB / 0.7346 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.077e-05/0.205, allocations: 109 kB / 0.7347 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.205, allocations: 0 / 0.7347 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007995/0.2058, allocations: 299 kB / 0.735 GB, free: 14.62 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.001519/0.2073, allocations: 1.19 MB / 0.7362 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.2074, allocations: 41.7 kB / 0.7362 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2074, allocations: 3.938 kB / 0.7362 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.2074, allocations: 0 / 0.7362 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.2079, allocations: 463.7 kB / 0.7367 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2095, allocations: 1.614 MB / 0.7382 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2098, allocations: 0.6807 MB / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.2098, allocations: 0 / 0.7389 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.2098, allocations: 19.42 kB / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of SimCode: time 4.2e-07/0.2098, allocations: 0 / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/0.2481, allocations: 7.384 MB / 0.7461 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.57, allocations: 8.062 kB / 0.7461 GB, free: 3.281 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.757464652000635] Failed to read output from testmodel.py, exit status != 0: 11.675824264999392 11.99421987 11.789927603 Calling exit ...