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.001278/0.001278, allocations: 105.4 kB / 16.45 MB, free: 6.398 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.001383/0.001383, allocations: 212.8 kB / 19.43 MB, free: 3.734 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.9413/0.9413, allocations: 145 MB / 453.8 MB, free: 0.707 MB / 350.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.002027/0.002027, allocations: 65.91 kB / 0.6281 GB, free: 10.58 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1763, allocations: 87.82 MB / 0.7139 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005908/0.1822, allocations: 4.169 MB / 0.7179 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004087/0.1863, allocations: 2.456 MB / 0.7203 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.1866, allocations: 16 kB / 0.7203 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1882, allocations: 0.5402 MB / 0.7209 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005212/0.1887, allocations: 246 kB / 0.7211 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.189, allocations: 135.9 kB / 0.7212 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000889/0.1898, allocations: 0.8098 MB / 0.722 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.1902, allocations: 238.6 kB / 0.7223 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.1907, allocations: 310.9 kB / 0.7226 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.1911, allocations: 330.6 kB / 0.7229 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.592e-05/0.1912, allocations: 80 kB / 0.7229 GB, free: 9.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1913, allocations: 72 kB / 0.723 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.1914, allocations: 167.5 kB / 0.7232 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.1918, allocations: 386.2 kB / 0.7235 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.1929, allocations: 1.031 MB / 0.7245 GB, free: 7.746 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1929, allocations: 0 / 0.7245 GB, free: 7.746 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1929, allocations: 0 / 0.7245 GB, free: 7.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.1929, allocations: 0 / 0.7245 GB, free: 7.746 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.001604/0.1945, allocations: 0.969 MB / 0.7255 GB, free: 6.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1946, allocations: 16.03 kB / 0.7255 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1947, allocations: 90.7 kB / 0.7256 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1948, allocations: 76.47 kB / 0.7257 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007014/0.1955, allocations: 458 kB / 0.7261 GB, free: 6.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.1955, allocations: 41.31 kB / 0.7261 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.1956, allocations: 52.31 kB / 0.7262 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.1964, allocations: 434.6 kB / 0.7266 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1964, allocations: 4 kB / 0.7266 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.1965, allocations: 16 kB / 0.7266 GB, free: 5.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1965, allocations: 12 kB / 0.7266 GB, free: 5.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.1973, allocations: 363.8 kB / 0.727 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.1996, allocations: 1.52 MB / 0.7285 GB, free: 3.551 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.2002, allocations: 316.2 kB / 0.7288 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005177/0.2007, allocations: 293.2 kB / 0.7291 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.2008, allocations: 7.938 kB / 0.7291 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2008, allocations: 38.56 kB / 0.7291 GB, free: 2.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.295e-06/0.2008, allocations: 4 kB / 0.7291 GB, free: 2.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001043/0.2018, allocations: 0.4911 MB / 0.7296 GB, free: 2.387 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2019, allocations: 55.41 kB / 0.7296 GB, free: 2.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.2025, allocations: 485.9 kB / 0.7301 GB, free: 1.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.2025, allocations: 33.7 kB / 0.7301 GB, free: 1.797 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.2027, allocations: 276.7 kB / 0.7304 GB, free: 1.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.2029, allocations: 154.6 kB / 0.7305 GB, free: 1.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.203, allocations: 70.06 kB / 0.7306 GB, free: 1.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.2031, allocations: 358.8 kB / 0.7309 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.2034, allocations: 120.7 kB / 0.7311 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.2036, allocations: 129.2 kB / 0.7312 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.2042, allocations: 298.2 kB / 0.7315 GB, free: 408 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2042, allocations: 4 kB / 0.7315 GB, free: 404 kB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006983/0.2049, allocations: 397.2 kB / 0.7319 GB, free: 0 / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.2049, allocations: 6.234 kB / 0.7319 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2049, allocations: 0 / 0.7319 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.2049, allocations: 7.984 kB / 0.7319 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.2055, allocations: 123.8 kB / 0.732 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2055, allocations: 3.984 kB / 0.732 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.2057, allocations: 39.73 kB / 0.732 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2057, allocations: 12 kB / 0.732 GB, free: 15.81 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.0002254/0.206, allocations: 193.8 kB / 0.7322 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.2061, allocations: 55.61 kB / 0.7323 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.2062, allocations: 65.09 kB / 0.7323 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2062, allocations: 4 kB / 0.7323 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2062, allocations: 3.938 kB / 0.7323 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2062, allocations: 0 / 0.7323 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.2069, allocations: 0.5791 MB / 0.7329 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2069, allocations: 3.938 kB / 0.7329 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/0.2074, allocations: 123.9 kB / 0.733 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2074, allocations: 4 kB / 0.733 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2075, allocations: 7.938 kB / 0.733 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.2075, allocations: 4 kB / 0.733 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2075, allocations: 0 / 0.733 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2085, allocations: 0.6469 MB / 0.7337 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.2087, allocations: 148.6 kB / 0.7338 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.2087, allocations: 8 kB / 0.7338 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.209, allocations: 19.98 kB / 0.7338 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.209, allocations: 23.97 kB / 0.7339 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.209, allocations: 4 kB / 0.7339 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004345/0.2095, allocations: 355.1 kB / 0.7342 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2095, allocations: 7.938 kB / 0.7342 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004159/0.2099, allocations: 143.8 kB / 0.7344 GB, free: 13.34 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.001472/0.2114, allocations: 1.216 MB / 0.7355 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006579/0.212, allocations: 303.8 kB / 0.7358 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.212, allocations: 0 / 0.7358 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.2123, allocations: 167.8 kB / 0.736 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.213, allocations: 124.4 kB / 0.7361 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.22, allocations: 4.875 MB / 0.7409 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000545/0.2206, allocations: 0.8626 MB / 0.7417 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.2208, allocations: 56.33 kB / 0.7418 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.2211, allocations: 191.4 kB / 0.742 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/0.2211, allocations: 0 / 0.742 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3557/0.5768, allocations: 11.54 MB / 0.7532 GB, free: 32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.778/9.355, allocations: 10.09 kB / 0.7532 GB, free: 31.99 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.264999022998381] Failed to read output from testmodel.py, exit status != 0: 9.435145898998599 9.452353514 9.256033036 Calling exit ...