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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.001114/0.001114, 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.001154/0.001154, allocations: 194.7 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.321/1.321, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.662/1.662, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001388/0.001388, allocations: 68.25 kB / 0.6717 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1729, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002218/0.1751, allocations: 1.392 MB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.1777, allocations: 1.811 MB / 0.7867 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.1777, allocations: 4 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.234e-05/0.1778, allocations: 11.92 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.178, allocations: 31.83 kB / 0.7867 GB, free: 10.1 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'. Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1804, allocations: 1.147 MB / 0.7878 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.082e-05/0.1804, allocations: 43.84 kB / 0.7879 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1805, allocations: 7.984 kB / 0.7879 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/0.1805, allocations: 19.88 kB / 0.7879 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.1806, allocations: 27.84 kB / 0.7879 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.1806, allocations: 4 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.1816, allocations: 0.8539 MB / 0.7887 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.1817, allocations: 27.95 kB / 0.7888 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1818, allocations: 27.75 kB / 0.7888 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008379/0.1826, allocations: 0.7955 MB / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1826, allocations: 0 / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1826, allocations: 0 / 0.7896 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1826, allocations: 3.984 kB / 0.7896 GB, free: 7.156 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004782/0.1831, allocations: 482.8 kB / 0.79 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1832, allocations: 8.031 kB / 0.7901 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.1832, allocations: 38.75 kB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.1832, allocations: 4.844 kB / 0.7901 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1834, allocations: 187.1 kB / 0.7903 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.1834, allocations: 4.125 kB / 0.7903 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.1834, allocations: 4 kB / 0.7903 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.1835, allocations: 57.69 kB / 0.7903 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1835, allocations: 0 / 0.7903 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.1835, allocations: 0 / 0.7903 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1835, allocations: 3.984 kB / 0.7903 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.1836, allocations: 27.94 kB / 0.7904 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.1837, allocations: 189.6 kB / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.1838, allocations: 50.5 kB / 0.7906 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.1838, allocations: 32.88 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1839, allocations: 0 / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.1839, allocations: 34.56 kB / 0.7907 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.1839, allocations: 0 / 0.7907 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0001787/0.1841, allocations: 125.6 kB / 0.7908 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.1841, allocations: 59.44 kB / 0.7908 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1842, allocations: 153.8 kB / 0.791 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1842, allocations: 25.7 kB / 0.791 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.1843, allocations: 96.12 kB / 0.7911 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1843, allocations: 31.55 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.1844, allocations: 13.72 kB / 0.7911 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.1845, allocations: 330.8 kB / 0.7915 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.1845, allocations: 23.92 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.1845, allocations: 31.98 kB / 0.7915 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.1846, allocations: 60.78 kB / 0.7916 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1846, allocations: 0 / 0.7916 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.754e-05/0.1847, allocations: 93.58 kB / 0.7917 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1847, allocations: 4 kB / 0.7917 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1847, allocations: 4 kB / 0.7917 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1847, allocations: 0 / 0.7917 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1848, allocations: 0 / 0.7917 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1848, allocations: 0 / 0.7917 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.1848, allocations: 4.047 kB / 0.7917 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1848, allocations: 8 kB / 0.7917 GB, free: 4.777 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 6.908e-05/0.1849, allocations: 121.8 kB / 0.7918 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.1849, allocations: 11.81 kB / 0.7918 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.185, allocations: 110.6 kB / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1851, allocations: 0 / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1851, allocations: 0 / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1851, allocations: 0 / 0.7919 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.1852, allocations: 201.5 kB / 0.7921 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1852, allocations: 4.031 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1852, allocations: 0 / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1852, allocations: 0 / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.1852, allocations: 4 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1852, allocations: 0 / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1852, allocations: 0 / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.1853, allocations: 120.9 kB / 0.7922 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.1854, allocations: 88.92 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1854, allocations: 4.031 kB / 0.7923 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.1854, allocations: 4 kB / 0.7923 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.1855, allocations: 7.922 kB / 0.7923 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1855, allocations: 4 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.1855, allocations: 119.2 kB / 0.7924 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1855, allocations: 0 / 0.7924 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000449/0.186, allocations: 203.8 kB / 0.7926 GB, free: 3.688 MB / 0.6075 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 (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 Backend phase and start with SimCode phase: time 0.0008498/0.1869, allocations: 0.8816 MB / 0.7935 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.187, allocations: 93.67 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.187, allocations: 3.938 kB / 0.7936 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.1871, allocations: 69.69 kB / 0.7937 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1873, allocations: 19.86 kB / 0.7937 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.1885, allocations: 1.595 MB / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1887, allocations: 0.7002 MB / 0.7959 GB, free: 180 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.728e-05/0.1888, allocations: 4 kB / 0.7959 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.1888, allocations: 19.44 kB / 0.7959 GB, free: 156 kB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1888, allocations: 0 / 0.7959 GB, free: 156 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.183/1.372, allocations: 5.938 MB / 0.8017 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/11.43, allocations: 18.08 kB / 0.8018 GB, free: 10.4 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)