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.612/1.612, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.001285/0.001285, allocations: 180.5 kB / 372.9 MB, free: 10.15 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.485/1.485, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0007986/0.0007985, allocations: 96.19 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003767, allocations: 11.72 kB / 0.8682 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1857, allocations: 115.3 MB / 0.9808 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003054/0.1888, allocations: 3.589 MB / 0.9843 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1912, allocations: 2.257 MB / 0.9865 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.1914, allocations: 12 kB / 0.9865 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1925, allocations: 470 kB / 0.9869 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1928, allocations: 214.5 kB / 0.9871 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.193, allocations: 83.92 kB / 0.9872 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.1935, allocations: 0.7712 MB / 0.988 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.1938, allocations: 280.1 kB / 0.9882 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.194, allocations: 231 kB / 0.9885 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1942, allocations: 278.8 kB / 0.9887 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.1943, allocations: 36 kB / 0.9888 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.862e-05/0.1944, allocations: 39.94 kB / 0.9888 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.1945, allocations: 123.5 kB / 0.9889 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1947, allocations: 344.2 kB / 0.9892 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.1951, allocations: 0.7906 MB / 0.99 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1951, allocations: 4 kB / 0.99 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1951, allocations: 0 / 0.99 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.1951, allocations: 0 / 0.99 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.0009869/0.1961, allocations: 0.8451 MB / 0.9908 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1962, allocations: 8.031 kB / 0.9909 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.187e-05/0.1963, allocations: 76.08 kB / 0.9909 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.1967, allocations: 449.7 kB / 0.9914 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1967, allocations: 37.38 kB / 0.9914 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.423e-05/0.1968, allocations: 52.36 kB / 0.9914 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.1974, allocations: 430.7 kB / 0.9919 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1974, allocations: 15.91 kB / 0.9919 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.1974, allocations: 16 kB / 0.9919 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1975, allocations: 12 kB / 0.9919 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005896/0.1981, allocations: 367.8 kB / 0.9922 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1996, allocations: 1.543 MB / 0.9938 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.2001, allocations: 338.7 kB / 0.9941 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.2005, allocations: 366.7 kB / 0.9944 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2005, allocations: 4 kB / 0.9944 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2006, allocations: 46.5 kB / 0.9945 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.2006, allocations: 0 / 0.9945 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.000786/0.2014, allocations: 0.5058 MB / 0.995 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.2014, allocations: 59.34 kB / 0.995 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.2018, allocations: 489.9 kB / 0.9955 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2018, allocations: 33.7 kB / 0.9955 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2019, allocations: 280.3 kB / 0.9958 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.202, allocations: 141.8 kB / 0.9959 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.202, allocations: 8.766 kB / 0.9959 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.2021, allocations: 358.8 kB / 0.9963 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.2023, allocations: 128.7 kB / 0.9964 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.2026, allocations: 133.2 kB / 0.9965 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.203, allocations: 302.5 kB / 0.9968 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.203, allocations: 0 / 0.9968 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005515/0.2036, allocations: 396.8 kB / 0.9972 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2036, allocations: 21.22 kB / 0.9972 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2036, allocations: 3.938 kB / 0.9972 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2036, allocations: 0 / 0.9972 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.2041, allocations: 131.9 kB / 0.9973 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2041, allocations: 0 / 0.9973 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.2043, allocations: 51.56 kB / 0.9974 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.2044, allocations: 12 kB / 0.9974 GB, free: 9.992 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.0001744/0.2046, allocations: 201.8 kB / 0.9976 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.2046, allocations: 51.38 kB / 0.9976 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.946e-05/0.2047, allocations: 61.09 kB / 0.9977 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.2047, allocations: 3.984 kB / 0.9977 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2047, allocations: 4 kB / 0.9977 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.2048, allocations: 132.3 kB / 0.9978 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.2049, allocations: 12 kB / 0.9978 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.2051, allocations: 23.98 kB / 0.9979 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.2052, allocations: 23.97 kB / 0.9979 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009296/0.2061, allocations: 0.5353 MB / 0.9984 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008149/0.2069, allocations: 0.7439 MB / 0.9991 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002298/0.2072, allocations: 167.9 kB / 0.9993 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003249/0.2075, allocations: 347.1 kB / 0.9996 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of Backend: time 7.21e-07/0.2075, allocations: 0 / 0.9996 GB, free: 7.652 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006207/0.2082, allocations: 291.7 kB / 0.9999 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001647/0.2098, allocations: 1.869 MB / 1.002 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of Templates: time 0.009333/0.2192, allocations: 6.165 MB / 1.008 GB, free: 15.39 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)