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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.774/1.774, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.001196/0.001196, allocations: 188.6 kB / 371.2 MB, free: 10.82 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.486/1.486, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0008036/0.0008036, allocations: 92.53 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004015, allocations: 16.94 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001247/0.1869, allocations: 1.155 MB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.1901, allocations: 2.775 MB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.1901, allocations: 3.938 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1901, allocations: 0 / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.147e-05/0.1902, allocations: 19.84 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.00254/0.1928, allocations: 1.313 MB / 0.9839 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.1928, allocations: 47.67 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1929, allocations: 288 / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.039e-05/0.1929, allocations: 11.94 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.183e-05/0.1929, allocations: 19.92 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.1929, allocations: 4 kB / 0.984 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.1944, allocations: 1.26 MB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1944, allocations: 8 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.1944, allocations: 33.64 kB / 0.9852 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007617/0.1952, allocations: 0.7174 MB / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1952, allocations: 0 / 0.9859 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1952, allocations: 4 kB / 0.9859 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.1952, allocations: 0 / 0.9859 GB, free: 20.73 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.0004415/0.1957, allocations: 0.5107 MB / 0.9864 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1957, allocations: 12.03 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1957, allocations: 80.12 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/0.1958, allocations: 251.6 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.1959, allocations: 158.9 kB / 0.9869 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.1959, allocations: 154.9 kB / 0.9871 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.92e-05/0.1959, allocations: 105.1 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1959, allocations: 75.28 kB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.196, allocations: 158.5 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.196, allocations: 154.6 kB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.078e-05/0.196, allocations: 150.6 kB / 0.9877 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1962, allocations: 469.9 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.804e-05/0.1963, allocations: 169.1 kB / 0.9883 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.1963, allocations: 84.14 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.1963, allocations: 75.28 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1963, allocations: 109.8 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1963, allocations: 3.938 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.102e-05/0.1964, allocations: 37.55 kB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1964, allocations: 130.7 kB / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.1965, allocations: 136.1 kB / 0.9888 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-06/0.1965, allocations: 25.7 kB / 0.9889 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.1966, allocations: 96.12 kB / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.1966, allocations: 0 / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.1966, allocations: 0 / 0.9889 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.1966, allocations: 314.8 kB / 0.9892 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.1967, allocations: 7.984 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.1967, allocations: 4 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.126e-05/0.1967, allocations: 20.89 kB / 0.9893 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1967, allocations: 0 / 0.9893 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.409e-05/0.1968, allocations: 57.42 kB / 0.9893 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.1968, allocations: 8 kB / 0.9893 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.1969, allocations: 3.984 kB / 0.9893 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1969, allocations: 4 kB / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.1969, allocations: 0 / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.1969, allocations: 0 / 0.9893 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.1969, allocations: 3.906 kB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1969, allocations: 0 / 0.9894 GB, free: 17 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 4.954e-05/0.197, allocations: 197.1 kB / 0.9895 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.197, allocations: 104.9 kB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.197, allocations: 120.8 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.1971, allocations: 176.3 kB / 0.9899 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/0.1971, allocations: 184.2 kB / 0.9901 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.1971, allocations: 184.3 kB / 0.9903 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1973, allocations: 405.2 kB / 0.9907 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.1973, allocations: 120.9 kB / 0.9908 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-05/0.1973, allocations: 101 kB / 0.9909 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.1973, allocations: 180.2 kB / 0.991 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1973, allocations: 180.3 kB / 0.9912 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.049e-05/0.1974, allocations: 184.3 kB / 0.9914 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.947e-05/0.1974, allocations: 180.2 kB / 0.9916 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.574e-05/0.1975, allocations: 311.7 kB / 0.9919 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.1975, allocations: 189.9 kB / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1975, allocations: 192.2 kB / 0.9922 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.362e-05/0.1976, allocations: 104.9 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1976, allocations: 180.3 kB / 0.9925 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1976, allocations: 104.9 kB / 0.9926 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.1977, allocations: 99.27 kB / 0.9927 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1977, allocations: 0 / 0.9927 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000547/0.1983, allocations: 279.8 kB / 0.993 GB, free: 13.08 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007849/0.199, allocations: 0.5304 MB / 0.9935 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.1991, allocations: 45.64 kB / 0.9935 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1991, allocations: 0 / 0.9935 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1992, allocations: 0 / 0.9935 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1994, allocations: 0.5346 MB / 0.994 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001998/0.1996, allocations: 247.7 kB / 0.9943 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.013e-05/0.1997, allocations: 0.6848 MB / 0.9949 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.1998, allocations: 4 kB / 0.9949 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-06/0.1998, allocations: 7.438 kB / 0.995 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.1998, allocations: 0 / 0.995 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.007056/0.2068, allocations: 5.751 MB / 1.001 GB, free: 5.266 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)