Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.755/1.755, allocations: 288.4 MB / 303.7 MB, free: 8.148 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.0009986/0.0009985, allocations: 182.1 kB / 372.3 MB, free: 10.12 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.484/1.484, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0007278/0.0007279, allocations: 94.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 15.06 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0009364/0.1945, allocations: 290.1 kB / 0.9804 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.1948, allocations: 99.84 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.1948, allocations: 4 kB / 0.9805 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.125e-05/0.1949, allocations: 7.938 kB / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.195, allocations: 0 / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.1951, allocations: 35.94 kB / 0.9806 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.1952, allocations: 19.98 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.1952, allocations: 4 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.478e-05/0.1952, allocations: 16 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.1953, allocations: 19.91 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1953, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.336e-05/0.1954, allocations: 8 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.103e-06/0.1954, allocations: 0 / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.1954, allocations: 37.69 kB / 0.9807 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.1955, allocations: 23.97 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1955, allocations: 0 / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1955, allocations: 0 / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.696e-06/0.1955, allocations: 0 / 0.9807 GB, free: 26.77 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002275/0.1957, allocations: 349.2 kB / 0.981 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1958, allocations: 8.031 kB / 0.981 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.1958, allocations: 4.938 kB / 0.981 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.1959, allocations: 160.4 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.196, allocations: 12.31 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.196, allocations: 4.375 kB / 0.9812 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.1961, allocations: 54.22 kB / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1961, allocations: 192 / 0.9812 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1961, allocations: 7.938 kB / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1961, allocations: 0 / 0.9813 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.1962, allocations: 12 kB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.786e-05/0.1963, allocations: 157.7 kB / 0.9814 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.1963, allocations: 26.52 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.1964, allocations: 20.91 kB / 0.9815 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-06/0.1964, allocations: 0 / 0.9815 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.1964, allocations: 30.56 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1964, allocations: 4 kB / 0.9815 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001904/0.1966, allocations: 115.2 kB / 0.9816 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.1966, allocations: 77.11 kB / 0.9817 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.1967, allocations: 97.84 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.1967, allocations: 33.64 kB / 0.9818 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/0.1967, allocations: 80.14 kB / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1968, allocations: 4.281 kB / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.1968, allocations: 7.938 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.1968, allocations: 315.1 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.1969, allocations: 11.98 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.1969, allocations: 12 kB / 0.9822 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.1969, allocations: 76.25 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.197, allocations: 0 / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001/0.1971, allocations: 99.38 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1971, allocations: 33.7 kB / 0.9824 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1971, allocations: 7.922 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1971, allocations: 8.094 kB / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1971, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1971, allocations: 0 / 0.9824 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1973, allocations: 19.8 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1973, allocations: 4 kB / 0.9824 GB, free: 24.69 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: 1 * 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 prepare postOptimizeDAE: time 6.26e-05/0.1974, allocations: 139.5 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1974, allocations: 4 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-06/0.1974, allocations: 11.06 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1974, allocations: 8 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1974, allocations: 0 / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1974, allocations: 0 / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.565e-05/0.1975, allocations: 157.6 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1975, allocations: 0 / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1975, allocations: 0 / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.1975, allocations: 0 / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1975, allocations: 7.938 kB / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1975, allocations: 0 / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1975, allocations: 0 / 0.9828 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.1977, allocations: 126.8 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.1977, allocations: 77.11 kB / 0.983 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1977, allocations: 7.922 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.1978, allocations: 4 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.1979, allocations: 11.94 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1979, allocations: 4 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.791e-05/0.1979, allocations: 75.28 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1979, allocations: 4.125 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001895/0.1981, allocations: 15.98 kB / 0.9831 GB, free: 23.95 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001705/0.1983, allocations: 109.6 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.1984, allocations: 87.31 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1984, allocations: 0 / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.905e-05/0.1985, allocations: 71.47 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.1986, allocations: 10.11 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.1989, allocations: 110.7 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.432e-05/0.199, allocations: 0.6692 MB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.574e-05/0.199, allocations: 11.92 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-06/0.199, allocations: 7.438 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.199, allocations: 0 / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002662/0.2017, allocations: 1.046 MB / 0.9851 GB, free: 21.76 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)