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.001524/0.001524, 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.001825/0.001825, allocations: 187.8 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.655/1.655, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001426/0.001426, allocations: 72.25 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2223, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002439/0.2248, allocations: 1.373 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.2274, allocations: 1.83 MB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.2274, allocations: 0 / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.81e-05/0.2275, allocations: 7.938 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.2277, allocations: 35.88 kB / 0.7869 GB, free: 9.934 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.002393/0.2301, allocations: 1.16 MB / 0.788 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/0.2302, allocations: 43.8 kB / 0.788 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.2302, allocations: 11.97 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.2303, allocations: 19.92 kB / 0.7881 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.065e-05/0.2304, allocations: 27.91 kB / 0.7881 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2304, allocations: 7.938 kB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.2315, allocations: 0.889 MB / 0.789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.827e-05/0.2315, allocations: 67.83 kB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.2316, allocations: 67.36 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.2325, allocations: 0.8849 MB / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2325, allocations: 0 / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2326, allocations: 0 / 0.79 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2326, allocations: 0 / 0.79 GB, free: 6.77 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.0005995/0.2332, allocations: 0.5761 MB / 0.7905 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2332, allocations: 8.031 kB / 0.7905 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.139e-05/0.2333, allocations: 46.73 kB / 0.7906 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.2333, allocations: 24.66 kB / 0.7906 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2335, allocations: 222.7 kB / 0.7908 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.2335, allocations: 384 / 0.7908 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.2335, allocations: 4.375 kB / 0.7908 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.2337, allocations: 105.6 kB / 0.7909 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.2337, allocations: 0 / 0.7909 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.2337, allocations: 0 / 0.7909 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2337, allocations: 0 / 0.7909 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.766e-05/0.2338, allocations: 75.97 kB / 0.791 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.234, allocations: 277.9 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2341, allocations: 126.4 kB / 0.7914 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.2342, allocations: 108.9 kB / 0.7915 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.2343, allocations: 7.938 kB / 0.7915 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.2343, allocations: 30.56 kB / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=32): time 1.122e-06/0.2343, allocations: 0 / 0.7915 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32): time 0.0003574/0.2347, allocations: 335.4 kB / 0.7918 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2347, allocations: 59.38 kB / 0.7919 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.2349, allocations: 253 kB / 0.7921 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2349, allocations: 25.7 kB / 0.7922 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.235, allocations: 132.7 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.2351, allocations: 102.4 kB / 0.7924 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2351, allocations: 29.7 kB / 0.7924 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2353, allocations: 338.8 kB / 0.7927 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.2354, allocations: 75.97 kB / 0.7928 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.212e-05/0.2354, allocations: 84.7 kB / 0.7929 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.2356, allocations: 205 kB / 0.7931 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2356, allocations: 0 / 0.7931 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002117/0.2358, allocations: 225.2 kB / 0.7933 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2358, allocations: 4 kB / 0.7933 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.2359, allocations: 0 / 0.7933 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2359, allocations: 0 / 0.7933 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.919e-06/0.2359, allocations: 11.98 kB / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2359, allocations: 0 / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.2359, allocations: 11.83 kB / 0.7933 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.236, allocations: 4.062 kB / 0.7933 GB, free: 3.082 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.0001169/0.2361, allocations: 161.8 kB / 0.7935 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.2361, allocations: 27.56 kB / 0.7935 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.2364, allocations: 256.3 kB / 0.7937 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2364, allocations: 0 / 0.7937 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2364, allocations: 0 / 0.7937 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2364, allocations: 0 / 0.7937 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.2366, allocations: 285.8 kB / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.2366, allocations: 0 / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.2366, allocations: 0 / 0.794 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2366, allocations: 4.031 kB / 0.794 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2366, allocations: 7.938 kB / 0.794 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2366, allocations: 3.938 kB / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2366, allocations: 0 / 0.794 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.2369, allocations: 256.6 kB / 0.7943 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.2369, allocations: 100.8 kB / 0.7944 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.237, allocations: 0 / 0.7944 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.237, allocations: 0 / 0.7944 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.237, allocations: 8.016 kB / 0.7944 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.237, allocations: 0 / 0.7944 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001537/0.2372, allocations: 188.5 kB / 0.7946 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2372, allocations: 0 / 0.7946 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005278/0.2377, allocations: 211.9 kB / 0.7948 GB, free: 1.496 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.001106/0.2388, allocations: 1.03 MB / 0.7958 GB, free: 448 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.2391, allocations: 269.6 kB / 0.796 GB, free: 172 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2392, allocations: 3.938 kB / 0.796 GB, free: 168 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.2393, allocations: 177.7 kB / 0.7962 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.2396, allocations: 16.48 kB / 0.7962 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.2419, allocations: 2.569 MB / 0.7987 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.2423, allocations: 0.7671 MB / 0.7995 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.958e-05/0.2423, allocations: 11.91 kB / 0.7995 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.2424, allocations: 55.42 kB / 0.7995 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2424, allocations: 0 / 0.7995 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.2688, allocations: 7.665 MB / 0.807 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/7.956, allocations: 17.83 kB / 0.807 GB, free: 5.004 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)