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.001187/0.001187, allocations: 109.4 kB / 15.69 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.001188/0.001188, allocations: 185.2 kB / 16.62 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.647/1.647, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002579/0.002579, allocations: 67.06 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2318, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002337/0.2342, allocations: 1.377 MB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2368, allocations: 1.822 MB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.2368, allocations: 0 / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.329e-05/0.237, allocations: 15.92 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.2371, allocations: 31.88 kB / 0.7869 GB, free: 9.961 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.002313/0.2394, allocations: 1.156 MB / 0.788 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.2395, allocations: 43.84 kB / 0.788 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.2396, allocations: 7.984 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.849e-05/0.2397, allocations: 27.86 kB / 0.7881 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.2398, allocations: 27.91 kB / 0.7881 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2398, allocations: 3.938 kB / 0.7881 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.2409, allocations: 0.893 MB / 0.789 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.241, allocations: 63.83 kB / 0.789 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.241, allocations: 75.3 kB / 0.7891 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.2419, allocations: 0.8693 MB / 0.7899 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.242, allocations: 0 / 0.7899 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.348e-06/0.242, allocations: 3.984 kB / 0.7899 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.242, allocations: 3.938 kB / 0.79 GB, free: 6.797 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.0006059/0.2426, allocations: 0.58 MB / 0.7905 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2426, allocations: 8.031 kB / 0.7905 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2427, allocations: 46.73 kB / 0.7906 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.2427, allocations: 24.59 kB / 0.7906 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2429, allocations: 230.7 kB / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2429, allocations: 384 / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.2429, allocations: 384 / 0.7908 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.2431, allocations: 105.6 kB / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2431, allocations: 0 / 0.7909 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.2431, allocations: 4 kB / 0.7909 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2431, allocations: 0 / 0.7909 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.2432, allocations: 71.97 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.2434, allocations: 277.9 kB / 0.7913 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.2436, allocations: 130.4 kB / 0.7914 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.2436, allocations: 104.9 kB / 0.7915 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.2437, allocations: 3.938 kB / 0.7915 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2437, allocations: 34.56 kB / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.092e-06/0.2437, allocations: 0 / 0.7915 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0003495/0.2441, allocations: 331.5 kB / 0.7918 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2441, allocations: 55.41 kB / 0.7919 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.2443, allocations: 257 kB / 0.7921 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2443, allocations: 29.64 kB / 0.7922 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.2444, allocations: 132.7 kB / 0.7923 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.271e-05/0.2445, allocations: 102.4 kB / 0.7924 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.2445, allocations: 29.7 kB / 0.7924 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.2447, allocations: 338.8 kB / 0.7927 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.356e-05/0.2447, allocations: 79.97 kB / 0.7928 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.2448, allocations: 76.77 kB / 0.7929 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.245, allocations: 201 kB / 0.7931 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.245, allocations: 0 / 0.7931 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002096/0.2452, allocations: 225.3 kB / 0.7933 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2452, allocations: 4 kB / 0.7933 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2452, allocations: 4 kB / 0.7933 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2453, allocations: 0 / 0.7933 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-06/0.2453, allocations: 3.938 kB / 0.7933 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2453, allocations: 3.984 kB / 0.7933 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.2453, allocations: 15.91 kB / 0.7933 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2453, allocations: 0 / 0.7933 GB, free: 3.109 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.0001056/0.2454, allocations: 153.8 kB / 0.7935 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.2455, allocations: 27.56 kB / 0.7935 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.2457, allocations: 256.3 kB / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2458, allocations: 0 / 0.7937 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2458, allocations: 4 kB / 0.7937 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2458, allocations: 0 / 0.7937 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.246, allocations: 285.8 kB / 0.794 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.246, allocations: 11.97 kB / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.246, allocations: 0 / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.246, allocations: 0 / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.246, allocations: 0 / 0.794 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.246, allocations: 3.938 kB / 0.794 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.246, allocations: 0 / 0.794 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.2463, allocations: 260.6 kB / 0.7943 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.2463, allocations: 100.8 kB / 0.7944 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2464, allocations: 8.016 kB / 0.7944 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.426e-05/0.2464, allocations: 0 / 0.7944 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.2464, allocations: 4 kB / 0.7944 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.2464, allocations: 3.984 kB / 0.7944 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001512/0.2466, allocations: 192.5 kB / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2466, allocations: 0 / 0.7946 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005049/0.2471, allocations: 207.9 kB / 0.7948 GB, free: 1.516 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.001046/0.2482, allocations: 1.03 MB / 0.7958 GB, free: 468 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.2484, allocations: 265.6 kB / 0.796 GB, free: 196 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2485, allocations: 3.938 kB / 0.796 GB, free: 192 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.2486, allocations: 177.6 kB / 0.7962 GB, free: 8 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.2489, allocations: 19.36 kB / 0.7962 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.2512, allocations: 2.575 MB / 0.7987 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.2515, allocations: 0.771 MB / 0.7995 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.2516, allocations: 3.906 kB / 0.7995 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.2516, allocations: 55.42 kB / 0.7995 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2516, allocations: 0 / 0.7995 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.2756, allocations: 7.647 MB / 0.807 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.216, allocations: 18.58 kB / 0.807 GB, free: 5.043 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)