Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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: 80.75 kB / 20.82 MB, free: 3.629 MB / 18.57 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.001487/0.001487, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 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 0.89/0.89, allocations: 177.2 MB / 204.7 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.858/1.858, allocations: 389.6 MB / 0.6355 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.9844 kB / 0.7754 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.502e-05, allocations: 6.312 kB / 0.7754 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004188/0.004213, allocations: 4.222 MB / 0.7796 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002975/0.007188, allocations: 2.441 MB / 0.7819 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.007469, allocations: 11.94 kB / 0.782 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.008791, allocations: 0.5503 MB / 0.7825 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.009236, allocations: 256.9 kB / 0.7827 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.009431, allocations: 140.7 kB / 0.7829 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.01003, allocations: 0.8327 MB / 0.7837 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.01056, allocations: 233.5 kB / 0.7839 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004778/0.01104, allocations: 459.8 kB / 0.7843 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.01127, allocations: 247.3 kB / 0.7846 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.398e-05/0.01134, allocations: 77.19 kB / 0.7847 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.693e-05/0.01142, allocations: 72 kB / 0.7847 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.01154, allocations: 179.4 kB / 0.7849 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.01173, allocations: 264.9 kB / 0.7851 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.01219, allocations: 0.506 MB / 0.7856 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01219, allocations: 0 / 0.7856 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01219, allocations: 0 / 0.7856 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.0122, allocations: 0.75 kB / 0.7856 GB, free: 10.75 MB / 0.7448 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.0008177/0.01302, allocations: 0.8615 MB / 0.7865 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.01305, allocations: 9.344 kB / 0.7865 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.01314, allocations: 88.86 kB / 0.7866 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01345, allocations: 293.4 kB / 0.7869 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.01347, allocations: 37.38 kB / 0.7869 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.01352, allocations: 52.31 kB / 0.7869 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.01381, allocations: 289.3 kB / 0.7872 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.01383, allocations: 4.188 kB / 0.7872 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.01385, allocations: 20.38 kB / 0.7872 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.01386, allocations: 15.94 kB / 0.7873 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.01402, allocations: 136.3 kB / 0.7874 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.01497, allocations: 0.8453 MB / 0.7882 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.01514, allocations: 171.2 kB / 0.7884 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.0153, allocations: 161.9 kB / 0.7885 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.01531, allocations: 4 kB / 0.7885 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.01534, allocations: 39.25 kB / 0.7886 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 2.324e-06/0.01534, allocations: 5.5 kB / 0.7886 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0002732/0.01561, allocations: 224.9 kB / 0.7888 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.01564, allocations: 55.41 kB / 0.7888 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01585, allocations: 351.3 kB / 0.7892 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01587, allocations: 32.39 kB / 0.7892 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.01596, allocations: 233.4 kB / 0.7894 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.01603, allocations: 142.7 kB / 0.7896 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.01609, allocations: 62.05 kB / 0.7896 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.232e-05/0.01618, allocations: 366.7 kB / 0.79 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.67e-05/0.01623, allocations: 36.73 kB / 0.79 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.01628, allocations: 37.48 kB / 0.79 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.0164, allocations: 140 kB / 0.7902 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.0164, allocations: 0 / 0.7902 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001763/0.01658, allocations: 181.1 kB / 0.7904 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01659, allocations: 8 kB / 0.7904 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.0166, allocations: 0 / 0.7904 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.01661, allocations: 0 / 0.7904 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.01705, allocations: 212.4 kB / 0.7906 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01705, allocations: 0.9688 kB / 0.7906 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.01714, allocations: 27.78 kB / 0.7906 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.01715, allocations: 8 kB / 0.7906 GB, free: 5.543 MB / 0.7448 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 9.715e-05/0.01724, allocations: 141.5 kB / 0.7907 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.01729, allocations: 35.97 kB / 0.7908 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.01761, allocations: 57.31 kB / 0.7908 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01761, allocations: 11.38 kB / 0.7908 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.01761, allocations: 3.984 kB / 0.7908 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01762, allocations: 0 / 0.7908 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.0179, allocations: 297.3 kB / 0.7911 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0179, allocations: 0 / 0.7911 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.01828, allocations: 201 kB / 0.7913 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.01828, allocations: 0 / 0.7913 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.0183, allocations: 8 kB / 0.7913 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.0183, allocations: 0 / 0.7913 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0183, allocations: 1.5 kB / 0.7913 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.01861, allocations: 364.2 kB / 0.7917 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.01866, allocations: 43.59 kB / 0.7917 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01869, allocations: 15.94 kB / 0.7917 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.01878, allocations: 9.344 kB / 0.7917 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.01882, allocations: 27.94 kB / 0.7918 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01882, allocations: 8 kB / 0.7918 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001066/0.01893, allocations: 157.3 kB / 0.7919 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01893, allocations: 0 / 0.7919 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002304/0.01916, allocations: 156.5 kB / 0.7921 GB, free: 4.004 MB / 0.7448 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.0001097/0.01927, allocations: 93.45 kB / 0.7922 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.01946, allocations: 164.4 kB / 0.7923 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.01946, allocations: 5.031 kB / 0.7923 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.01954, allocations: 92.7 kB / 0.7924 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.01987, allocations: 112.6 kB / 0.7925 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.02107, allocations: 0.9642 MB / 0.7935 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.26e-05/0.02114, allocations: 122.7 kB / 0.7936 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.02126, allocations: 43.23 kB / 0.7936 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.02147, allocations: 169.2 kB / 0.7938 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.02148, allocations: 0 / 0.7938 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.00908/0.03056, allocations: 6.197 MB / 0.7998 GB, free: 12.33 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.979923187755048]