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.001148/0.001148, allocations: 104.9 kB / 16.36 MB, free: 6 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.001067/0.001067, allocations: 196.3 kB / 17.3 MB, free: 5.602 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.369/1.369, 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.748/1.748, allocations: 292.3 MB / 0.5496 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.001705/0.001705, allocations: 67.91 kB / 0.673 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2463, allocations: 114.6 MB / 0.7848 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002726/0.2491, allocations: 1.434 MB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4108/0.6599, allocations: 2.92 MB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.66, allocations: 0.5625 kB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.6601, allocations: 4.219 kB / 0.7891 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.6602, allocations: 15.59 kB / 0.7891 GB, free: 46.55 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.004029/0.6642, allocations: 1.622 MB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.6643, allocations: 38.31 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.6644, allocations: 8.406 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.6644, allocations: 14.62 kB / 0.7908 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.6645, allocations: 16.62 kB / 0.7908 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.6645, allocations: 2.625 kB / 0.7908 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.6664, allocations: 1.501 MB / 0.7922 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.6664, allocations: 11.03 kB / 0.7923 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.6664, allocations: 22.59 kB / 0.7923 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.6676, allocations: 1.089 MB / 0.7933 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.6676, allocations: 3.188 kB / 0.7933 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6676, allocations: 0 / 0.7933 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.6676, allocations: 0 / 0.7933 GB, free: 46.39 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.0004392/0.6681, allocations: 0.5166 MB / 0.7938 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6681, allocations: 15.05 kB / 0.7939 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.6682, allocations: 79.72 kB / 0.7939 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.6683, allocations: 256 kB / 0.7942 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.6683, allocations: 152.6 kB / 0.7943 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.6683, allocations: 150.9 kB / 0.7945 GB, free: 45.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.055e-05/0.6684, allocations: 107.3 kB / 0.7946 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.6684, allocations: 79.84 kB / 0.7946 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.6684, allocations: 154 kB / 0.7948 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.6685, allocations: 154.8 kB / 0.7949 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.6685, allocations: 151.3 kB / 0.7951 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.6687, allocations: 462.7 kB / 0.7955 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.6687, allocations: 169.8 kB / 0.7957 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.6688, allocations: 81.39 kB / 0.7958 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.6688, allocations: 78.38 kB / 0.7958 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.6688, allocations: 120.1 kB / 0.796 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.6688, allocations: 0 / 0.796 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.594e-05/0.6689, allocations: 35.08 kB / 0.796 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.6689, allocations: 126.7 kB / 0.7961 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.669, allocations: 131.4 kB / 0.7962 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/0.669, allocations: 25.7 kB / 0.7963 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.6691, allocations: 95.81 kB / 0.7964 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.6691, allocations: 3.984 kB / 0.7964 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.6691, allocations: 16.59 kB / 0.7964 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.6692, allocations: 321.2 kB / 0.7967 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.002e-05/0.6692, allocations: 0 / 0.7967 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.6692, allocations: 3.469 kB / 0.7967 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.6693, allocations: 21.72 kB / 0.7967 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6693, allocations: 3.656 kB / 0.7967 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001099/0.6694, allocations: 54.17 kB / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6694, allocations: 8.719 kB / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.6694, allocations: 0 / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6694, allocations: 3.5 kB / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-06/0.6695, allocations: 3.469 kB / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.6695, allocations: 0 / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.6695, allocations: 0 / 0.7968 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.6695, allocations: 0 / 0.7968 GB, free: 42.94 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.265e-05/0.6696, allocations: 189.9 kB / 0.797 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.6696, allocations: 116.7 kB / 0.7971 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.6696, allocations: 122.5 kB / 0.7972 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/0.6697, allocations: 179.8 kB / 0.7974 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-05/0.6697, allocations: 179 kB / 0.7975 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.6697, allocations: 176.3 kB / 0.7977 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.6699, allocations: 416.8 kB / 0.7981 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.6699, allocations: 103.1 kB / 0.7982 GB, free: 41.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.6699, allocations: 116.2 kB / 0.7983 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.397e-05/0.6699, allocations: 180.9 kB / 0.7985 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.67, allocations: 179.7 kB / 0.7986 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.449e-05/0.67, allocations: 180.3 kB / 0.7988 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-05/0.67, allocations: 186.1 kB / 0.799 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.6701, allocations: 304.2 kB / 0.7993 GB, free: 40.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.6701, allocations: 195.9 kB / 0.7995 GB, free: 40.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.6702, allocations: 179.1 kB / 0.7996 GB, free: 39.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.16e-05/0.6702, allocations: 106.7 kB / 0.7997 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.6703, allocations: 182 kB / 0.7999 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.6703, allocations: 110.6 kB / 0.8 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.962e-05/0.6703, allocations: 100 kB / 0.8001 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6704, allocations: 0 / 0.8001 GB, free: 39.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006368/0.671, allocations: 282 kB / 0.8004 GB, free: 39.38 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.00092/0.6719, allocations: 0.5408 MB / 0.8009 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.944e-05/0.672, allocations: 37.55 kB / 0.8009 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.672, allocations: 0 / 0.8009 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.672, allocations: 5.406 kB / 0.801 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.6724, allocations: 467.3 kB / 0.8014 GB, free: 38.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.6726, allocations: 235.5 kB / 0.8016 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.6727, allocations: 0.685 MB / 0.8023 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.199e-05/0.6728, allocations: 1.922 kB / 0.8023 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.6728, allocations: 7.438 kB / 0.8023 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.6728, allocations: 0 / 0.8023 GB, free: 37.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.01065/0.6834, allocations: 5.567 MB / 0.8077 GB, free: 37.39 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)