Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.001542/0.001542, allocations: 108 kB / 15.61 MB, free: 128 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.00179/0.00179, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.331/1.331, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.665/1.665, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001383/0.001383, allocations: 69.53 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1774, allocations: 114.6 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002245/0.1797, allocations: 1.447 MB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.1836, allocations: 2.963 MB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.1837, allocations: 4 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1837, allocations: 7.922 kB / 0.7878 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.1838, allocations: 11.86 kB / 0.7879 GB, free: 8.863 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.1873, allocations: 1.653 MB / 0.7895 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.1874, allocations: 47.62 kB / 0.7895 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.742e-05/0.1874, allocations: 11.98 kB / 0.7895 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.1874, allocations: 15.94 kB / 0.7895 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.402e-05/0.1875, allocations: 11.94 kB / 0.7896 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.1875, allocations: 0 / 0.7896 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.1894, allocations: 1.482 MB / 0.791 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.1894, allocations: 7.938 kB / 0.791 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.1894, allocations: 19.86 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.1907, allocations: 1.115 MB / 0.7921 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1908, allocations: 0 / 0.7921 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1908, allocations: 0 / 0.7921 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1908, allocations: 4 kB / 0.7921 GB, free: 4.512 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005507/0.1913, allocations: 0.5223 MB / 0.7926 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1914, allocations: 8.031 kB / 0.7926 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.1914, allocations: 110 kB / 0.7927 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.1915, allocations: 84.2 kB / 0.7928 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1916, allocations: 254.4 kB / 0.7931 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.1917, allocations: 158.9 kB / 0.7932 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.1918, allocations: 158.9 kB / 0.7934 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.084e-05/0.1918, allocations: 108.9 kB / 0.7935 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.1918, allocations: 75.28 kB / 0.7935 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.1919, allocations: 150.6 kB / 0.7937 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.109e-05/0.1919, allocations: 150.6 kB / 0.7938 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.192, allocations: 154.6 kB / 0.794 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.1923, allocations: 465.9 kB / 0.7944 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.1923, allocations: 173.1 kB / 0.7946 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.1924, allocations: 84.12 kB / 0.7947 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1924, allocations: 83.22 kB / 0.7948 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.1924, allocations: 105.8 kB / 0.7949 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.1925, allocations: 0 / 0.7949 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.502e-05/0.1925, allocations: 33.64 kB / 0.7949 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1926, allocations: 126.7 kB / 0.795 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1927, allocations: 137.7 kB / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1927, allocations: 25.7 kB / 0.7952 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1928, allocations: 100.1 kB / 0.7953 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.1928, allocations: 0 / 0.7953 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.1928, allocations: 13.72 kB / 0.7953 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.1929, allocations: 322.8 kB / 0.7956 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.1929, allocations: 4 kB / 0.7956 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.193, allocations: 4 kB / 0.7956 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.458e-05/0.193, allocations: 12.86 kB / 0.7956 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.193, allocations: 0 / 0.7956 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000115/0.1931, allocations: 61.48 kB / 0.7957 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1931, allocations: 8 kB / 0.7957 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.1932, allocations: 7.984 kB / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1932, allocations: 0 / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1932, allocations: 0 / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1932, allocations: 0 / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.1932, allocations: 0 / 0.7957 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1932, allocations: 4 kB / 0.7957 GB, free: 0.6289 MB / 0.6075 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.633e-05/0.1933, allocations: 185.1 kB / 0.7959 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.407e-05/0.1934, allocations: 116.8 kB / 0.796 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.1934, allocations: 120.5 kB / 0.7961 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-05/0.1935, allocations: 180.3 kB / 0.7963 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-05/0.1936, allocations: 184.2 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.743e-05/0.1936, allocations: 176.3 kB / 0.7966 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1938, allocations: 421.2 kB / 0.797 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/0.1938, allocations: 113 kB / 0.7971 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.1939, allocations: 101 kB / 0.7972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.116e-05/0.1939, allocations: 188.2 kB / 0.7974 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.194, allocations: 176.3 kB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.857e-05/0.194, allocations: 176.3 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.998e-05/0.1941, allocations: 188.2 kB / 0.7979 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1942, allocations: 315.6 kB / 0.7982 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.1943, allocations: 178.1 kB / 0.7984 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.1943, allocations: 184.2 kB / 0.7985 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1944, allocations: 104.9 kB / 0.7986 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.1945, allocations: 180.3 kB / 0.7988 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.1945, allocations: 108.9 kB / 0.7989 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.1946, allocations: 106.2 kB / 0.799 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1946, allocations: 0 / 0.799 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006653/0.1952, allocations: 283.8 kB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00125/0.1965, allocations: 1.197 MB / 0.8005 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.1966, allocations: 45.64 kB / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1966, allocations: 0 / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.1966, allocations: 4.359 kB / 0.8005 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.197, allocations: 471.6 kB / 0.801 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1982, allocations: 1.595 MB / 0.8025 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.1984, allocations: 0.6807 MB / 0.8032 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.19e-05/0.1984, allocations: 0 / 0.8032 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.1985, allocations: 19.44 kB / 0.8032 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1985, allocations: 0 / 0.8032 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9112/1.11, allocations: 7.235 MB / 0.8103 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.49, allocations: 14.05 kB / 0.8103 GB, free: 1.508 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)