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.001196/0.001196, allocations: 113.9 kB / 16.38 MB, free: 5.992 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.001062/0.001062, allocations: 186.9 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.479/1.479, 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.54 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.001566/0.001566, allocations: 67.89 kB / 0.673 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2396, allocations: 114.6 MB / 0.7849 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002985/0.2427, allocations: 1.438 MB / 0.7863 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4185/0.6612, allocations: 2.926 MB / 0.7891 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.6614, allocations: 0 / 0.7891 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.6614, allocations: 8.156 kB / 0.7891 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.6615, allocations: 15.48 kB / 0.7891 GB, free: 46.61 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.004101/0.6656, allocations: 1.608 MB / 0.7907 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.6657, allocations: 45.27 kB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.6658, allocations: 7.047 kB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.087e-05/0.6658, allocations: 14.53 kB / 0.7908 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.6658, allocations: 18.92 kB / 0.7908 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.6659, allocations: 1.062 kB / 0.7908 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.6678, allocations: 1.504 MB / 0.7923 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.6678, allocations: 4.781 kB / 0.7923 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.6678, allocations: 21.42 kB / 0.7923 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.669, allocations: 1.087 MB / 0.7934 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.669, allocations: 0 / 0.7934 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.669, allocations: 0 / 0.7934 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.669, allocations: 1.562 kB / 0.7934 GB, free: 46.46 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.0004379/0.6695, allocations: 0.5216 MB / 0.7939 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6695, allocations: 10.86 kB / 0.7939 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.6696, allocations: 80.53 kB / 0.7939 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.6697, allocations: 258.2 kB / 0.7942 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.6697, allocations: 158.2 kB / 0.7943 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.6697, allocations: 152.1 kB / 0.7945 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.109e-05/0.6698, allocations: 108.2 kB / 0.7946 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6698, allocations: 76.31 kB / 0.7947 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.6698, allocations: 153.4 kB / 0.7948 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.6698, allocations: 151.6 kB / 0.795 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.6699, allocations: 160.4 kB / 0.7951 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.6701, allocations: 461.2 kB / 0.7956 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.6701, allocations: 171.5 kB / 0.7957 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.6701, allocations: 80.14 kB / 0.7958 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.6701, allocations: 78.78 kB / 0.7959 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.6702, allocations: 113.3 kB / 0.796 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.6702, allocations: 0 / 0.796 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.289e-05/0.6702, allocations: 29.55 kB / 0.796 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.522e-05/0.6703, allocations: 57.91 kB / 0.7961 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6704, allocations: 132.6 kB / 0.7962 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.6704, allocations: 32.69 kB / 0.7962 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.6704, allocations: 88.48 kB / 0.7963 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.6704, allocations: 0 / 0.7963 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.6705, allocations: 20.41 kB / 0.7963 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.6705, allocations: 316.3 kB / 0.7966 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.6705, allocations: 3.469 kB / 0.7966 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.6706, allocations: 9.578 kB / 0.7966 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.223e-05/0.6706, allocations: 13.91 kB / 0.7966 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6706, allocations: 0 / 0.7966 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.6707, allocations: 48.52 kB / 0.7967 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6707, allocations: 14.16 kB / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.6708, allocations: 4.844 kB / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6708, allocations: 0 / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.6708, allocations: 0 / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.6708, allocations: 0 / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.6708, allocations: 2.875 kB / 0.7967 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6708, allocations: 5.281 kB / 0.7967 GB, free: 43.09 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.411e-05/0.6709, allocations: 182.8 kB / 0.7969 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.6709, allocations: 121.4 kB / 0.797 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.783e-05/0.671, allocations: 114.1 kB / 0.7971 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-05/0.671, allocations: 180.3 kB / 0.7973 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.671, allocations: 103.3 kB / 0.7974 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.6711, allocations: 187.1 kB / 0.7976 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.6711, allocations: 176.3 kB / 0.7977 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.6712, allocations: 108 kB / 0.7978 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.6712, allocations: 187.7 kB / 0.798 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.516e-05/0.6713, allocations: 255.4 kB / 0.7983 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.819e-05/0.6714, allocations: 392.4 kB / 0.7986 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.294e-05/0.6714, allocations: 108 kB / 0.7987 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.6714, allocations: 100.4 kB / 0.7988 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of Backend: time 3.11e-07/0.6714, allocations: 0 / 0.7988 GB, free: 40.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.6727, allocations: 0.5135 MB / 0.7993 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004186/0.6731, allocations: 0.9121 MB / 0.8002 GB, free: 39.84 MB / 0.6544 GB Notification: Performance of Templates: time 0.01211/0.6853, allocations: 6.336 MB / 0.8064 GB, free: 39.44 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)