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.001411/0.001411, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.001784/0.001784, allocations: 220.9 kB / 22.25 MB, free: 5.215 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.012 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.9375/0.9375, 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.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.002022/0.002022, allocations: 71.14 kB / 0.6333 GB, free: 7.234 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1891, allocations: 87.89 MB / 0.7191 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002779/0.1919, allocations: 1.445 MB / 0.7205 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0048/0.1967, allocations: 2.947 MB / 0.7234 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.1967, allocations: 4 kB / 0.7234 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.1968, allocations: 3.938 kB / 0.7234 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.762e-05/0.1968, allocations: 15.86 kB / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.2015, allocations: 1.706 MB / 0.7251 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2016, allocations: 35.8 kB / 0.7251 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.2016, allocations: 0 / 0.7251 GB, free: 9.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.2017, allocations: 15.92 kB / 0.7251 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.221e-05/0.2017, allocations: 15.88 kB / 0.7251 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.2017, allocations: 4 kB / 0.7251 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003049/0.2048, allocations: 1.724 MB / 0.7268 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.2048, allocations: 0 / 0.7268 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.2048, allocations: 23.86 kB / 0.7268 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.2065, allocations: 1.112 MB / 0.7279 GB, free: 6.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2065, allocations: 0 / 0.7279 GB, free: 6.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2065, allocations: 0 / 0.7279 GB, free: 6.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2065, allocations: 0 / 0.7279 GB, free: 6.289 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.0006089/0.2071, allocations: 468.1 kB / 0.7284 GB, free: 5.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2071, allocations: 12.03 kB / 0.7284 GB, free: 5.789 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.2072, allocations: 110 kB / 0.7285 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.2073, allocations: 84.17 kB / 0.7286 GB, free: 5.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2074, allocations: 197.7 kB / 0.7288 GB, free: 5.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.2075, allocations: 150.9 kB / 0.7289 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.741e-05/0.2076, allocations: 150.9 kB / 0.729 GB, free: 5.074 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.939e-05/0.2076, allocations: 104.9 kB / 0.7291 GB, free: 4.965 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.2077, allocations: 75.28 kB / 0.7292 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.2077, allocations: 158.5 kB / 0.7294 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/0.2078, allocations: 150.6 kB / 0.7295 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.878e-05/0.2079, allocations: 158.6 kB / 0.7297 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.2082, allocations: 433 kB / 0.7301 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.2083, allocations: 169.1 kB / 0.7302 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.2083, allocations: 80.14 kB / 0.7303 GB, free: 3.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.2084, allocations: 87.14 kB / 0.7304 GB, free: 3.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.2084, allocations: 109.9 kB / 0.7305 GB, free: 3.504 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2084, allocations: 0 / 0.7305 GB, free: 3.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.594e-05/0.2085, allocations: 33.66 kB / 0.7305 GB, free: 3.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.2086, allocations: 134.6 kB / 0.7307 GB, free: 3.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2088, allocations: 135.9 kB / 0.7308 GB, free: 3.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2088, allocations: 25.7 kB / 0.7308 GB, free: 3.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.2089, allocations: 92.09 kB / 0.7309 GB, free: 3.055 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.2089, allocations: 0 / 0.7309 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2089, allocations: 21.7 kB / 0.7309 GB, free: 3.027 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.209, allocations: 318.8 kB / 0.7312 GB, free: 2.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.2091, allocations: 4 kB / 0.7312 GB, free: 2.703 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.2091, allocations: 7.938 kB / 0.7312 GB, free: 2.695 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.2091, allocations: 16.84 kB / 0.7313 GB, free: 2.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2091, allocations: 3.938 kB / 0.7313 GB, free: 2.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001469/0.2093, allocations: 45.64 kB / 0.7313 GB, free: 2.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2093, allocations: 4 kB / 0.7313 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.2093, allocations: 4 kB / 0.7313 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2093, allocations: 8.016 kB / 0.7313 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.2093, allocations: 0 / 0.7313 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2093, allocations: 0 / 0.7313 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.2094, allocations: 8.016 kB / 0.7313 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2094, allocations: 4 kB / 0.7313 GB, free: 2.594 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.0001311/0.2095, allocations: 185.1 kB / 0.7315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.2096, allocations: 112.9 kB / 0.7316 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.2096, allocations: 108.8 kB / 0.7317 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.209e-05/0.2097, allocations: 184.2 kB / 0.7319 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/0.2098, allocations: 184.3 kB / 0.7321 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.983e-05/0.2099, allocations: 176.3 kB / 0.7322 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.2102, allocations: 388.2 kB / 0.7326 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/0.2102, allocations: 101 kB / 0.7327 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.2102, allocations: 112.9 kB / 0.7328 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-05/0.2103, allocations: 180.3 kB / 0.733 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.424e-05/0.2104, allocations: 184.3 kB / 0.7332 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.911e-05/0.2105, allocations: 180.2 kB / 0.7333 GB, free: 416 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.182e-05/0.2106, allocations: 176.3 kB / 0.7335 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2108, allocations: 323.6 kB / 0.7338 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.2109, allocations: 112.9 kB / 0.7339 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-05/0.211, allocations: 176.3 kB / 0.7341 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2111, allocations: 109 kB / 0.7342 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.2111, allocations: 180.2 kB / 0.7344 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-05/0.2112, allocations: 105 kB / 0.7345 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.12e-05/0.2113, allocations: 95.27 kB / 0.7345 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2113, allocations: 4 kB / 0.7346 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009528/0.2122, allocations: 291 kB / 0.7348 GB, free: 14.8 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.001527/0.2137, allocations: 1.186 MB / 0.736 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.2139, allocations: 37.7 kB / 0.736 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2139, allocations: 0 / 0.736 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.2139, allocations: 0 / 0.736 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.2143, allocations: 461.6 kB / 0.7365 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2158, allocations: 1.589 MB / 0.738 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2162, allocations: 0.6845 MB / 0.7387 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.558e-05/0.2162, allocations: 0 / 0.7387 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.2162, allocations: 19.44 kB / 0.7387 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2162, allocations: 0 / 0.7387 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03582/0.252, allocations: 7.187 MB / 0.7457 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.7, allocations: 2.656 kB / 0.7457 GB, free: 3.699 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.943694074001542] Failed to read output from testmodel.py, exit status != 0: 11.805266126000788 12.176071776 11.966513144 Calling exit ...