Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 288.4 MB / 303.7 MB, free: 8.074 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009426/0.0009425, allocations: 183.8 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009714/0.0009715, allocations: 90.88 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 12.62 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 115.3 MB / 0.9802 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003005/0.1874, allocations: 3.585 MB / 0.9837 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1897, allocations: 2.261 MB / 0.9859 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.19, allocations: 12 kB / 0.9859 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.191, allocations: 470 kB / 0.9863 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1914, allocations: 214.5 kB / 0.9865 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.1915, allocations: 87.91 kB / 0.9866 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000502/0.192, allocations: 0.7679 MB / 0.9874 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.1924, allocations: 280.1 kB / 0.9876 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.1926, allocations: 231 kB / 0.9879 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1928, allocations: 278.8 kB / 0.9881 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.1928, allocations: 36 kB / 0.9882 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.684e-05/0.1929, allocations: 36 kB / 0.9882 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.193, allocations: 123.5 kB / 0.9883 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.1932, allocations: 348.1 kB / 0.9887 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1936, allocations: 0.7945 MB / 0.9894 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1936, allocations: 0 / 0.9894 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1937, allocations: 0 / 0.9894 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.465e-06/0.1937, allocations: 0 / 0.9894 GB, free: 17.8 MB / 0.6198 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.0009424/0.1946, allocations: 0.8451 MB / 0.9903 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1947, allocations: 12.03 kB / 0.9903 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.175e-05/0.1947, allocations: 72.09 kB / 0.9903 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.1952, allocations: 453.7 kB / 0.9908 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.1952, allocations: 33.38 kB / 0.9908 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.1953, allocations: 48.38 kB / 0.9908 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.1959, allocations: 438.7 kB / 0.9913 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1959, allocations: 7.906 kB / 0.9913 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1959, allocations: 20 kB / 0.9913 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1959, allocations: 12 kB / 0.9913 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.1965, allocations: 367.8 kB / 0.9917 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1981, allocations: 1.547 MB / 0.9932 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.1985, allocations: 342.7 kB / 0.9935 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.199, allocations: 356.4 kB / 0.9938 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.199, allocations: 4 kB / 0.9938 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.199, allocations: 42.5 kB / 0.9939 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 1.733e-06/0.199, allocations: 3.938 kB / 0.9939 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.0007951/0.1998, allocations: 0.5026 MB / 0.9944 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.1999, allocations: 59.34 kB / 0.9944 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.2003, allocations: 485.9 kB / 0.9949 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.2003, allocations: 37.7 kB / 0.9949 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.2004, allocations: 280.3 kB / 0.9952 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.2005, allocations: 145.8 kB / 0.9953 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.2005, allocations: 8 kB / 0.9953 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.2006, allocations: 358.8 kB / 0.9957 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.2008, allocations: 125.5 kB / 0.9958 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.201, allocations: 137.2 kB / 0.9959 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.2015, allocations: 298.6 kB / 0.9962 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2015, allocations: 0 / 0.9962 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005299/0.202, allocations: 400.7 kB / 0.9966 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.202, allocations: 4 kB / 0.9966 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.202, allocations: 3.938 kB / 0.9966 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.2021, allocations: 7.922 kB / 0.9966 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.2025, allocations: 131.9 kB / 0.9967 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2025, allocations: 0 / 0.9967 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.2028, allocations: 47.58 kB / 0.9968 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.2028, allocations: 12 kB / 0.9968 GB, free: 10.01 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.203, allocations: 205.8 kB / 0.997 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.203, allocations: 51.38 kB / 0.997 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.552e-05/0.2031, allocations: 65.09 kB / 0.9971 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2031, allocations: 4 kB / 0.9971 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2032, allocations: 0 / 0.9971 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.2032, allocations: 0 / 0.9971 GB, free: 9.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.2036, allocations: 0.5751 MB / 0.9977 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2037, allocations: 0 / 0.9977 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004729/0.2041, allocations: 135.8 kB / 0.9978 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2041, allocations: 0 / 0.9978 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.2042, allocations: 8 kB / 0.9978 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2042, allocations: 0 / 0.9978 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2042, allocations: 0 / 0.9978 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008037/0.205, allocations: 0.6621 MB / 0.9985 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.2051, allocations: 140.4 kB / 0.9986 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.2052, allocations: 12 kB / 0.9986 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.2054, allocations: 27.97 kB / 0.9986 GB, free: 8.039 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.2055, allocations: 23.97 kB / 0.9986 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2055, allocations: 8 kB / 0.9987 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002954/0.2058, allocations: 351.1 kB / 0.999 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.61e-07/0.2058, allocations: 0 / 0.999 GB, free: 7.664 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003512/0.2061, allocations: 151.5 kB / 0.9991 GB, free: 7.516 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.2063, allocations: 119.3 kB / 0.9992 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.2068, allocations: 340 kB / 0.9996 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2068, allocations: 0 / 0.9996 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.2071, allocations: 187.8 kB / 0.9998 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.2078, allocations: 117.8 kB / 0.9999 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.2094, allocations: 1.435 MB / 1.001 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.2096, allocations: 0.8668 MB / 1.002 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.2098, allocations: 52.39 kB / 1.002 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.2099, allocations: 39.44 kB / 1.002 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.2099, allocations: 0 / 1.002 GB, free: 4.309 MB / 0.6198 GB Notification: Performance of Templates: time 0.008555/0.2185, allocations: 5.461 MB / 1.008 GB, free: 14.98 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)