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.001052/0.001052, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.237/1.237, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.549/1.549, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001277/0.001277, allocations: 62.3 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 114.6 MB / 0.7835 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004661/0.1762, allocations: 4.156 MB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1789, allocations: 2.453 MB / 0.79 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/0.1792, allocations: 12 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1804, allocations: 0.5391 MB / 0.7905 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.1808, allocations: 242 kB / 0.7907 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.181, allocations: 139.8 kB / 0.7909 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006185/0.1816, allocations: 0.802 MB / 0.7917 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.182, allocations: 330.5 kB / 0.792 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.1823, allocations: 287 kB / 0.7922 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1826, allocations: 330.6 kB / 0.7926 GB, free: 4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.951e-05/0.1827, allocations: 76 kB / 0.7926 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1828, allocations: 76 kB / 0.7927 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.1829, allocations: 171.4 kB / 0.7929 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.1832, allocations: 390.3 kB / 0.7932 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.1839, allocations: 0.9772 MB / 0.7942 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1839, allocations: 0 / 0.7942 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1839, allocations: 0 / 0.7942 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.1839, allocations: 0 / 0.7942 GB, free: 2.32 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.001214/0.1851, allocations: 0.9618 MB / 0.7951 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1852, allocations: 8.031 kB / 0.7951 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.71e-05/0.1853, allocations: 90.7 kB / 0.7952 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.1854, allocations: 76 kB / 0.7953 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.1859, allocations: 453.7 kB / 0.7957 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1859, allocations: 37.38 kB / 0.7958 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.186, allocations: 48.38 kB / 0.7958 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.1866, allocations: 430.6 kB / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1866, allocations: 0 / 0.7962 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1867, allocations: 23.94 kB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1867, allocations: 12 kB / 0.7963 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000628/0.1873, allocations: 367.8 kB / 0.7966 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1891, allocations: 1.535 MB / 0.7981 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004651/0.1896, allocations: 338.7 kB / 0.7984 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.19, allocations: 328.7 kB / 0.7987 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1901, allocations: 7.938 kB / 0.7988 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1901, allocations: 38.56 kB / 0.7988 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.392e-06/0.1901, allocations: 0 / 0.7988 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0008859/0.191, allocations: 0.4909 MB / 0.7993 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.191, allocations: 59.41 kB / 0.7993 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.1915, allocations: 489.9 kB / 0.7998 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1915, allocations: 29.7 kB / 0.7998 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1917, allocations: 280.3 kB / 0.8001 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1919, allocations: 145.8 kB / 0.8002 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.192, allocations: 62.08 kB / 0.8003 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1921, allocations: 366.7 kB / 0.8006 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.1923, allocations: 124.7 kB / 0.8008 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.1926, allocations: 129.2 kB / 0.8009 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.1931, allocations: 294.2 kB / 0.8012 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1931, allocations: 0 / 0.8012 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005883/0.1937, allocations: 396.4 kB / 0.8015 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1937, allocations: 8 kB / 0.8015 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1937, allocations: 0 / 0.8015 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1937, allocations: 4.766 kB / 0.8015 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.1942, allocations: 127.8 kB / 0.8017 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1942, allocations: 4 kB / 0.8017 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.1944, allocations: 31.67 kB / 0.8017 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1944, allocations: 12 kB / 0.8017 GB, free: 10.35 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.0001965/0.1946, allocations: 194.4 kB / 0.8019 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.1947, allocations: 59.27 kB / 0.802 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.401e-05/0.1948, allocations: 69.03 kB / 0.802 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.1948, allocations: 4 kB / 0.802 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1948, allocations: 0 / 0.802 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1949, allocations: 7.984 kB / 0.802 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.1954, allocations: 0.5596 MB / 0.8026 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1954, allocations: 7.938 kB / 0.8026 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.1959, allocations: 127.8 kB / 0.8027 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1959, allocations: 0 / 0.8027 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.1959, allocations: 12 kB / 0.8027 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1959, allocations: 3.984 kB / 0.8027 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1959, allocations: 0 / 0.8027 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.1968, allocations: 0.6465 MB / 0.8034 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.1969, allocations: 144.3 kB / 0.8035 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.197, allocations: 12 kB / 0.8035 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1972, allocations: 19.92 kB / 0.8035 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.1972, allocations: 23.97 kB / 0.8035 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1972, allocations: 8 kB / 0.8036 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003276/0.1976, allocations: 351.1 kB / 0.8039 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1976, allocations: 0 / 0.8039 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003585/0.1979, allocations: 139.7 kB / 0.804 GB, free: 7.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.001107/0.1991, allocations: 1.212 MB / 0.8052 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006284/0.1997, allocations: 339.5 kB / 0.8055 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1997, allocations: 4 kB / 0.8055 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.2, allocations: 179.8 kB / 0.8057 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.2006, allocations: 124.4 kB / 0.8058 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.2063, allocations: 5.033 MB / 0.8107 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.2066, allocations: 0.8626 MB / 0.8116 GB, free: 12 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.2068, allocations: 56.39 kB / 0.8116 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.207, allocations: 190.3 kB / 0.8118 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of SimCode: time 7.12e-07/0.207, allocations: 0 / 0.8118 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/0.8671, allocations: 11.23 MB / 0.8228 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.781, allocations: 19.45 kB / 0.8228 GB, free: 4.812 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)