Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001392/0.001392, 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.00159/0.00159, allocations: 217.2 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.992 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.9027/0.9027, allocations: 145 MB / 457.4 MB, free: 15.97 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.002082/0.002082, allocations: 66.69 kB / 0.6332 GB, free: 7.32 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 87.89 MB / 0.7191 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00621/0.1895, allocations: 4.191 MB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004464/0.194, allocations: 2.468 MB / 0.7256 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.1943, allocations: 15.94 kB / 0.7256 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.196, allocations: 0.5363 MB / 0.7261 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.1966, allocations: 250 kB / 0.7263 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1968, allocations: 143.8 kB / 0.7265 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.1977, allocations: 0.8132 MB / 0.7273 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.1981, allocations: 239 kB / 0.7275 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.1986, allocations: 307 kB / 0.7278 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.199, allocations: 334.6 kB / 0.7281 GB, free: 6.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.637e-05/0.1991, allocations: 76 kB / 0.7282 GB, free: 6.047 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1992, allocations: 72 kB / 0.7282 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.1994, allocations: 171.4 kB / 0.7284 GB, free: 5.809 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003559/0.1997, allocations: 382.2 kB / 0.7288 GB, free: 5.434 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2008, allocations: 1.031 MB / 0.7298 GB, free: 4.398 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2008, allocations: 0 / 0.7298 GB, free: 4.398 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2008, allocations: 0 / 0.7298 GB, free: 4.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.2008, allocations: 4 kB / 0.7298 GB, free: 4.395 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001587/0.2024, allocations: 0.886 MB / 0.7307 GB, free: 3.477 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.2024, allocations: 12.03 kB / 0.7307 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.2025, allocations: 90.7 kB / 0.7308 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2027, allocations: 80.47 kB / 0.7308 GB, free: 3.289 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.2034, allocations: 404.1 kB / 0.7312 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.2034, allocations: 37.38 kB / 0.7312 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.418e-05/0.2035, allocations: 60.3 kB / 0.7313 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.2043, allocations: 430.5 kB / 0.7317 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2043, allocations: 0 / 0.7317 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.2044, allocations: 20 kB / 0.7317 GB, free: 2.328 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.2044, allocations: 15.98 kB / 0.7318 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007123/0.2051, allocations: 367.8 kB / 0.7321 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.2072, allocations: 1.461 MB / 0.7335 GB, free: 436 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.2078, allocations: 316.3 kB / 0.7338 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005054/0.2083, allocations: 292.5 kB / 0.7341 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.2083, allocations: 11.94 kB / 0.7341 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2083, allocations: 38.56 kB / 0.7342 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/0.2083, allocations: 0 / 0.7342 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001037/0.2094, allocations: 0.4989 MB / 0.7346 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.2094, allocations: 55.41 kB / 0.7347 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.21, allocations: 489.9 kB / 0.7352 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2101, allocations: 29.7 kB / 0.7352 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.2103, allocations: 284.6 kB / 0.7355 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.2104, allocations: 150.7 kB / 0.7356 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.2105, allocations: 62.08 kB / 0.7357 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2107, allocations: 358.8 kB / 0.736 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2109, allocations: 120.7 kB / 0.7361 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.2112, allocations: 133.4 kB / 0.7363 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.2117, allocations: 298 kB / 0.7365 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2117, allocations: 0 / 0.7365 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000659/0.2124, allocations: 400.4 kB / 0.7369 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2124, allocations: 4 kB / 0.7369 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2124, allocations: 0 / 0.7369 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2124, allocations: 4 kB / 0.7369 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.2129, allocations: 131.8 kB / 0.7371 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2129, allocations: 0 / 0.7371 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2131, allocations: 39.72 kB / 0.7371 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2131, allocations: 12 kB / 0.7371 GB, free: 12.68 MB / 0.5606 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002228/0.2134, allocations: 193.8 kB / 0.7373 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.2135, allocations: 55.61 kB / 0.7373 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.2136, allocations: 61.11 kB / 0.7374 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2136, allocations: 8 kB / 0.7374 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2136, allocations: 0 / 0.7374 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2136, allocations: 3.984 kB / 0.7374 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.2143, allocations: 0.543 MB / 0.7379 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2143, allocations: 3.938 kB / 0.7379 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.2148, allocations: 123.9 kB / 0.7381 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2148, allocations: 0 / 0.7381 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.2148, allocations: 12 kB / 0.7381 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2148, allocations: 0 / 0.7381 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.2148, allocations: 12 kB / 0.7381 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2159, allocations: 0.6431 MB / 0.7387 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.216, allocations: 71.47 kB / 0.7388 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.216, allocations: 4 kB / 0.7388 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2162, allocations: 19.98 kB / 0.7388 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.2163, allocations: 23.95 kB / 0.7388 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.2163, allocations: 12 kB / 0.7388 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004089/0.2167, allocations: 355.1 kB / 0.7392 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2167, allocations: 0 / 0.7392 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003917/0.2171, allocations: 135.8 kB / 0.7393 GB, free: 10.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.00133/0.2184, allocations: 1.212 MB / 0.7405 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005873/0.219, allocations: 299.6 kB / 0.7408 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.219, allocations: 3.938 kB / 0.7408 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.2193, allocations: 163.8 kB / 0.7409 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.22, allocations: 129 kB / 0.7411 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/0.2267, allocations: 4.87 MB / 0.7458 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.2272, allocations: 0.8742 MB / 0.7467 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.2274, allocations: 52.39 kB / 0.7467 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.2277, allocations: 191.4 kB / 0.7469 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.2277, allocations: 4 kB / 0.7469 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3403/0.5679, allocations: 11.8 MB / 0.7584 GB, free: 28.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.95, allocations: 12.8 kB / 0.7584 GB, free: 28.07 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.790578203999758] Failed to read output from testmodel.py, exit status != 0: 12.06832192100046 12.08926338 11.884465224 Calling exit ...