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_TwoUTube.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_TwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.00126/0.00126, 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.001307/0.001307, allocations: 194.2 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.208/1.208, 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.508/1.508, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001298/0.001299, allocations: 74.2 kB / 0.6717 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 114.5 MB / 0.7835 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002094/0.1722, allocations: 1.377 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1746, allocations: 1.826 MB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.901e-05/0.1746, allocations: 3.938 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.615e-05/0.1747, allocations: 7.922 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.1748, allocations: 39.89 kB / 0.7867 GB, free: 10.02 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.002254/0.1771, allocations: 1.138 MB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.1772, allocations: 55.77 kB / 0.7879 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.1772, allocations: 7.938 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.1773, allocations: 19.97 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.1774, allocations: 35.78 kB / 0.7879 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1774, allocations: 4 kB / 0.7879 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.1786, allocations: 0.8501 MB / 0.7888 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.1787, allocations: 63.81 kB / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.1787, allocations: 71.36 kB / 0.7889 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009691/0.1797, allocations: 0.8732 MB / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1797, allocations: 0 / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1797, allocations: 3.938 kB / 0.7898 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1797, allocations: 4 kB / 0.7898 GB, free: 6.902 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006935/0.1804, allocations: 0.5801 MB / 0.7903 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1805, allocations: 8.031 kB / 0.7903 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.1805, allocations: 38.75 kB / 0.7904 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.1806, allocations: 24.66 kB / 0.7904 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1808, allocations: 226.7 kB / 0.7906 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1808, allocations: 4.312 kB / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.1808, allocations: 384 / 0.7906 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1809, allocations: 109.6 kB / 0.7907 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1809, allocations: 0 / 0.7907 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.181, allocations: 7.938 kB / 0.7907 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.181, allocations: 0 / 0.7907 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1811, allocations: 75.97 kB / 0.7908 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.1813, allocations: 281.8 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.716e-05/0.1814, allocations: 118.5 kB / 0.7912 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.1815, allocations: 108.9 kB / 0.7913 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1816, allocations: 3.938 kB / 0.7913 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1816, allocations: 34.56 kB / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 8.81e-07/0.1816, allocations: 0 / 0.7913 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0003708/0.182, allocations: 347.4 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.182, allocations: 51.41 kB / 0.7917 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1822, allocations: 253 kB / 0.7919 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1822, allocations: 25.7 kB / 0.792 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.1823, allocations: 128.7 kB / 0.7921 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/0.1824, allocations: 106.4 kB / 0.7922 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.1824, allocations: 29.73 kB / 0.7922 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1826, allocations: 342.8 kB / 0.7925 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.1827, allocations: 75.97 kB / 0.7926 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.746e-05/0.1827, allocations: 76.77 kB / 0.7927 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1829, allocations: 197 kB / 0.7929 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1829, allocations: 4 kB / 0.7929 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002079/0.1831, allocations: 225.2 kB / 0.7931 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1831, allocations: 8 kB / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1831, allocations: 0 / 0.7931 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1832, allocations: 4.062 kB / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-07/0.1832, allocations: 0 / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1832, allocations: 0 / 0.7931 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1832, allocations: 11.84 kB / 0.7931 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1832, allocations: 0 / 0.7931 GB, free: 3.219 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 0.0001208/0.1834, allocations: 161.8 kB / 0.7933 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1834, allocations: 31.55 kB / 0.7933 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.1836, allocations: 259 kB / 0.7935 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1837, allocations: 4 kB / 0.7936 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1837, allocations: 0 / 0.7936 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1837, allocations: 3.938 kB / 0.7936 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.184, allocations: 277.8 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.184, allocations: 7.922 kB / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.184, allocations: 0 / 0.7938 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.184, allocations: 3.938 kB / 0.7938 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.184, allocations: 4 kB / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.184, allocations: 0 / 0.7938 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.184, allocations: 8.031 kB / 0.7938 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1843, allocations: 256.6 kB / 0.7941 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1843, allocations: 96.77 kB / 0.7942 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1844, allocations: 4 kB / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.1844, allocations: 0 / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-06/0.1844, allocations: 0 / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1844, allocations: 0 / 0.7942 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00015/0.1846, allocations: 196.5 kB / 0.7944 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1846, allocations: 0 / 0.7944 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004712/0.185, allocations: 207.9 kB / 0.7946 GB, free: 1.625 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.001036/0.1861, allocations: 1.037 MB / 0.7956 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.1864, allocations: 265.6 kB / 0.7958 GB, free: 300 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1864, allocations: 4.062 kB / 0.7958 GB, free: 296 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1866, allocations: 181.6 kB / 0.796 GB, free: 108 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1868, allocations: 16.48 kB / 0.796 GB, free: 92 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.1892, allocations: 2.551 MB / 0.7985 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1895, allocations: 0.771 MB / 0.7993 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1895, allocations: 4 kB / 0.7993 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.791e-05/0.1896, allocations: 55.42 kB / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.1896, allocations: 0 / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/0.3259, allocations: 7.644 MB / 0.8068 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.239/8.565, allocations: 20.58 kB / 0.8068 GB, free: 5.152 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)