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.001215/0.001215, allocations: 114.2 kB / 16.37 MB, free: 6.012 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.001159/0.001159, allocations: 192 kB / 17.31 MB, free: 5.609 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.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.85/1.85, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001428/0.001428, allocations: 67.91 kB / 0.673 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2696, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003191/0.2729, allocations: 1.384 MB / 0.7862 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5084/0.7813, allocations: 1.808 MB / 0.788 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.7815, allocations: 3.312 kB / 0.788 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.7816, allocations: 12.41 kB / 0.788 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.7818, allocations: 27.05 kB / 0.788 GB, free: 47.16 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.00299/0.7848, allocations: 1.136 MB / 0.7891 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.7849, allocations: 50.42 kB / 0.7892 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.785, allocations: 6.906 kB / 0.7892 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.7851, allocations: 21.73 kB / 0.7892 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.7852, allocations: 30.28 kB / 0.7892 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.7852, allocations: 0 / 0.7892 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.7863, allocations: 0.8881 MB / 0.7901 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.7864, allocations: 28.02 kB / 0.7901 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.7864, allocations: 24.69 kB / 0.7901 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.7873, allocations: 0.8001 MB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7874, allocations: 2.875 kB / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7874, allocations: 0 / 0.7909 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.7874, allocations: 0 / 0.7909 GB, free: 47.06 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.0004904/0.7879, allocations: 482 kB / 0.7914 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7879, allocations: 12.95 kB / 0.7914 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.788, allocations: 10.09 kB / 0.7914 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.7881, allocations: 182.9 kB / 0.7916 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.7881, allocations: 4.656 kB / 0.7916 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.7881, allocations: 5.562 kB / 0.7916 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.7883, allocations: 57.22 kB / 0.7916 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7883, allocations: 0 / 0.7916 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.7883, allocations: 2 kB / 0.7916 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7883, allocations: 0.5938 kB / 0.7916 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.7883, allocations: 23.7 kB / 0.7917 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.7885, allocations: 189.7 kB / 0.7918 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.421e-05/0.7886, allocations: 49.08 kB / 0.7919 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.7886, allocations: 36.53 kB / 0.7919 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7886, allocations: 2.625 kB / 0.7919 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.7887, allocations: 32.22 kB / 0.792 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.7887, allocations: 0 / 0.792 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0001909/0.7889, allocations: 116.5 kB / 0.7921 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.7889, allocations: 55.97 kB / 0.7921 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.789, allocations: 155.5 kB / 0.7923 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.789, allocations: 25.7 kB / 0.7923 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.7891, allocations: 101.5 kB / 0.7924 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.7891, allocations: 32.17 kB / 0.7924 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.7891, allocations: 17.06 kB / 0.7924 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.7892, allocations: 327.6 kB / 0.7928 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.902e-05/0.7892, allocations: 24.72 kB / 0.7928 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.7893, allocations: 29.91 kB / 0.7928 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.7893, allocations: 63.53 kB / 0.7929 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7893, allocations: 3.594 kB / 0.7929 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.175e-05/0.7894, allocations: 89.78 kB / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.7895, allocations: 7.656 kB / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.7895, allocations: 0 / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.7895, allocations: 4.312 kB / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.7895, allocations: 0 / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7895, allocations: 0 / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.7895, allocations: 7.031 kB / 0.793 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.7896, allocations: 0 / 0.793 GB, free: 45.4 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 6.354e-05/0.7896, allocations: 133.9 kB / 0.7931 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.7897, allocations: 16.45 kB / 0.7931 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.7898, allocations: 103.8 kB / 0.7932 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7898, allocations: 0 / 0.7932 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7898, allocations: 0 / 0.7932 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7898, allocations: 2.906 kB / 0.7932 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.401e-05/0.7899, allocations: 193.4 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.7899, allocations: 3.406 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-06/0.7899, allocations: 3.047 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.7899, allocations: 0 / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.79, allocations: 3.75 kB / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.79, allocations: 0 / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.79, allocations: 0 / 0.7934 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.7901, allocations: 124 kB / 0.7935 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.7901, allocations: 87.42 kB / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.7901, allocations: 0 / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.7901, allocations: 1.781 kB / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.7902, allocations: 3.938 kB / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.7902, allocations: 3.75 kB / 0.7936 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.7902, allocations: 121.6 kB / 0.7937 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7903, allocations: 0 / 0.7937 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004874/0.7907, allocations: 213.9 kB / 0.7939 GB, free: 44.76 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.0006336/0.7914, allocations: 336.2 kB / 0.7943 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.7915, allocations: 95.38 kB / 0.7944 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7915, allocations: 3 kB / 0.7944 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.7916, allocations: 67.17 kB / 0.7944 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.7918, allocations: 10.66 kB / 0.7944 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.7922, allocations: 258.5 kB / 0.7947 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.7924, allocations: 0.7083 MB / 0.7954 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.7924, allocations: 7.438 kB / 0.7954 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.7924, allocations: 0 / 0.7954 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.0077/0.8001, allocations: 3.974 MB / 0.7993 GB, free: 43.38 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)