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.634/1.634, allocations: 288.4 MB / 303.4 MB, free: 8.145 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.0009584/0.0009584, allocations: 176.5 kB / 372 MB, free: 10.22 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.473/1.473, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0008185/0.0008185, allocations: 92.81 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 11.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008502/0.214, allocations: 290.1 kB / 0.9799 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.2142, allocations: 99.78 kB / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.183e-05/0.2143, allocations: 0 / 0.98 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2144, allocations: 11.97 kB / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.2145, allocations: 4 kB / 0.98 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.2146, allocations: 31.97 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.088e-05/0.2147, allocations: 15.98 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.2147, allocations: 0 / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.454e-05/0.2147, allocations: 15.94 kB / 0.98 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.2148, allocations: 15.97 kB / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2148, allocations: 0 / 0.9801 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.274e-05/0.2149, allocations: 8 kB / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.2149, allocations: 4 kB / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.2149, allocations: 29.7 kB / 0.9801 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.215, allocations: 23.95 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.215, allocations: 4 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.215, allocations: 0 / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.215, allocations: 0 / 0.9801 GB, free: 27.11 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.0002883/0.2153, allocations: 345.1 kB / 0.9804 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2154, allocations: 12.02 kB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.2154, allocations: 7.938 kB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2156, allocations: 175 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2156, allocations: 4 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2156, allocations: 4 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.2158, allocations: 49.67 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2158, allocations: 0 / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2158, allocations: 4 kB / 0.9807 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2158, allocations: 3.984 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.68e-05/0.2159, allocations: 8 kB / 0.9807 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.216, allocations: 153.6 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.043e-05/0.2161, allocations: 38.53 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.2161, allocations: 16.92 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.2161, allocations: 0 / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2161, allocations: 38.53 kB / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2161, allocations: 0 / 0.9809 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002254/0.2164, allocations: 111.3 kB / 0.981 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2164, allocations: 77.23 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.634e-05/0.2165, allocations: 97.86 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.2165, allocations: 25.7 kB / 0.9812 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.564e-05/0.2165, allocations: 96.02 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2166, allocations: 4.266 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2166, allocations: 4 kB / 0.9813 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.2166, allocations: 310.8 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.2167, allocations: 8 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.355e-05/0.2167, allocations: 16.11 kB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.2167, allocations: 37.7 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2167, allocations: 0 / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001103/0.2169, allocations: 99.33 kB / 0.9818 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.2169, allocations: 35.58 kB / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2169, allocations: 0 / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2169, allocations: 0 / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.2169, allocations: 0 / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2169, allocations: 0 / 0.9818 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2171, allocations: 16.02 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2171, allocations: 4 kB / 0.9818 GB, free: 25.09 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 7.31e-05/0.2172, allocations: 143.5 kB / 0.982 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.2172, allocations: 15.81 kB / 0.982 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.939e-06/0.2172, allocations: 7.125 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2172, allocations: 4 kB / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2172, allocations: 0 / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2173, allocations: 0 / 0.982 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.2e-05/0.2173, allocations: 149.7 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2173, allocations: 0 / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.2173, allocations: 4 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2173, allocations: 3.953 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2174, allocations: 11.98 kB / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2174, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2174, allocations: 0 / 0.9822 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.2175, allocations: 122.7 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.2175, allocations: 77.11 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.2175, allocations: 11.98 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2177, allocations: 8 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.2177, allocations: 3.984 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2177, allocations: 4 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.006e-05/0.2177, allocations: 75.28 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2177, allocations: 3.938 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001945/0.2179, allocations: 12 kB / 0.9825 GB, free: 24.34 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.0001993/0.2181, allocations: 112.2 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2183, allocations: 87.38 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2183, allocations: 3.938 kB / 0.9827 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.2183, allocations: 67.39 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2185, allocations: 8 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002647/0.2188, allocations: 110.8 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2189, allocations: 0.6731 MB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.219, allocations: 4 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-06/0.219, allocations: 7.438 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of SimCode: time 1.012e-06/0.219, allocations: 0 / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of Templates: time 0.002815/0.2218, allocations: 1.015 MB / 0.9845 GB, free: 22.19 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)