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.001584/0.001584, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001731/0.001731, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.98 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.9236/0.9236, allocations: 145 MB / 457.4 MB, free: 15.52 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.002103/0.002103, allocations: 69.7 kB / 0.6332 GB, free: 7.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1667, allocations: 87.88 MB / 0.7191 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00618/0.1729, allocations: 4.191 MB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.1769, allocations: 2.479 MB / 0.7256 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.1772, allocations: 8 kB / 0.7256 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.1792, allocations: 0.5441 MB / 0.7261 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007354/0.1799, allocations: 246 kB / 0.7263 GB, free: 7.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1802, allocations: 143.8 kB / 0.7265 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1812, allocations: 0.8126 MB / 0.7273 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.1816, allocations: 235 kB / 0.7275 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.1822, allocations: 310.9 kB / 0.7278 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.1827, allocations: 330.6 kB / 0.7281 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1828, allocations: 72 kB / 0.7282 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1829, allocations: 76 kB / 0.7282 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.1831, allocations: 167.5 kB / 0.7284 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004792/0.1836, allocations: 386.2 kB / 0.7288 GB, free: 5.348 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.1848, allocations: 1.031 MB / 0.7298 GB, free: 4.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1848, allocations: 0 / 0.7298 GB, free: 4.312 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1848, allocations: 4 kB / 0.7298 GB, free: 4.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.1848, allocations: 0 / 0.7298 GB, free: 4.309 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.001631/0.1864, allocations: 0.8961 MB / 0.7307 GB, free: 3.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1865, allocations: 12.03 kB / 0.7307 GB, free: 3.371 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.1866, allocations: 90.64 kB / 0.7308 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1867, allocations: 80.47 kB / 0.7308 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.1875, allocations: 404.2 kB / 0.7312 GB, free: 2.773 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.1875, allocations: 37.38 kB / 0.7313 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.1876, allocations: 48.38 kB / 0.7313 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008493/0.1884, allocations: 430.6 kB / 0.7317 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1885, allocations: 0 / 0.7317 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.1885, allocations: 16 kB / 0.7317 GB, free: 2.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1885, allocations: 12 kB / 0.7317 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.1892, allocations: 371.8 kB / 0.7321 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.1916, allocations: 1.469 MB / 0.7335 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.1922, allocations: 328.3 kB / 0.7338 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.1927, allocations: 284.5 kB / 0.7341 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.1927, allocations: 7.938 kB / 0.7341 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.1927, allocations: 34.56 kB / 0.7342 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.1927, allocations: 0 / 0.7342 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001094/0.1938, allocations: 0.4989 MB / 0.7346 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1939, allocations: 59.41 kB / 0.7347 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/0.1945, allocations: 485.9 kB / 0.7352 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1945, allocations: 33.7 kB / 0.7352 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1947, allocations: 276.7 kB / 0.7355 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.1949, allocations: 154.6 kB / 0.7356 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/0.195, allocations: 62.08 kB / 0.7357 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1951, allocations: 362.8 kB / 0.736 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1954, allocations: 124.7 kB / 0.7361 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.1957, allocations: 121.5 kB / 0.7362 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.1962, allocations: 301.9 kB / 0.7365 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1962, allocations: 0 / 0.7365 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006621/0.1969, allocations: 400.5 kB / 0.7369 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1969, allocations: 12 kB / 0.7369 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1969, allocations: 0 / 0.7369 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.153e-05/0.197, allocations: 3.984 kB / 0.7369 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.1975, allocations: 123.9 kB / 0.737 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.1975, allocations: 4 kB / 0.7371 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.1978, allocations: 35.72 kB / 0.7371 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1978, allocations: 12 kB / 0.7371 GB, free: 12.6 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.0002295/0.198, allocations: 201.8 kB / 0.7373 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.1981, allocations: 55.61 kB / 0.7373 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1982, allocations: 57.11 kB / 0.7374 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.1982, allocations: 7.938 kB / 0.7374 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1982, allocations: 4 kB / 0.7374 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1982, allocations: 3.984 kB / 0.7374 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008233/0.1991, allocations: 0.543 MB / 0.7379 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1991, allocations: 3.938 kB / 0.7379 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.1996, allocations: 123.9 kB / 0.7381 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1996, allocations: 4 kB / 0.7381 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.1996, allocations: 8 kB / 0.7381 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1996, allocations: 0 / 0.7381 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1996, allocations: 0 / 0.7381 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2008, allocations: 0.6471 MB / 0.7387 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.2009, allocations: 71.47 kB / 0.7388 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.2009, allocations: 8 kB / 0.7388 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.2011, allocations: 11.98 kB / 0.7388 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.2012, allocations: 31.89 kB / 0.7388 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2012, allocations: 12 kB / 0.7388 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005391/0.2018, allocations: 351.1 kB / 0.7392 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2018, allocations: 4 kB / 0.7392 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003897/0.2022, allocations: 139.8 kB / 0.7393 GB, free: 10.26 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.001403/0.2036, allocations: 1.212 MB / 0.7405 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005697/0.2041, allocations: 295.6 kB / 0.7408 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2041, allocations: 7.938 kB / 0.7408 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.2044, allocations: 163.8 kB / 0.7409 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.2051, allocations: 134.1 kB / 0.7411 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.212, allocations: 4.866 MB / 0.7458 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.2125, allocations: 0.8781 MB / 0.7467 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002974/0.2128, allocations: 52.34 kB / 0.7467 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002556/0.2131, allocations: 187.4 kB / 0.7469 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.2131, allocations: 0 / 0.7469 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3442/0.5572, allocations: 11.81 MB / 0.7584 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.88, allocations: 10.91 kB / 0.7584 GB, free: 28.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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.511460446985438] Failed to read output from testmodel.py, exit status != 0: 11.991258522029966 12.003696268 11.816301071 Calling exit ...