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.00142/0.00142, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001817/0.001817, allocations: 166.1 kB / 24.96 MB, free: 8.66 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.9027/0.9027, allocations: 177.1 MB / 205.4 MB, free: 5.488 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.804/1.804, allocations: 389.6 MB / 0.6362 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.212e-06/1.212e-06, allocations: 0 / 0.776 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.832e-05, allocations: 9.172 kB / 0.776 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003918/0.003937, allocations: 4.222 MB / 0.7802 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002897/0.006834, allocations: 2.441 MB / 0.7825 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.007105, allocations: 15.94 kB / 0.7826 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.008341, allocations: 0.5461 MB / 0.7831 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.008729, allocations: 256.7 kB / 0.7833 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.008912, allocations: 135.8 kB / 0.7835 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.009565, allocations: 0.8499 MB / 0.7843 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002749/0.00984, allocations: 221 kB / 0.7845 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.01036, allocations: 467 kB / 0.7849 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.01062, allocations: 251.3 kB / 0.7852 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.01067, allocations: 76.44 kB / 0.7853 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.01074, allocations: 76 kB / 0.7853 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01086, allocations: 180 kB / 0.7855 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.01132, allocations: 265.2 kB / 0.7858 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.01173, allocations: 0.4982 MB / 0.7862 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01173, allocations: 0 / 0.7862 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.01173, allocations: 0 / 0.7862 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.01174, allocations: 0 / 0.7862 GB, free: 10.84 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.0007628/0.0125, allocations: 0.8617 MB / 0.7871 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.01253, allocations: 10.12 kB / 0.7871 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.7e-05/0.01262, allocations: 84.86 kB / 0.7872 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.01292, allocations: 288.8 kB / 0.7875 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.01294, allocations: 37.38 kB / 0.7875 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.01299, allocations: 52.33 kB / 0.7875 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.01327, allocations: 292.3 kB / 0.7878 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01328, allocations: 192 / 0.7878 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.01331, allocations: 21.44 kB / 0.7878 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.01332, allocations: 15.94 kB / 0.7879 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.01347, allocations: 134.9 kB / 0.788 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009082/0.01438, allocations: 0.854 MB / 0.7888 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.01453, allocations: 163.2 kB / 0.789 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.01468, allocations: 161.6 kB / 0.7891 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.01469, allocations: 8 kB / 0.7891 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.01472, allocations: 35.94 kB / 0.7892 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=42): time 2.404e-06/0.01472, allocations: 4.969 kB / 0.7892 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.0002673/0.01498, allocations: 228.9 kB / 0.7894 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.01501, allocations: 59.41 kB / 0.7894 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.01522, allocations: 341 kB / 0.7898 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.01523, allocations: 33.7 kB / 0.7898 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.01532, allocations: 241.4 kB / 0.79 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.0154, allocations: 146.7 kB / 0.7902 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.01546, allocations: 62.05 kB / 0.7902 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.01555, allocations: 359.8 kB / 0.7906 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.01559, allocations: 36.73 kB / 0.7906 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.01563, allocations: 37.48 kB / 0.7906 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.01575, allocations: 135.2 kB / 0.7908 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01575, allocations: 0 / 0.7908 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001698/0.01592, allocations: 197 kB / 0.791 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.01593, allocations: 6.656 kB / 0.791 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01593, allocations: 0 / 0.791 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.01595, allocations: 4.719 kB / 0.791 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/0.01635, allocations: 196.1 kB / 0.7912 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01635, allocations: 5.25 kB / 0.7912 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.583e-05/0.01643, allocations: 23.84 kB / 0.7912 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01644, allocations: 8 kB / 0.7912 GB, free: 5.633 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.174e-05/0.01653, allocations: 133.3 kB / 0.7913 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.01657, allocations: 46.31 kB / 0.7914 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.01663, allocations: 56.81 kB / 0.7914 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01663, allocations: 4 kB / 0.7914 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01664, allocations: 4 kB / 0.7914 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.01664, allocations: 3.984 kB / 0.7914 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.0169, allocations: 297.3 kB / 0.7917 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01691, allocations: 6.75 kB / 0.7917 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.01726, allocations: 191.6 kB / 0.7919 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.01727, allocations: 0 / 0.7919 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.01728, allocations: 12 kB / 0.7919 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01729, allocations: 0.9375 kB / 0.7919 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01729, allocations: 4 kB / 0.7919 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.01758, allocations: 357.1 kB / 0.7923 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.01762, allocations: 51.59 kB / 0.7923 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.01765, allocations: 13.14 kB / 0.7923 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.973e-05/0.01774, allocations: 8 kB / 0.7923 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.01778, allocations: 27.95 kB / 0.7924 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.01779, allocations: 9.625 kB / 0.7924 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001082/0.0179, allocations: 152.7 kB / 0.7925 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.0179, allocations: 0 / 0.7925 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004078/0.01831, allocations: 147.6 kB / 0.7927 GB, free: 4.105 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 9.566e-05/0.0184, allocations: 97.67 kB / 0.7927 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.01858, allocations: 164.3 kB / 0.7929 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.01858, allocations: 4.5 kB / 0.7929 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.01866, allocations: 104.1 kB / 0.793 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01898, allocations: 111.7 kB / 0.7931 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02009, allocations: 0.9643 MB / 0.7941 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.534e-05/0.02016, allocations: 133.8 kB / 0.7942 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001189/0.02028, allocations: 51.16 kB / 0.7942 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.02047, allocations: 153.3 kB / 0.7944 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.02047, allocations: 1 kB / 0.7944 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.008301/0.02878, allocations: 6.192 MB / 0.8004 GB, free: 12.43 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.714137340895832]