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.0008754/0.0008754, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00175/0.00175, allocations: 161 kB / 24.17 MB, free: 324 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.9586/0.9586, allocations: 177.1 MB / 204.6 MB, free: 5.035 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.885/1.885, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.623e-06/1.623e-06, allocations: 0 / 0.7753 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.7e-05, allocations: 3.312 kB / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005387/0.005404, allocations: 4.229 MB / 0.7794 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.008072, allocations: 2.444 MB / 0.7818 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.008224, allocations: 15.94 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.009137, allocations: 0.5423 MB / 0.7823 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.009383, allocations: 257.2 kB / 0.7826 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.009515, allocations: 144.4 kB / 0.7827 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004809/0.009996, allocations: 0.8366 MB / 0.7835 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.01023, allocations: 221.6 kB / 0.7837 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003395/0.01057, allocations: 468.1 kB / 0.7842 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.01079, allocations: 255.2 kB / 0.7844 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.568e-05/0.01085, allocations: 72 kB / 0.7845 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.249e-05/0.01091, allocations: 76.88 kB / 0.7846 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.01101, allocations: 175.4 kB / 0.7847 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.01116, allocations: 263.4 kB / 0.785 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.0115, allocations: 0.4989 MB / 0.7855 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.0115, allocations: 4.672 kB / 0.7855 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.0115, allocations: 3.938 kB / 0.7855 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.01151, allocations: 1.75 kB / 0.7855 GB, free: 10.86 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.0007122/0.01222, allocations: 0.8527 MB / 0.7863 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.01225, allocations: 9.531 kB / 0.7863 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.01232, allocations: 88.86 kB / 0.7864 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.01283, allocations: 292.6 kB / 0.7867 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.01285, allocations: 38.12 kB / 0.7867 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.01289, allocations: 52.33 kB / 0.7868 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.01316, allocations: 288.6 kB / 0.7871 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.01317, allocations: 4.172 kB / 0.7871 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.01319, allocations: 22.25 kB / 0.7871 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.0132, allocations: 15.94 kB / 0.7871 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01336, allocations: 134.9 kB / 0.7872 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008672/0.01422, allocations: 0.853 MB / 0.7881 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.01438, allocations: 163.3 kB / 0.7882 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.01453, allocations: 162.2 kB / 0.7884 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.01455, allocations: 8 kB / 0.7884 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01457, allocations: 43.17 kB / 0.7884 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 1.292e-06/0.01457, allocations: 1.438 kB / 0.7884 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0002514/0.01482, allocations: 220.9 kB / 0.7886 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.01485, allocations: 55.41 kB / 0.7887 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.01504, allocations: 351.3 kB / 0.789 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01505, allocations: 30.8 kB / 0.789 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.01513, allocations: 233.4 kB / 0.7893 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.01521, allocations: 151.5 kB / 0.7894 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.01527, allocations: 66.05 kB / 0.7895 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.01536, allocations: 358.7 kB / 0.7898 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.01542, allocations: 37.52 kB / 0.7898 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.479e-05/0.01549, allocations: 41.42 kB / 0.7899 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01564, allocations: 136 kB / 0.79 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01564, allocations: 0 / 0.79 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001733/0.01581, allocations: 185.1 kB / 0.7902 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.01582, allocations: 4 kB / 0.7902 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.01582, allocations: 0 / 0.7902 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.01584, allocations: 4 kB / 0.7902 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.01624, allocations: 201.9 kB / 0.7904 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01625, allocations: 4 kB / 0.7904 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.01633, allocations: 23.78 kB / 0.7904 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01634, allocations: 15.98 kB / 0.7904 GB, free: 5.652 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 8.717e-05/0.01643, allocations: 133.6 kB / 0.7906 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.01647, allocations: 35.97 kB / 0.7906 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.007e-05/0.01652, allocations: 57.73 kB / 0.7907 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.01652, allocations: 8 kB / 0.7907 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01652, allocations: 5.312 kB / 0.7907 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01653, allocations: 0 / 0.7907 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.01678, allocations: 293.3 kB / 0.7909 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01678, allocations: 0 / 0.7909 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.01715, allocations: 209 kB / 0.7911 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01715, allocations: 0 / 0.7911 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01716, allocations: 11.94 kB / 0.7912 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01717, allocations: 0 / 0.7912 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01717, allocations: 0 / 0.7912 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.01745, allocations: 368.2 kB / 0.7915 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.0175, allocations: 54.03 kB / 0.7916 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.01753, allocations: 4 kB / 0.7916 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.407e-05/0.01761, allocations: 8 kB / 0.7916 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.01765, allocations: 27.94 kB / 0.7916 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.01766, allocations: 12 kB / 0.7916 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001064/0.01776, allocations: 152.7 kB / 0.7918 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01776, allocations: 0.875 kB / 0.7918 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002051/0.01797, allocations: 151.6 kB / 0.7919 GB, free: 4.121 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 7.024e-05/0.01804, allocations: 93.8 kB / 0.792 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.0182, allocations: 164.4 kB / 0.7921 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.01821, allocations: 4.781 kB / 0.7922 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.01829, allocations: 92.7 kB / 0.7922 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01858, allocations: 116.6 kB / 0.7924 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01961, allocations: 0.9689 MB / 0.7933 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.01968, allocations: 129.8 kB / 0.7934 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.01978, allocations: 47.06 kB / 0.7935 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.01998, allocations: 157.2 kB / 0.7936 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01998, allocations: 0.875 kB / 0.7936 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of Templates: time 0.008063/0.02804, allocations: 6.195 MB / 0.7997 GB, free: 12.44 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 -s gbode -gbm=radauIIA3 -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.747721827123314]