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.001422/0.001422, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001923/0.001923, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.758 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.9394/0.9394, allocations: 145 MB / 457.4 MB, free: 15.26 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.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.002279/0.002279, allocations: 61.91 kB / 0.6332 GB, free: 6.621 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1884, allocations: 87.89 MB / 0.719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002996/0.1914, allocations: 1.433 MB / 0.7204 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004805/0.1962, allocations: 2.628 MB / 0.723 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.1962, allocations: 0 / 0.723 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.1962, allocations: 3.938 kB / 0.723 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.1963, allocations: 19.84 kB / 0.723 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.2004, allocations: 1.621 MB / 0.7246 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.25e-05/0.2005, allocations: 39.73 kB / 0.7246 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.2005, allocations: 7.938 kB / 0.7246 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.2006, allocations: 11.94 kB / 0.7246 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.252e-05/0.2006, allocations: 15.88 kB / 0.7246 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.2006, allocations: 4 kB / 0.7247 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.2029, allocations: 1.451 MB / 0.7261 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.2029, allocations: 4 kB / 0.7261 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.2029, allocations: 19.86 kB / 0.7261 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.2044, allocations: 1.064 MB / 0.7271 GB, free: 6.414 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.2044, allocations: 0 / 0.7271 GB, free: 6.414 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2044, allocations: 0 / 0.7271 GB, free: 6.414 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2044, allocations: 0 / 0.7271 GB, free: 6.414 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.0006709/0.2051, allocations: 468.1 kB / 0.7276 GB, free: 5.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2051, allocations: 12.03 kB / 0.7276 GB, free: 5.914 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/0.2052, allocations: 106 kB / 0.7277 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.2053, allocations: 80.22 kB / 0.7278 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.2054, allocations: 193.7 kB / 0.728 GB, free: 5.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.2055, allocations: 150.9 kB / 0.7281 GB, free: 5.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.2056, allocations: 154.9 kB / 0.7282 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/0.2057, allocations: 112.8 kB / 0.7284 GB, free: 5.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.2057, allocations: 75.28 kB / 0.7284 GB, free: 5.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.2058, allocations: 154.5 kB / 0.7286 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/0.2059, allocations: 158.6 kB / 0.7287 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.2059, allocations: 154.5 kB / 0.7289 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.2063, allocations: 433 kB / 0.7293 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.2064, allocations: 173.1 kB / 0.7294 GB, free: 3.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.2065, allocations: 80.19 kB / 0.7295 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.2065, allocations: 83.22 kB / 0.7296 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.2066, allocations: 105.8 kB / 0.7297 GB, free: 3.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2066, allocations: 3.938 kB / 0.7297 GB, free: 3.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.835e-05/0.2067, allocations: 33.69 kB / 0.7297 GB, free: 3.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.2067, allocations: 130.7 kB / 0.7299 GB, free: 3.449 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2069, allocations: 131.7 kB / 0.73 GB, free: 3.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2069, allocations: 25.7 kB / 0.73 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.207, allocations: 96.14 kB / 0.7301 GB, free: 3.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.207, allocations: 3.938 kB / 0.7301 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.207, allocations: 13.72 kB / 0.7301 GB, free: 3.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2072, allocations: 322.8 kB / 0.7304 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.2072, allocations: 4 kB / 0.7304 GB, free: 2.832 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315e-05/0.2072, allocations: 0 / 0.7304 GB, free: 2.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.105e-05/0.2072, allocations: 16.86 kB / 0.7305 GB, free: 2.812 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2072, allocations: 0 / 0.7305 GB, free: 2.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001357/0.2074, allocations: 53.58 kB / 0.7305 GB, free: 2.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2074, allocations: 8 kB / 0.7305 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.2074, allocations: 0 / 0.7305 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2074, allocations: 4.062 kB / 0.7305 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.2074, allocations: 0 / 0.7305 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2074, allocations: 3.938 kB / 0.7305 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.2074, allocations: 7.938 kB / 0.7305 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2075, allocations: 0 / 0.7305 GB, free: 2.73 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.0001222/0.2076, allocations: 193.1 kB / 0.7307 GB, free: 2.531 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.2076, allocations: 108.9 kB / 0.7308 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.297e-05/0.2077, allocations: 108.8 kB / 0.7309 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.217e-05/0.2078, allocations: 184.2 kB / 0.7311 GB, free: 2.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.753e-05/0.2079, allocations: 184.2 kB / 0.7313 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/0.208, allocations: 184.2 kB / 0.7314 GB, free: 1.738 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.2083, allocations: 384.2 kB / 0.7318 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/0.2083, allocations: 101 kB / 0.7319 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.2084, allocations: 112.9 kB / 0.732 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.324e-05/0.2085, allocations: 184.2 kB / 0.7322 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.603e-05/0.2086, allocations: 180.2 kB / 0.7324 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.351e-05/0.2087, allocations: 180.2 kB / 0.7325 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.744e-05/0.2087, allocations: 184.2 kB / 0.7327 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.2089, allocations: 311.8 kB / 0.733 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.209, allocations: 112.9 kB / 0.7331 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.2091, allocations: 184.2 kB / 0.7333 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.2092, allocations: 105 kB / 0.7334 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.2093, allocations: 184.2 kB / 0.7336 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.2093, allocations: 105 kB / 0.7337 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.992e-05/0.2094, allocations: 105 kB / 0.7338 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2094, allocations: 0 / 0.7338 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007222/0.2101, allocations: 283 kB / 0.734 GB, free: 14.93 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.001487/0.2116, allocations: 1.184 MB / 0.7352 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.2117, allocations: 37.69 kB / 0.7352 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2117, allocations: 4 kB / 0.7352 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.2117, allocations: 0 / 0.7352 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2121, allocations: 467.6 kB / 0.7357 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.2137, allocations: 1.581 MB / 0.7372 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.2137, allocations: 71.36 kB / 0.7373 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.513e-05/0.2137, allocations: 8 kB / 0.7373 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.2138, allocations: 15.44 kB / 0.7373 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.2138, allocations: 3.938 kB / 0.7373 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.2554, allocations: 7.643 MB / 0.7448 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.73, allocations: 12.66 kB / 0.7448 GB, free: 3.977 MB / 0.5606 GB " [Timeout remaining time 648] (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 sys.exit(0), Time elapsed: 15.887715988792479] Failed to read output from testmodel.py, exit status != 0: 11.849326024297625 12.173580164 11.966393439 Calling exit ...