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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.000868, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005196/0.005196, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.515/1.515, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004682/0.0004683, allocations: 13.34 kB / 0.6745 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1751, allocations: 116.3 MB / 0.788 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003616/0.1788, allocations: 3.781 MB / 0.7917 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.1817, allocations: 2.372 MB / 0.794 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.1821, allocations: 16 kB / 0.7941 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.1834, allocations: 0.5018 MB / 0.7946 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005249/0.1839, allocations: 222.4 kB / 0.7948 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.1841, allocations: 111.9 kB / 0.7949 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007806/0.1849, allocations: 0.809 MB / 0.7957 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003571/0.1853, allocations: 272.2 kB / 0.7959 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1856, allocations: 238.9 kB / 0.7961 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.1859, allocations: 286.6 kB / 0.7964 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.186, allocations: 36 kB / 0.7965 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.947e-05/0.1861, allocations: 36 kB / 0.7965 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1862, allocations: 135.4 kB / 0.7966 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.1865, allocations: 360 kB / 0.797 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006412/0.1871, allocations: 0.934 MB / 0.7979 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1871, allocations: 0 / 0.7979 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1871, allocations: 0 / 0.7979 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.956e-05/0.1872, allocations: 4 kB / 0.7979 GB, free: 1.297 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.001143/0.1883, allocations: 0.849 MB / 0.7987 GB, free: 408 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1884, allocations: 8.031 kB / 0.7987 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.317e-05/0.1885, allocations: 90.7 kB / 0.7988 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1886, allocations: 72.09 kB / 0.7989 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.1891, allocations: 453.7 kB / 0.7993 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1891, allocations: 41.31 kB / 0.7993 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.1892, allocations: 56.28 kB / 0.7994 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006906/0.1899, allocations: 438.6 kB / 0.7998 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1899, allocations: 0 / 0.7998 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.1899, allocations: 20 kB / 0.7998 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1899, allocations: 12 kB / 0.7998 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.1906, allocations: 379.8 kB / 0.8002 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.1923, allocations: 1.528 MB / 0.8017 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.1928, allocations: 354.7 kB / 0.802 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.1932, allocations: 320.8 kB / 0.8023 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1933, allocations: 7.938 kB / 0.8023 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1933, allocations: 42.5 kB / 0.8024 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.292e-06/0.1933, allocations: 0 / 0.8024 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0008621/0.1942, allocations: 0.5094 MB / 0.8029 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1942, allocations: 59.39 kB / 0.8029 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.1947, allocations: 489.9 kB / 0.8034 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1947, allocations: 33.7 kB / 0.8034 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1949, allocations: 272.4 kB / 0.8037 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.195, allocations: 149.8 kB / 0.8038 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.195, allocations: 33.7 kB / 0.8039 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1951, allocations: 358.8 kB / 0.8042 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.1954, allocations: 128.7 kB / 0.8043 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.1956, allocations: 141.1 kB / 0.8045 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.1961, allocations: 302.6 kB / 0.8048 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1961, allocations: 7.984 kB / 0.8048 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005809/0.1967, allocations: 396.6 kB / 0.8052 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1967, allocations: 4 kB / 0.8052 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1967, allocations: 4 kB / 0.8052 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1967, allocations: 0 / 0.8052 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.1972, allocations: 132.6 kB / 0.8053 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1972, allocations: 0 / 0.8053 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.1974, allocations: 51.58 kB / 0.8053 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1975, allocations: 16 kB / 0.8054 GB, free: 9.375 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.1976, allocations: 197.7 kB / 0.8055 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.1977, allocations: 51.38 kB / 0.8056 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1978, allocations: 61.09 kB / 0.8056 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1978, allocations: 7.938 kB / 0.8057 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1978, allocations: 4 kB / 0.8057 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1978, allocations: 0 / 0.8057 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.1984, allocations: 0.5673 MB / 0.8062 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1984, allocations: 3.938 kB / 0.8062 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.1989, allocations: 127.9 kB / 0.8063 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1989, allocations: 7.938 kB / 0.8063 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1989, allocations: 11.98 kB / 0.8064 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1989, allocations: 4 kB / 0.8064 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1989, allocations: 0 / 0.8064 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.1998, allocations: 0.6633 MB / 0.807 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1999, allocations: 144.4 kB / 0.8071 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.2, allocations: 4 kB / 0.8071 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.2002, allocations: 35.83 kB / 0.8072 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.2003, allocations: 19.97 kB / 0.8072 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.2003, allocations: 12.09 kB / 0.8072 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003328/0.2006, allocations: 351.1 kB / 0.8075 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2006, allocations: 0 / 0.8075 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003383/0.201, allocations: 139.7 kB / 0.8077 GB, free: 6.891 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.2021, allocations: 1.239 MB / 0.8089 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.2026, allocations: 327.5 kB / 0.8092 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2026, allocations: 0 / 0.8092 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.2029, allocations: 188.2 kB / 0.8094 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.2035, allocations: 128.2 kB / 0.8095 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.2095, allocations: 5.345 MB / 0.8147 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2098, allocations: 0.8703 MB / 0.8156 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.21, allocations: 48.41 kB / 0.8156 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.2102, allocations: 191.4 kB / 0.8158 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.2102, allocations: 0 / 0.8158 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2974/0.5077, allocations: 10.63 MB / 0.8262 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002637/0.508, allocations: 273.3 kB / 0.8264 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.431, allocations: 0 / 0.8264 GB, free: 3.773 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)