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.0009271/0.0009271, allocations: 84.8 kB / 21.62 MB, free: 2.84 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.001039/0.001039, allocations: 175.9 kB / 25.05 MB, free: 9.148 MB / 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.8961/0.8961, allocations: 177.1 MB / 205.5 MB, free: 5.473 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.813/1.813, allocations: 389.6 MB / 0.6363 GB, free: 12.3 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.363e-06/1.363e-06, allocations: 0 / 0.7762 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.473e-05, allocations: 7.156 kB / 0.7762 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004133/0.004157, allocations: 4.228 MB / 0.7803 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.006996, allocations: 2.449 MB / 0.7827 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.007208, allocations: 8 kB / 0.7827 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.008385, allocations: 0.5511 MB / 0.7833 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.008691, allocations: 255.8 kB / 0.7835 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.008859, allocations: 137.2 kB / 0.7836 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.009426, allocations: 0.8366 MB / 0.7845 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.009703, allocations: 229.5 kB / 0.7847 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.01017, allocations: 467.5 kB / 0.7851 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.01041, allocations: 248.4 kB / 0.7854 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.01047, allocations: 76 kB / 0.7854 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.01054, allocations: 72 kB / 0.7855 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.01066, allocations: 176.4 kB / 0.7857 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0004256/0.01109, allocations: 271.4 kB / 0.7859 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.01149, allocations: 0.4982 MB / 0.7864 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01149, allocations: 4.625 kB / 0.7864 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.203e-06/0.0115, allocations: 3.938 kB / 0.7864 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.0115, allocations: 0.5312 kB / 0.7864 GB, free: 10.79 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.0007824/0.01229, allocations: 0.8468 MB / 0.7872 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.01232, allocations: 12.62 kB / 0.7873 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.0124, allocations: 88.86 kB / 0.7873 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.0127, allocations: 296.7 kB / 0.7876 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.01272, allocations: 38.53 kB / 0.7877 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.01277, allocations: 48.33 kB / 0.7877 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.01305, allocations: 287.7 kB / 0.788 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.01306, allocations: 1.375 kB / 0.788 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01308, allocations: 20.38 kB / 0.788 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.01309, allocations: 15.94 kB / 0.788 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.01325, allocations: 140.2 kB / 0.7882 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/0.01418, allocations: 0.8526 MB / 0.789 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.01434, allocations: 161 kB / 0.7891 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.01449, allocations: 156.9 kB / 0.7893 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.01451, allocations: 11.98 kB / 0.7893 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.01453, allocations: 39.25 kB / 0.7893 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 2.966e-06/0.01454, allocations: 7.234 kB / 0.7893 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0002559/0.01479, allocations: 216.9 kB / 0.7896 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.01482, allocations: 59.41 kB / 0.7896 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.01502, allocations: 347.3 kB / 0.7899 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.01503, allocations: 37.64 kB / 0.79 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.01512, allocations: 233.4 kB / 0.7902 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.01519, allocations: 150.7 kB / 0.7903 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.01525, allocations: 66.05 kB / 0.7904 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.01534, allocations: 366.6 kB / 0.7908 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.01538, allocations: 35.77 kB / 0.7908 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.47e-05/0.01543, allocations: 41.48 kB / 0.7908 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.01555, allocations: 133.4 kB / 0.791 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01555, allocations: 0 / 0.791 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001652/0.01572, allocations: 181.1 kB / 0.7911 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.01573, allocations: 8 kB / 0.7911 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01573, allocations: 0 / 0.7911 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.01574, allocations: 0 / 0.7911 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.01616, allocations: 215.3 kB / 0.7913 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.01617, allocations: 0 / 0.7913 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.691e-05/0.01624, allocations: 27.83 kB / 0.7914 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.01625, allocations: 8.656 kB / 0.7914 GB, free: 5.586 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.356e-05/0.01635, allocations: 133.2 kB / 0.7915 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.01639, allocations: 35.97 kB / 0.7915 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.01644, allocations: 61.45 kB / 0.7916 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01644, allocations: 4 kB / 0.7916 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.01645, allocations: 1 kB / 0.7916 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01645, allocations: 0 / 0.7916 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.01672, allocations: 299.9 kB / 0.7919 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01672, allocations: 0 / 0.7919 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.01708, allocations: 197 kB / 0.7921 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01709, allocations: 4 kB / 0.7921 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.0171, allocations: 4 kB / 0.7921 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.0171, allocations: 4 kB / 0.7921 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0171, allocations: 0 / 0.7921 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.01741, allocations: 372.2 kB / 0.7924 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.01745, allocations: 44.41 kB / 0.7925 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.01748, allocations: 12 kB / 0.7925 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.868e-05/0.01757, allocations: 9.438 kB / 0.7925 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.01761, allocations: 27.94 kB / 0.7925 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.01762, allocations: 12 kB / 0.7925 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001047/0.01772, allocations: 153.2 kB / 0.7927 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01772, allocations: 0 / 0.7927 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004766/0.0182, allocations: 152.7 kB / 0.7928 GB, free: 4.059 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.0001052/0.01831, allocations: 97.89 kB / 0.7929 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.01849, allocations: 160.4 kB / 0.7931 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.01849, allocations: 4 kB / 0.7931 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.01857, allocations: 100.6 kB / 0.7932 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.01889, allocations: 115.7 kB / 0.7933 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.02009, allocations: 0.9636 MB / 0.7942 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.398e-05/0.02017, allocations: 126.5 kB / 0.7943 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.02029, allocations: 43.14 kB / 0.7944 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.02049, allocations: 157.3 kB / 0.7945 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.02049, allocations: 1.281 kB / 0.7945 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.009177/0.02967, allocations: 6.198 MB / 0.8006 GB, free: 12.37 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.699735686182976]