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.001803/0.001803, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002198/0.002198, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.741/1.741, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.9417/0.9417, allocations: 144.9 MB / 453.8 MB, free: 0.7188 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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.0023/0.0023, allocations: 70.31 kB / 0.6286 GB, free: 10.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1819, allocations: 87.82 MB / 0.7143 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006505/0.1884, allocations: 4.176 MB / 0.7184 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004279/0.1927, allocations: 2.456 MB / 0.7208 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.193, allocations: 15.94 kB / 0.7208 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.1946, allocations: 0.5247 MB / 0.7213 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004967/0.1951, allocations: 254 kB / 0.7216 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1953, allocations: 143.8 kB / 0.7217 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008994/0.1962, allocations: 0.8059 MB / 0.7225 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.1967, allocations: 242.5 kB / 0.7227 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.1971, allocations: 306.9 kB / 0.723 GB, free: 9.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.1975, allocations: 334.5 kB / 0.7233 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.533e-05/0.1976, allocations: 72 kB / 0.7234 GB, free: 8.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.1977, allocations: 76 kB / 0.7235 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1979, allocations: 167.5 kB / 0.7236 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.1983, allocations: 390.2 kB / 0.724 GB, free: 8.285 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1994, allocations: 1.031 MB / 0.725 GB, free: 7.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1994, allocations: 0 / 0.725 GB, free: 7.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1994, allocations: 0 / 0.725 GB, free: 7.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1994, allocations: 0 / 0.725 GB, free: 7.25 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.001643/0.2011, allocations: 0.973 MB / 0.726 GB, free: 6.227 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2011, allocations: 12.03 kB / 0.726 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.2012, allocations: 76.47 kB / 0.7261 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007154/0.202, allocations: 458 kB / 0.7265 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.202, allocations: 37.38 kB / 0.7265 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.038e-05/0.2021, allocations: 48.38 kB / 0.7266 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008169/0.2029, allocations: 434.8 kB / 0.727 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.2029, allocations: 0 / 0.727 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.203, allocations: 20 kB / 0.727 GB, free: 5.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.203, allocations: 12 kB / 0.727 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008482/0.2038, allocations: 367.8 kB / 0.7274 GB, free: 4.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/0.2061, allocations: 1.513 MB / 0.7288 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.2067, allocations: 319.7 kB / 0.7292 GB, free: 2.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.2072, allocations: 285.9 kB / 0.7294 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.2073, allocations: 7.938 kB / 0.7294 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.2073, allocations: 50.48 kB / 0.7295 GB, free: 2.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.513e-06/0.2073, allocations: 0 / 0.7295 GB, free: 2.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001059/0.2084, allocations: 495.2 kB / 0.73 GB, free: 2.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.2084, allocations: 59.34 kB / 0.73 GB, free: 1.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.209, allocations: 485.9 kB / 0.7305 GB, free: 1.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.2091, allocations: 37.7 kB / 0.7305 GB, free: 1.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.2093, allocations: 280.6 kB / 0.7308 GB, free: 1.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.2094, allocations: 158.6 kB / 0.7309 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2095, allocations: 58.08 kB / 0.731 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.2097, allocations: 366.8 kB / 0.7313 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.21, allocations: 120.6 kB / 0.7314 GB, free: 432 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.2103, allocations: 129.2 kB / 0.7316 GB, free: 304 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005925/0.2109, allocations: 302.7 kB / 0.7319 GB, free: 0 / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2109, allocations: 0 / 0.7319 GB, free: 0 / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008566/0.2117, allocations: 396.5 kB / 0.7322 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2117, allocations: 6.031 kB / 0.7322 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2118, allocations: 0 / 0.7322 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2118, allocations: 7.984 kB / 0.7323 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.2123, allocations: 123.9 kB / 0.7324 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2123, allocations: 4 kB / 0.7324 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2126, allocations: 47.66 kB / 0.7324 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2126, allocations: 4 kB / 0.7324 GB, free: 15.42 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.0002321/0.2128, allocations: 197.8 kB / 0.7326 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.2129, allocations: 55.61 kB / 0.7327 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.213, allocations: 61.11 kB / 0.7327 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.213, allocations: 4 kB / 0.7327 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2131, allocations: 0 / 0.7327 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2131, allocations: 3.984 kB / 0.7327 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007414/0.2138, allocations: 0.5713 MB / 0.7333 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2138, allocations: 3.938 kB / 0.7333 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.2144, allocations: 127.8 kB / 0.7334 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2144, allocations: 4 kB / 0.7334 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.2144, allocations: 4 kB / 0.7334 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2144, allocations: 4 kB / 0.7334 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2144, allocations: 4 kB / 0.7334 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.2155, allocations: 0.655 MB / 0.7341 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.2157, allocations: 148.6 kB / 0.7342 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.2157, allocations: 4 kB / 0.7342 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.216, allocations: 15.98 kB / 0.7342 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.216, allocations: 19.97 kB / 0.7342 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2161, allocations: 12 kB / 0.7343 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004458/0.2165, allocations: 355.1 kB / 0.7346 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2165, allocations: 0 / 0.7346 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004298/0.2169, allocations: 143.8 kB / 0.7347 GB, free: 12.96 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.0001542/0.2171, allocations: 111.2 kB / 0.7348 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006735/0.2178, allocations: 300 kB / 0.7351 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2178, allocations: 0 / 0.7351 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2181, allocations: 171.9 kB / 0.7353 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.2187, allocations: 130.3 kB / 0.7354 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.2208, allocations: 1.228 MB / 0.7366 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.2214, allocations: 0.8626 MB / 0.7375 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2216, allocations: 52.39 kB / 0.7375 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.2217, allocations: 39.44 kB / 0.7375 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.2217, allocations: 0 / 0.7375 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.01272/0.2344, allocations: 6.11 MB / 0.7435 GB, free: 4.055 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.490890342742205] Failed to read output from testmodel.py, exit status != 0: 0.24286717921495438 0.5306561369999999 0.328647072 Calling exit ...