Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.294/1.294, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000877/0.000877, allocations: 186.1 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007705/0.0007705, allocations: 93.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 15.25 kB / 0.7939 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1911, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001528/0.1927, allocations: 1.177 MB / 0.898 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003784/0.1965, allocations: 3.104 MB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.1965, allocations: 0 / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1966, allocations: 3.938 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.1966, allocations: 15.84 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003/0.1997, allocations: 1.464 MB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.595e-05/0.1997, allocations: 47.67 kB / 0.9025 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.1998, allocations: 4 kB / 0.9025 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.1998, allocations: 11.94 kB / 0.9025 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.1998, allocations: 23.84 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1998, allocations: 0 / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.2014, allocations: 1.482 MB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.2014, allocations: 8 kB / 0.904 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2015, allocations: 15.81 kB / 0.904 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2025, allocations: 1.127 MB / 0.9051 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2025, allocations: 11.92 kB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2025, allocations: 0 / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2025, allocations: 0 / 0.9051 GB, free: 59.64 MB / 0.6042 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.0003999/0.2029, allocations: 0.5043 MB / 0.9056 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.203, allocations: 12.03 kB / 0.9056 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.203, allocations: 80.22 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.2031, allocations: 262.1 kB / 0.9059 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.2032, allocations: 158.8 kB / 0.9061 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.2032, allocations: 150.9 kB / 0.9062 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.156e-05/0.2032, allocations: 105.1 kB / 0.9063 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2033, allocations: 83.22 kB / 0.9064 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.2033, allocations: 154.6 kB / 0.9066 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.2033, allocations: 150.6 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.19e-05/0.2034, allocations: 150.6 kB / 0.9068 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.2036, allocations: 473.8 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.926e-05/0.2036, allocations: 173.1 kB / 0.9075 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.2036, allocations: 80.14 kB / 0.9075 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.2037, allocations: 75.28 kB / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2037, allocations: 113.8 kB / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2037, allocations: 0 / 0.9077 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.114e-05/0.2038, allocations: 33.62 kB / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.204e-05/0.2038, allocations: 55.41 kB / 0.9078 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.799e-05/0.2039, allocations: 137.7 kB / 0.9079 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.2039, allocations: 25.7 kB / 0.908 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.2039, allocations: 88.14 kB / 0.908 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.2039, allocations: 0 / 0.908 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.204, allocations: 17.7 kB / 0.9081 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.204, allocations: 314.8 kB / 0.9084 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.204, allocations: 4 kB / 0.9084 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.2041, allocations: 8 kB / 0.9084 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.2041, allocations: 20.84 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2041, allocations: 0 / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.2042, allocations: 57.48 kB / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2042, allocations: 4 kB / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.2042, allocations: 4 kB / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2043, allocations: 0 / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.2043, allocations: 0 / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2043, allocations: 0 / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.865e-05/0.2043, allocations: 0 / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2043, allocations: 8.062 kB / 0.9085 GB, free: 55.97 MB / 0.6042 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.231e-05/0.2044, allocations: 187.3 kB / 0.9086 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.2044, allocations: 120.8 kB / 0.9088 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.2044, allocations: 108.8 kB / 0.9089 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.049e-05/0.2045, allocations: 180.3 kB / 0.909 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.2045, allocations: 116.9 kB / 0.9091 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.2045, allocations: 182.1 kB / 0.9093 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.2046, allocations: 180.3 kB / 0.9095 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.453e-05/0.2046, allocations: 108.9 kB / 0.9096 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.2047, allocations: 176.3 kB / 0.9098 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.322e-05/0.2047, allocations: 263.4 kB / 0.91 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.585e-05/0.2048, allocations: 391.2 kB / 0.9104 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.272e-05/0.2048, allocations: 109 kB / 0.9105 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.2049, allocations: 105.7 kB / 0.9106 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of Backend: time 3.91e-07/0.2049, allocations: 0 / 0.9106 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.2062, allocations: 0.5382 MB / 0.9111 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004074/0.2066, allocations: 0.9962 MB / 0.9121 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.008133/0.2147, allocations: 6.541 MB / 0.9185 GB, free: 45.58 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)