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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 102.9 kB / 16.29 MB, free: 6.43 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.001141/0.001142, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.862/1.862, allocations: 292.3 MB / 0.5495 GB, free: 17.64 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.001466/0.001466, allocations: 63.91 kB / 0.6723 GB, free: 6.441 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2625, allocations: 114.6 MB / 0.7841 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002612/0.2651, allocations: 1.38 MB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.2679, allocations: 1.825 MB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.268, allocations: 0 / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.141e-05/0.2681, allocations: 11.98 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.2683, allocations: 27.83 kB / 0.7873 GB, free: 0.5078 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.4567/0.725, allocations: 1.126 MB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.7251, allocations: 48.38 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.189e-05/0.7251, allocations: 0.8125 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.7252, allocations: 28.22 kB / 0.7885 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.7253, allocations: 21.23 kB / 0.7885 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.7253, allocations: 0 / 0.7885 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.7263, allocations: 0.8919 MB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.7264, allocations: 28.06 kB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.7264, allocations: 23.59 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.7272, allocations: 0.8013 MB / 0.7902 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7272, allocations: 1.719 kB / 0.7902 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7272, allocations: 0 / 0.7902 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.7272, allocations: 2.5 kB / 0.7902 GB, free: 45.92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004201/0.7276, allocations: 476.1 kB / 0.7907 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.7277, allocations: 17.83 kB / 0.7907 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.7277, allocations: 8.219 kB / 0.7907 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.7279, allocations: 187.6 kB / 0.7909 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-06/0.7279, allocations: 0.5625 kB / 0.7909 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.7279, allocations: 11.25 kB / 0.7909 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.782e-05/0.728, allocations: 54.7 kB / 0.7909 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.728, allocations: 0 / 0.7909 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.728, allocations: 0 / 0.7909 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.728, allocations: 6.016 kB / 0.7909 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.728, allocations: 21.38 kB / 0.7909 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.7282, allocations: 186.7 kB / 0.7911 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.7282, allocations: 46.69 kB / 0.7912 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.7283, allocations: 41.66 kB / 0.7912 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.7283, allocations: 3.125 kB / 0.7912 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.125e-05/0.7283, allocations: 35.12 kB / 0.7912 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.7283, allocations: 1.844 kB / 0.7912 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0001697/0.7285, allocations: 127.8 kB / 0.7914 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.7285, allocations: 51.41 kB / 0.7914 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.7286, allocations: 151.1 kB / 0.7916 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.7286, allocations: 26.98 kB / 0.7916 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.7287, allocations: 100.5 kB / 0.7917 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.7287, allocations: 25.42 kB / 0.7917 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.7287, allocations: 17.41 kB / 0.7917 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.7288, allocations: 329.1 kB / 0.792 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.7288, allocations: 24.92 kB / 0.7921 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.7289, allocations: 28.55 kB / 0.7921 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.7289, allocations: 63.86 kB / 0.7921 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7289, allocations: 0 / 0.7921 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.213e-05/0.729, allocations: 96.55 kB / 0.7922 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.729, allocations: 3.469 kB / 0.7922 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7291, allocations: 5.031 kB / 0.7922 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.7291, allocations: 0.5312 kB / 0.7922 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.7291, allocations: 0 / 0.7922 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.7291, allocations: 2.344 kB / 0.7923 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.7291, allocations: 4.219 kB / 0.7923 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.7291, allocations: 0 / 0.7923 GB, free: 44.25 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 5.438e-05/0.7292, allocations: 132.9 kB / 0.7924 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.7292, allocations: 11.22 kB / 0.7924 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.7293, allocations: 107.7 kB / 0.7925 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7293, allocations: 2.312 kB / 0.7925 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7294, allocations: 0 / 0.7925 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.7294, allocations: 0 / 0.7925 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.991e-05/0.7294, allocations: 196.5 kB / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7295, allocations: 3.234 kB / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.7295, allocations: 1.812 kB / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.7295, allocations: 3.469 kB / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.7295, allocations: 0 / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.7295, allocations: 0 / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7295, allocations: 0 / 0.7927 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.72e-05/0.7296, allocations: 125.8 kB / 0.7928 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.7296, allocations: 89.98 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.7296, allocations: 0.8438 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.086e-05/0.7297, allocations: 0 / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.7297, allocations: 3.438 kB / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.7297, allocations: 0 / 0.7929 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.7297, allocations: 117.5 kB / 0.793 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7297, allocations: 0 / 0.793 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004059/0.7302, allocations: 209.6 kB / 0.7932 GB, free: 43.61 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.0005747/0.7307, allocations: 343.5 kB / 0.7935 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.7309, allocations: 95.89 kB / 0.7936 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7309, allocations: 0 / 0.7936 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.233e-05/0.7309, allocations: 68.52 kB / 0.7937 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.7311, allocations: 19.78 kB / 0.7937 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.7314, allocations: 221.6 kB / 0.7939 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.7315, allocations: 0.7032 MB / 0.7946 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.638e-05/0.7316, allocations: 3.5 kB / 0.7946 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.157e-05/0.7316, allocations: 7.438 kB / 0.7946 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.7316, allocations: 0 / 0.7946 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.007383/0.739, allocations: 4.307 MB / 0.7988 GB, free: 42.31 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)