Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007953/0.0007954, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000892/0.0008922, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 292.7 MB / 0.5499 GB, free: 14.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 16.98 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003507/0.1951, allocations: 3.592 MB / 0.7908 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1976, allocations: 2.257 MB / 0.793 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.1978, allocations: 8 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009752/0.1987, allocations: 457.9 kB / 0.7935 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1991, allocations: 210.5 kB / 0.7937 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.1992, allocations: 83.92 kB / 0.7938 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006582/0.1999, allocations: 0.7614 MB / 0.7945 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.2002, allocations: 233.5 kB / 0.7947 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.2005, allocations: 235.1 kB / 0.795 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.2008, allocations: 274.8 kB / 0.7952 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.2008, allocations: 36 kB / 0.7953 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.2009, allocations: 36 kB / 0.7953 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.201, allocations: 127.5 kB / 0.7954 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.2011, allocations: 161.3 kB / 0.7956 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005558/0.2017, allocations: 0.7906 MB / 0.7963 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2017, allocations: 0 / 0.7963 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2017, allocations: 0 / 0.7963 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.2017, allocations: 0 / 0.7963 GB, free: 2.652 MB / 0.6075 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.001092/0.2028, allocations: 0.8528 MB / 0.7972 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.2029, allocations: 8.031 kB / 0.7972 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.203, allocations: 75.09 kB / 0.7972 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.2035, allocations: 444.7 kB / 0.7977 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.2035, allocations: 37 kB / 0.7977 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.2036, allocations: 51.94 kB / 0.7978 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.2043, allocations: 430.4 kB / 0.7982 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2043, allocations: 0 / 0.7982 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.2043, allocations: 27.98 kB / 0.7982 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2044, allocations: 12 kB / 0.7982 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.205, allocations: 371.8 kB / 0.7986 GB, free: 280 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.2068, allocations: 1.532 MB / 0.8001 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.2073, allocations: 347.4 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/0.2078, allocations: 368.4 kB / 0.8007 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2078, allocations: 4 kB / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.2078, allocations: 38.56 kB / 0.8008 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.403e-06/0.2078, allocations: 0 / 0.8008 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0008568/0.2087, allocations: 0.5017 MB / 0.8013 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.2087, allocations: 59.34 kB / 0.8013 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.2092, allocations: 485.9 kB / 0.8018 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2093, allocations: 37.7 kB / 0.8018 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.2095, allocations: 276.3 kB / 0.8021 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.994e-05/0.2096, allocations: 145.9 kB / 0.8022 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.2096, allocations: 4 kB / 0.8022 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2097, allocations: 362.8 kB / 0.8026 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2099, allocations: 120.7 kB / 0.8027 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.2102, allocations: 137.2 kB / 0.8028 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.2104, allocations: 142.6 kB / 0.803 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2104, allocations: 0 / 0.803 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000586/0.211, allocations: 411.8 kB / 0.8033 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2111, allocations: 4 kB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2111, allocations: 0 / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2111, allocations: 4 kB / 0.8034 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.2116, allocations: 127.8 kB / 0.8035 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2116, allocations: 4 kB / 0.8035 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.2118, allocations: 55.56 kB / 0.8035 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2118, allocations: 16 kB / 0.8036 GB, free: 11.01 MB / 0.6231 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.000191/0.212, allocations: 194.4 kB / 0.8037 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.2121, allocations: 51.39 kB / 0.8038 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2122, allocations: 65.11 kB / 0.8038 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2122, allocations: 7.984 kB / 0.8039 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2122, allocations: 0 / 0.8039 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2122, allocations: 0 / 0.8039 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.2128, allocations: 0.5751 MB / 0.8044 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2128, allocations: 3.938 kB / 0.8044 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004677/0.2133, allocations: 127.9 kB / 0.8045 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2133, allocations: 3.953 kB / 0.8045 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.2133, allocations: 12 kB / 0.8046 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2133, allocations: 0 / 0.8046 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2133, allocations: 0 / 0.8046 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008914/0.2142, allocations: 0.671 MB / 0.8052 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.2144, allocations: 136.5 kB / 0.8053 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.2144, allocations: 11.95 kB / 0.8054 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2146, allocations: 23.89 kB / 0.8054 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.2147, allocations: 31.95 kB / 0.8054 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2147, allocations: 8 kB / 0.8054 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003542/0.2151, allocations: 347.1 kB / 0.8057 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2151, allocations: 0 / 0.8057 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003527/0.2154, allocations: 139.7 kB / 0.8059 GB, free: 8.531 MB / 0.6231 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.0001279/0.2156, allocations: 115.2 kB / 0.806 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005289/0.2161, allocations: 327.6 kB / 0.8063 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2161, allocations: 0 / 0.8063 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.2164, allocations: 187.5 kB / 0.8065 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.217, allocations: 129.8 kB / 0.8066 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.2188, allocations: 1.441 MB / 0.808 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2192, allocations: 0.8707 MB / 0.8089 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001655/0.2194, allocations: 52.38 kB / 0.8089 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.2195, allocations: 35.44 kB / 0.8089 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2195, allocations: 0 / 0.8089 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of Templates: time 0.008914/0.2284, allocations: 5.368 MB / 0.8142 GB, free: 92 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: