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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 113.4 kB / 16.37 MB, free: 5.535 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.002542/0.002542, allocations: 187.3 kB / 17.3 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.532/1.532, 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.864/1.864, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001468/0.001468, allocations: 79.89 kB / 0.673 GB, free: 5.758 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2896, allocations: 114.5 MB / 0.7849 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002999/0.2927, allocations: 1.434 MB / 0.7863 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5135/0.8062, allocations: 2.926 MB / 0.7891 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.8063, allocations: 0 / 0.7891 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.8064, allocations: 3.781 kB / 0.7891 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.8065, allocations: 18.39 kB / 0.7891 GB, free: 46.43 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.004319/0.8108, allocations: 1.615 MB / 0.7907 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.8109, allocations: 43.25 kB / 0.7907 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.811, allocations: 6.672 kB / 0.7908 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.811, allocations: 17.8 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.834e-05/0.8111, allocations: 13.12 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.8111, allocations: 2.625 kB / 0.7908 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.8132, allocations: 1.501 MB / 0.7923 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.8133, allocations: 9.875 kB / 0.7923 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.8133, allocations: 14.84 kB / 0.7923 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.8147, allocations: 1.094 MB / 0.7933 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8147, allocations: 0 / 0.7933 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.465e-06/0.8147, allocations: 1.781 kB / 0.7933 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.8147, allocations: 0 / 0.7933 GB, free: 46.29 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005368/0.8153, allocations: 0.5212 MB / 0.7939 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.8153, allocations: 16.94 kB / 0.7939 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.8154, allocations: 82.78 kB / 0.7939 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.8155, allocations: 252 kB / 0.7942 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.8155, allocations: 150.9 kB / 0.7943 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.8156, allocations: 151.8 kB / 0.7945 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.151e-05/0.8156, allocations: 110.1 kB / 0.7946 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.8157, allocations: 81.27 kB / 0.7947 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.8157, allocations: 155.9 kB / 0.7948 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.8157, allocations: 151.2 kB / 0.795 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.8158, allocations: 154.2 kB / 0.7951 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.816, allocations: 461 kB / 0.7955 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.876e-05/0.8161, allocations: 172.7 kB / 0.7957 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.8161, allocations: 81.95 kB / 0.7958 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.8161, allocations: 79.22 kB / 0.7959 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.8161, allocations: 116.9 kB / 0.796 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.8162, allocations: 0 / 0.796 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.809e-05/0.8162, allocations: 30.48 kB / 0.796 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.8163, allocations: 126.7 kB / 0.7961 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.8164, allocations: 131.7 kB / 0.7962 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.8164, allocations: 29.64 kB / 0.7963 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.8165, allocations: 90.44 kB / 0.7964 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.8165, allocations: 6.938 kB / 0.7964 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.8165, allocations: 18 kB / 0.7964 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/0.8166, allocations: 317 kB / 0.7967 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.8166, allocations: 3.406 kB / 0.7967 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.8167, allocations: 3.5 kB / 0.7967 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.8167, allocations: 16.59 kB / 0.7967 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8167, allocations: 1.031 kB / 0.7967 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001265/0.8168, allocations: 58.08 kB / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.8169, allocations: 4.297 kB / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.8169, allocations: 3.219 kB / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.8169, allocations: 1.219 kB / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-06/0.8169, allocations: 2.953 kB / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8169, allocations: 4.109 kB / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.8169, allocations: 0 / 0.7968 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.817, allocations: 0 / 0.7968 GB, free: 42.84 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 7.206e-05/0.817, allocations: 186.6 kB / 0.797 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.8171, allocations: 119 kB / 0.7971 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.8171, allocations: 113.8 kB / 0.7972 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.8172, allocations: 179.5 kB / 0.7974 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.172e-05/0.8172, allocations: 181.3 kB / 0.7975 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/0.8173, allocations: 180.6 kB / 0.7977 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.8174, allocations: 412.7 kB / 0.7981 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.8175, allocations: 107 kB / 0.7982 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.8175, allocations: 109 kB / 0.7983 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.911e-05/0.8175, allocations: 186 kB / 0.7985 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.8176, allocations: 180.1 kB / 0.7986 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.455e-05/0.8176, allocations: 178.8 kB / 0.7988 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.282e-05/0.8177, allocations: 185.9 kB / 0.799 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.8177, allocations: 304.2 kB / 0.7993 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.8178, allocations: 190 kB / 0.7995 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.8178, allocations: 185.3 kB / 0.7996 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.8179, allocations: 107.2 kB / 0.7997 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.818, allocations: 186.6 kB / 0.7999 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.818, allocations: 107.1 kB / 0.8 GB, free: 39.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.818, allocations: 109.4 kB / 0.8001 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.818, allocations: 0 / 0.8001 GB, free: 39.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007292/0.8188, allocations: 273.7 kB / 0.8004 GB, free: 39.27 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001032/0.8198, allocations: 0.5398 MB / 0.8009 GB, free: 39.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.8199, allocations: 41.41 kB / 0.801 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.8199, allocations: 0 / 0.801 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.8199, allocations: 0 / 0.801 GB, free: 38.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.8203, allocations: 465.8 kB / 0.8014 GB, free: 38.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.8207, allocations: 269.1 kB / 0.8017 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.8209, allocations: 0.6812 MB / 0.8023 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.453e-05/0.8209, allocations: 10.91 kB / 0.8023 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of SimCode: time 7.51e-07/0.8209, allocations: 0 / 0.8023 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.01585/0.8368, allocations: 4.713 MB / 0.8069 GB, free: 37.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)