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.001307/0.001307, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001479/0.001479, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9254/0.9254, allocations: 145 MB / 458.2 MB, free: 15.24 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="cs",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="cs",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.001978/0.001978, allocations: 70.19 kB / 0.6339 GB, free: 6.547 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1717, allocations: 87.89 MB / 0.7198 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005355/0.177, allocations: 3.771 MB / 0.7234 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1808, allocations: 2.227 MB / 0.7256 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.1811, allocations: 8 kB / 0.7256 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.1826, allocations: 0.4897 MB / 0.7261 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000531/0.1831, allocations: 250 kB / 0.7263 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1834, allocations: 143.8 kB / 0.7265 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009265/0.1843, allocations: 0.8052 MB / 0.7273 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.1847, allocations: 239 kB / 0.7275 GB, free: 6.719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.1851, allocations: 307 kB / 0.7278 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.1855, allocations: 338.6 kB / 0.7281 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.191e-05/0.1856, allocations: 79.94 kB / 0.7282 GB, free: 6.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1857, allocations: 72 kB / 0.7282 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.1859, allocations: 175.4 kB / 0.7284 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.1862, allocations: 310.7 kB / 0.7287 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1872, allocations: 1.031 MB / 0.7297 GB, free: 4.426 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1872, allocations: 8 kB / 0.7297 GB, free: 4.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1872, allocations: 0 / 0.7297 GB, free: 4.418 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.1872, allocations: 0 / 0.7297 GB, free: 4.418 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.001482/0.1887, allocations: 0.8899 MB / 0.7306 GB, free: 3.496 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1888, allocations: 12.03 kB / 0.7306 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.781e-05/0.1888, allocations: 17.19 kB / 0.7306 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.442e-05/0.1889, allocations: 86.7 kB / 0.7307 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.189, allocations: 76.47 kB / 0.7308 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.1897, allocations: 404.2 kB / 0.7312 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.1897, allocations: 37.31 kB / 0.7312 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-05/0.1898, allocations: 48.38 kB / 0.7312 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.1906, allocations: 438.3 kB / 0.7317 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1906, allocations: 0 / 0.7317 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.1907, allocations: 20 kB / 0.7317 GB, free: 2.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1907, allocations: 12 kB / 0.7317 GB, free: 2.332 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007203/0.1914, allocations: 363.8 kB / 0.732 GB, free: 1.977 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.1934, allocations: 1.249 MB / 0.7333 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.1939, allocations: 304.9 kB / 0.7335 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.1944, allocations: 308.5 kB / 0.7338 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1944, allocations: 4 kB / 0.7338 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1945, allocations: 35.25 kB / 0.7339 GB, free: 20 kB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.1945, allocations: 0 / 0.7339 GB, free: 20 kB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001006/0.1955, allocations: 0.4905 MB / 0.7344 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1955, allocations: 59.41 kB / 0.7344 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.1961, allocations: 489.9 kB / 0.7349 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/0.1961, allocations: 29.7 kB / 0.7349 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1964, allocations: 284.7 kB / 0.7352 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.1965, allocations: 154.6 kB / 0.7353 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1966, allocations: 62.08 kB / 0.7354 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1968, allocations: 358.8 kB / 0.7357 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.197, allocations: 124.7 kB / 0.7359 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.1973, allocations: 125.5 kB / 0.736 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.1978, allocations: 298 kB / 0.7363 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1978, allocations: 8 kB / 0.7363 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000678/0.1985, allocations: 404.4 kB / 0.7366 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1985, allocations: 4 kB / 0.7367 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.1985, allocations: 0 / 0.7367 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1985, allocations: 7.938 kB / 0.7367 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/0.199, allocations: 123.9 kB / 0.7368 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.199, allocations: 0 / 0.7368 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.1993, allocations: 35.73 kB / 0.7368 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.1993, allocations: 12 kB / 0.7368 GB, free: 12.94 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.0002348/0.1995, allocations: 197.8 kB / 0.737 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.1996, allocations: 55.61 kB / 0.7371 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1997, allocations: 65.09 kB / 0.7371 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1997, allocations: 4 kB / 0.7371 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1997, allocations: 0 / 0.7371 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1997, allocations: 0 / 0.7371 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.2004, allocations: 496.1 kB / 0.7376 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2004, allocations: 0 / 0.7376 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.2009, allocations: 127.9 kB / 0.7377 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2009, allocations: 0 / 0.7377 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.2009, allocations: 8 kB / 0.7377 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.2009, allocations: 0 / 0.7377 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.2009, allocations: 7.984 kB / 0.7377 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.202, allocations: 0.6508 MB / 0.7384 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2021, allocations: 59.64 kB / 0.7384 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.2021, allocations: 16 kB / 0.7384 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2024, allocations: 11.98 kB / 0.7385 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.2024, allocations: 23.95 kB / 0.7385 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2024, allocations: 8 kB / 0.7385 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004296/0.2029, allocations: 355.1 kB / 0.7388 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2029, allocations: 0 / 0.7388 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004176/0.2033, allocations: 143.7 kB / 0.739 GB, free: 10.68 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.001353/0.2046, allocations: 1.212 MB / 0.7402 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.2052, allocations: 291.6 kB / 0.7404 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2052, allocations: 0 / 0.7404 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.2055, allocations: 167.6 kB / 0.7406 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.2062, allocations: 134.4 kB / 0.7407 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.2128, allocations: 4.866 MB / 0.7455 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.2131, allocations: 271.1 kB / 0.7457 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.2133, allocations: 56.39 kB / 0.7458 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.2135, allocations: 191.4 kB / 0.746 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.2135, allocations: 0 / 0.746 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.345/0.5586, allocations: 12.34 MB / 0.758 GB, free: 28.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.55, allocations: 7.031 kB / 0.758 GB, free: 28.23 MB / 0.5606 GB " [Timeout remaining time 647] (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: 16.364973552059382] Failed to read output from testmodel.py, exit status != 0: 12.722297817002982 12.736365169 12.546325047 Calling exit ...