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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 114.7 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001342, allocations: 188.9 kB / 17.31 MB, free: 5.184 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.509/1.509, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001391/0.001391, allocations: 67.91 kB / 0.673 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2642, allocations: 114.6 MB / 0.7848 GB, free: 3.113 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002727/0.267, allocations: 1.398 MB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4776/0.7446, allocations: 1.817 MB / 0.788 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.211e-05/0.7448, allocations: 2.906 kB / 0.788 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.7449, allocations: 7.969 kB / 0.788 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.7452, allocations: 38.58 kB / 0.788 GB, free: 46.48 MB / 0.6544 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.002769/0.748, allocations: 1.127 MB / 0.7891 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.7481, allocations: 51.69 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.7481, allocations: 3.766 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/0.7482, allocations: 26.77 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.7483, allocations: 32.62 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.7483, allocations: 0.6562 kB / 0.7892 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.7494, allocations: 0.8909 MB / 0.7901 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.7495, allocations: 66.38 kB / 0.7902 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.7496, allocations: 69.64 kB / 0.7902 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008918/0.7505, allocations: 0.8799 MB / 0.7911 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7505, allocations: 0.75 kB / 0.7911 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7505, allocations: 2.969 kB / 0.7911 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.7505, allocations: 0 / 0.7911 GB, free: 46.33 MB / 0.6544 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.0005557/0.7511, allocations: 0.5769 MB / 0.7917 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7511, allocations: 13.73 kB / 0.7917 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.7512, allocations: 22.22 kB / 0.7917 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.7514, allocations: 224.9 kB / 0.7919 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.7514, allocations: 384 / 0.7919 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7514, allocations: 2.906 kB / 0.7919 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.7515, allocations: 106.7 kB / 0.792 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.7516, allocations: 5.188 kB / 0.792 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.7516, allocations: 1.375 kB / 0.792 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7516, allocations: 3.922 kB / 0.792 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.7517, allocations: 81.11 kB / 0.7921 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.7519, allocations: 273 kB / 0.7924 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.752, allocations: 122.1 kB / 0.7925 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.7521, allocations: 109.8 kB / 0.7926 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.7521, allocations: 0 / 0.7926 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.7521, allocations: 37.56 kB / 0.7926 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.7521, allocations: 0 / 0.7926 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32): time 0.0003342/0.7525, allocations: 341.3 kB / 0.793 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.7525, allocations: 51.41 kB / 0.793 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.7527, allocations: 261.6 kB / 0.7933 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-06/0.7527, allocations: 27.64 kB / 0.7933 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.7528, allocations: 125.5 kB / 0.7934 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.7529, allocations: 106.5 kB / 0.7935 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.7529, allocations: 31.14 kB / 0.7935 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.753, allocations: 343.8 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/0.753, allocations: 72.05 kB / 0.7939 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.15e-05/0.7531, allocations: 74.41 kB / 0.794 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.7532, allocations: 202.9 kB / 0.7942 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7533, allocations: 4.406 kB / 0.7942 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001906/0.7535, allocations: 224.3 kB / 0.7944 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7535, allocations: 13.55 kB / 0.7944 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.7535, allocations: 1.312 kB / 0.7944 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.7535, allocations: 3.406 kB / 0.7944 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.7535, allocations: 0 / 0.7944 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7535, allocations: 2.109 kB / 0.7944 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.353e-05/0.7536, allocations: 7.844 kB / 0.7944 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.7536, allocations: 3.375 kB / 0.7944 GB, free: 44.48 MB / 0.6544 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 9.676e-05/0.7537, allocations: 154.6 kB / 0.7946 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.7537, allocations: 29.69 kB / 0.7946 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.754, allocations: 256.7 kB / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.754, allocations: 2.906 kB / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.754, allocations: 3.281 kB / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.754, allocations: 0 / 0.7949 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.7542, allocations: 279.6 kB / 0.7951 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.7542, allocations: 5.922 kB / 0.7951 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.7542, allocations: 3.938 kB / 0.7951 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7542, allocations: 0 / 0.7951 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.7542, allocations: 7.344 kB / 0.7951 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7542, allocations: 1.406 kB / 0.7951 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7542, allocations: 3.5 kB / 0.7952 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.7544, allocations: 251.4 kB / 0.7954 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.7545, allocations: 106.6 kB / 0.7955 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.7545, allocations: 0 / 0.7955 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.685e-05/0.7545, allocations: 7.875 kB / 0.7955 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.7546, allocations: 4.188 kB / 0.7955 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.7546, allocations: 1.25 kB / 0.7955 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001328/0.7547, allocations: 192.4 kB / 0.7957 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7547, allocations: 0 / 0.7957 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005456/0.7553, allocations: 209.3 kB / 0.7959 GB, free: 43.78 MB / 0.6544 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.0007045/0.756, allocations: 344.7 kB / 0.7962 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.7563, allocations: 267.2 kB / 0.7965 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7563, allocations: 5.062 kB / 0.7965 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.7565, allocations: 174.9 kB / 0.7966 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.7567, allocations: 17.27 kB / 0.7967 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.7574, allocations: 0.5269 MB / 0.7972 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7577, allocations: 0.7651 MB / 0.7979 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.7577, allocations: 10.22 kB / 0.7979 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7577, allocations: 0 / 0.7979 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.0108/0.7685, allocations: 4.673 MB / 0.8025 GB, free: 42.24 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)