Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.615/1.615, allocations: 287.4 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001064, allocations: 182.4 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.4 MB / 0.6305 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009497/0.0009496, allocations: 96.23 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 12.61 kB / 0.8668 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1858, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001554/0.1875, allocations: 1.146 MB / 0.9804 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003554/0.191, allocations: 2.732 MB / 0.9831 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.1911, allocations: 4 kB / 0.9831 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1911, allocations: 11.92 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.78e-05/0.1912, allocations: 7.922 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.002776/0.194, allocations: 1.304 MB / 0.9844 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.194, allocations: 39.73 kB / 0.9844 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.1941, allocations: 8 kB / 0.9845 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.1941, allocations: 15.94 kB / 0.9845 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.502e-05/0.1941, allocations: 11.94 kB / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1942, allocations: 0 / 0.9845 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.1955, allocations: 1.232 MB / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.1955, allocations: 4 kB / 0.9857 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.1956, allocations: 37.64 kB / 0.9857 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.1962, allocations: 0.6943 MB / 0.9864 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1963, allocations: 4 kB / 0.9864 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1963, allocations: 0 / 0.9864 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.1963, allocations: 0 / 0.9864 GB, free: 20.89 MB / 0.6198 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.0003781/0.1966, allocations: 0.5029 MB / 0.9869 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1967, allocations: 12.03 kB / 0.9869 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1967, allocations: 80.12 kB / 0.987 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.1968, allocations: 255.5 kB / 0.9872 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/0.1969, allocations: 154.9 kB / 0.9874 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.1969, allocations: 154.9 kB / 0.9875 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.227e-05/0.197, allocations: 113 kB / 0.9876 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.197, allocations: 75.28 kB / 0.9877 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.197, allocations: 154.5 kB / 0.9878 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.197, allocations: 150.6 kB / 0.988 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.1971, allocations: 150.6 kB / 0.9881 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.1973, allocations: 469.9 kB / 0.9886 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.666e-05/0.1973, allocations: 169.1 kB / 0.9887 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.1973, allocations: 84.14 kB / 0.9888 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.1973, allocations: 79.28 kB / 0.9889 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1974, allocations: 113.8 kB / 0.989 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.1974, allocations: 0 / 0.989 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.637e-05/0.1975, allocations: 33.61 kB / 0.989 GB, free: 18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.452e-05/0.1975, allocations: 55.34 kB / 0.9891 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.1976, allocations: 128.3 kB / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.1976, allocations: 29.69 kB / 0.9892 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.1976, allocations: 88.14 kB / 0.9893 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.1976, allocations: 0 / 0.9893 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.1976, allocations: 4 kB / 0.9893 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.1977, allocations: 322.8 kB / 0.9896 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.1977, allocations: 7.984 kB / 0.9896 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.1977, allocations: 0 / 0.9896 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.1977, allocations: 20.89 kB / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1978, allocations: 0 / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.28e-05/0.1979, allocations: 53.53 kB / 0.9897 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1979, allocations: 7.938 kB / 0.9897 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.1979, allocations: 4 kB / 0.9897 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1979, allocations: 0 / 0.9897 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1979, allocations: 4.062 kB / 0.9897 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.1979, allocations: 0 / 0.9897 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1979, allocations: 4 kB / 0.9897 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.198, allocations: 0 / 0.9897 GB, free: 17.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.198, allocations: 185.1 kB / 0.9899 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1981, allocations: 112.8 kB / 0.99 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.1981, allocations: 116.8 kB / 0.9901 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.1981, allocations: 188.3 kB / 0.9903 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/0.1981, allocations: 101 kB / 0.9904 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.093e-05/0.1982, allocations: 189.9 kB / 0.9906 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1982, allocations: 180.2 kB / 0.9908 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.1983, allocations: 104.9 kB / 0.9909 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.1983, allocations: 180.3 kB / 0.991 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.186e-05/0.1983, allocations: 263.5 kB / 0.9913 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 6.983e-05/0.1984, allocations: 383 kB / 0.9917 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.208e-05/0.1984, allocations: 104.9 kB / 0.9918 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.1985, allocations: 99.27 kB / 0.9918 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Backend: time 3.31e-07/0.1985, allocations: 3.938 kB / 0.9919 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.1996, allocations: 499.3 kB / 0.9923 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003727/0.2, allocations: 1.006 MB / 0.9933 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.007932/0.2079, allocations: 6.341 MB / 0.9995 GB, free: 7.113 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)