Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001217, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 196.6 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7285/0.7285, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.03 kB / 0.5018 GB, free: 8.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1843, allocations: 80.21 MB / 0.5802 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003365/0.1877, allocations: 1.329 MB / 0.5815 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1898, allocations: 1.081 MB / 0.5825 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.1898, allocations: 0 / 0.5825 GB, free: 6.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1899, allocations: 3.938 kB / 0.5825 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.19, allocations: 3.938 kB / 0.5825 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009113/0.1909, allocations: 219.3 kB / 0.5827 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.191, allocations: 35.8 kB / 0.5828 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.1911, allocations: 3.984 kB / 0.5828 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.655e-05/0.1911, allocations: 11.94 kB / 0.5828 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.1912, allocations: 15.92 kB / 0.5828 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1912, allocations: 4 kB / 0.5828 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006631/0.1919, allocations: 423.5 kB / 0.5832 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1919, allocations: 3.938 kB / 0.5832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.192, allocations: 15.92 kB / 0.5832 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.1924, allocations: 191.9 kB / 0.5834 GB, free: 5.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.1924, allocations: 4 kB / 0.5834 GB, free: 5.332 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1924, allocations: 0 / 0.5834 GB, free: 5.332 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1924, allocations: 0 / 0.5834 GB, free: 5.332 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005438/0.193, allocations: 379.4 kB / 0.5838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.193, allocations: 8.031 kB / 0.5838 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.1931, allocations: 8.844 kB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1932, allocations: 172.3 kB / 0.584 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1932, allocations: 4.375 kB / 0.584 GB, free: 4.688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.1932, allocations: 12.06 kB / 0.584 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1934, allocations: 37.69 kB / 0.584 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1934, allocations: 0 / 0.584 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1934, allocations: 0 / 0.584 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1934, allocations: 0 / 0.584 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.1935, allocations: 15.98 kB / 0.584 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.1937, allocations: 165.6 kB / 0.5842 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.614e-05/0.1938, allocations: 42.55 kB / 0.5842 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.415e-05/0.1938, allocations: 20.83 kB / 0.5842 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009591/0.1948, allocations: 0.9856 MB / 0.5852 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1948, allocations: 30.56 kB / 0.5852 GB, free: 3.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1948, allocations: 0 / 0.5852 GB, free: 3.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.195, allocations: 57.69 kB / 0.5853 GB, free: 3.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1951, allocations: 55.34 kB / 0.5853 GB, free: 2.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.1951, allocations: 109.8 kB / 0.5854 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1952, allocations: 29.7 kB / 0.5855 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.1952, allocations: 84.14 kB / 0.5855 GB, free: 2.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.1953, allocations: 15.8 kB / 0.5856 GB, free: 2.703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1953, allocations: 13.72 kB / 0.5856 GB, free: 2.684 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1954, allocations: 314.8 kB / 0.5859 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.1954, allocations: 7.984 kB / 0.5859 GB, free: 2.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.1955, allocations: 4 kB / 0.5859 GB, free: 2.355 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.1955, allocations: 24.86 kB / 0.5859 GB, free: 2.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1955, allocations: 4 kB / 0.5859 GB, free: 2.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.974e-05/0.1956, allocations: 57.84 kB / 0.586 GB, free: 2.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1956, allocations: 4 kB / 0.586 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1956, allocations: 48 / 0.586 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1957, allocations: 7.984 kB / 0.586 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.1958, allocations: 11.98 kB / 0.586 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1958, allocations: 4 kB / 0.586 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.1958, allocations: 3.938 kB / 0.586 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.1958, allocations: 0 / 0.586 GB, free: 2.23 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.301e-05/0.1959, allocations: 113.8 kB / 0.5861 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.196, allocations: 11.84 kB / 0.5861 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.1961, allocations: 61.53 kB / 0.5862 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1961, allocations: 7.922 kB / 0.5862 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1961, allocations: 0 / 0.5862 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1961, allocations: 0 / 0.5862 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.1963, allocations: 165.6 kB / 0.5863 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1963, allocations: 0 / 0.5863 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.1964, allocations: 15.98 kB / 0.5864 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1964, allocations: 0 / 0.5864 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1964, allocations: 8 kB / 0.5864 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1964, allocations: 0 / 0.5864 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1964, allocations: 0 / 0.5864 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1965, allocations: 77.06 kB / 0.5864 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.1966, allocations: 81.02 kB / 0.5865 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1966, allocations: 8 kB / 0.5865 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.1966, allocations: 0 / 0.5865 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.1966, allocations: 0 / 0.5865 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1966, allocations: 7.938 kB / 0.5865 GB, free: 1.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.1967, allocations: 91.27 kB / 0.5866 GB, free: 1.488 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1967, allocations: 0 / 0.5866 GB, free: 1.488 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1969, allocations: 35.98 kB / 0.5867 GB, free: 1.453 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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.0002507/0.1972, allocations: 151.1 kB / 0.5868 GB, free: 1.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.1973, allocations: 16 kB / 0.5868 GB, free: 1.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1973, allocations: 7.938 kB / 0.5868 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.1974, allocations: 23.92 kB / 0.5868 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1976, allocations: 4.812 kB / 0.5869 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003776/0.198, allocations: 158.4 kB / 0.587 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1982, allocations: 0.6768 MB / 0.5877 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.92e-05/0.1983, allocations: 11.25 kB / 0.5877 GB, free: 364 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.1983, allocations: 11.44 kB / 0.5877 GB, free: 356 kB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1983, allocations: 0 / 0.5877 GB, free: 356 kB / 494.1 MB Notification: Performance of Templates: time 0.00371/0.202, allocations: 1.124 MB / 0.5888 GB, free: 15.27 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)