Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001676/0.001676, allocations: 195.2 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 60.92 kB / 0.5047 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 80.93 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002533/0.1804, allocations: 1.479 MB / 0.5852 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.185, allocations: 3.005 MB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.1851, allocations: 0 / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.1851, allocations: 7.984 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.122e-05/0.1852, allocations: 15.86 kB / 0.5882 GB, free: 364 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.1885, allocations: 1.384 MB / 0.5895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.1886, allocations: 43.69 kB / 0.5896 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.329e-05/0.1887, allocations: 7.984 kB / 0.5896 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.1887, allocations: 7.938 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.63e-05/0.1887, allocations: 15.94 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1888, allocations: 4 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.1908, allocations: 1.466 MB / 0.591 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1909, allocations: 7.938 kB / 0.591 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.1909, allocations: 23.86 kB / 0.5911 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.1922, allocations: 1.104 MB / 0.5921 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1922, allocations: 4 kB / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1922, allocations: 0 / 0.5921 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.1922, allocations: 0 / 0.5921 GB, free: 12.3 MB / 0.4981 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.000603/0.1928, allocations: 0.5146 MB / 0.5926 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1929, allocations: 16.03 kB / 0.5927 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.193, allocations: 80.22 kB / 0.5927 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.1931, allocations: 255.4 kB / 0.593 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.1932, allocations: 154.9 kB / 0.5931 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.1932, allocations: 154.5 kB / 0.5933 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.21e-05/0.1933, allocations: 101 kB / 0.5934 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.1933, allocations: 79.28 kB / 0.5934 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.1934, allocations: 150.6 kB / 0.5936 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.1934, allocations: 150.6 kB / 0.5937 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.813e-05/0.1935, allocations: 154.5 kB / 0.5939 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.1938, allocations: 461.9 kB / 0.5943 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.887e-05/0.1939, allocations: 185.1 kB / 0.5945 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.1939, allocations: 80.14 kB / 0.5946 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1939, allocations: 75.28 kB / 0.5946 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.194, allocations: 105.8 kB / 0.5947 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.194, allocations: 3.938 kB / 0.5948 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.496e-05/0.1941, allocations: 41.55 kB / 0.5948 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.1941, allocations: 126.7 kB / 0.5949 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1943, allocations: 132 kB / 0.595 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.1943, allocations: 25.7 kB / 0.5951 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.1943, allocations: 100.1 kB / 0.5952 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.1943, allocations: 0 / 0.5952 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1944, allocations: 13.72 kB / 0.5952 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.1945, allocations: 326.8 kB / 0.5955 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.1945, allocations: 4 kB / 0.5955 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.1945, allocations: 8.031 kB / 0.5955 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.1946, allocations: 12.86 kB / 0.5955 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1946, allocations: 3.938 kB / 0.5955 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.1947, allocations: 53.55 kB / 0.5956 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1948, allocations: 7.984 kB / 0.5956 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.1948, allocations: 4 kB / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1948, allocations: 0 / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1948, allocations: 0 / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1948, allocations: 4.062 kB / 0.5956 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.1948, allocations: 7.875 kB / 0.5956 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1949, allocations: 4 kB / 0.5956 GB, free: 8.539 MB / 0.4981 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 9.505e-05/0.195, allocations: 189.1 kB / 0.5958 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.195, allocations: 117 kB / 0.5959 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.058e-05/0.1951, allocations: 112.8 kB / 0.596 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-05/0.1951, allocations: 184.3 kB / 0.5962 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.278e-05/0.1952, allocations: 184.2 kB / 0.5963 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/0.1953, allocations: 176.3 kB / 0.5965 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.1955, allocations: 421.1 kB / 0.5969 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-05/0.1955, allocations: 101 kB / 0.597 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1956, allocations: 101 kB / 0.5971 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-05/0.1956, allocations: 196.2 kB / 0.5973 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.1957, allocations: 176.3 kB / 0.5975 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.55e-05/0.1958, allocations: 180.2 kB / 0.5976 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.079e-05/0.1958, allocations: 180.2 kB / 0.5978 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.196, allocations: 319.6 kB / 0.5981 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.407e-05/0.1961, allocations: 178.1 kB / 0.5983 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.1962, allocations: 196.2 kB / 0.5985 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.1963, allocations: 105 kB / 0.5986 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.1964, allocations: 176.3 kB / 0.5987 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/0.1965, allocations: 104.9 kB / 0.5988 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.324e-05/0.1965, allocations: 111.2 kB / 0.5989 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1966, allocations: 0 / 0.5989 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008929/0.1974, allocations: 279.8 kB / 0.5992 GB, free: 4.605 MB / 0.4981 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.001226/0.1987, allocations: 0.5251 MB / 0.5997 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1988, allocations: 41.7 kB / 0.5998 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1988, allocations: 3.938 kB / 0.5998 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.1988, allocations: 0 / 0.5998 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.1993, allocations: 0.5418 MB / 0.6003 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.1996, allocations: 239.5 kB / 0.6005 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1998, allocations: 0.6809 MB / 0.6012 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.1999, allocations: 4 kB / 0.6012 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.222e-05/0.1999, allocations: 7.438 kB / 0.6012 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1999, allocations: 4 kB / 0.6012 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of Templates: time 0.2782/0.4781, allocations: 5.667 MB / 0.6067 GB, free: 51.64 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)