Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6195/0.6195, allocations: 94.78 MB / 102.2 MB, free: 10.12 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001529/0.001529, allocations: 183.7 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.902/1.902, allocations: 170.6 MB / 319.4 MB, free: 9.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001667/0.001667, allocations: 113.2 kB / 381.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.306e-05, allocations: 4 kB / 449.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1904, allocations: 61.53 MB / 0.4987 GB, free: 4.098 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5766/0.767, allocations: 93.28 MB / 0.5898 GB, free: 8.633 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.7673, allocations: 84.69 kB / 0.5899 GB, free: 8.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.7776, allocations: 3.804 MB / 0.5936 GB, free: 4.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7776, allocations: 0 / 0.5936 GB, free: 4.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.7776, allocations: 0.5625 kB / 0.5936 GB, free: 4.82 MB / 410.7 MB 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.0003631/0.778, allocations: 344.8 kB / 0.5939 GB, free: 4.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.7781, allocations: 8.688 kB / 0.5939 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.7781, allocations: 4 kB / 0.5939 GB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.7783, allocations: 167.7 kB / 0.5941 GB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.7784, allocations: 4.719 kB / 0.5941 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.7784, allocations: 4.938 kB / 0.5941 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.517e-05/0.7785, allocations: 7.859 kB / 0.5941 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.7786, allocations: 49.67 kB / 0.5941 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.7786, allocations: 2.484 kB / 0.5941 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.7786, allocations: 0 / 0.5941 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.7786, allocations: 0 / 0.5941 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.7788, allocations: 137.5 kB / 0.5943 GB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.7789, allocations: 24.7 kB / 0.5943 GB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.7789, allocations: 21.52 kB / 0.5943 GB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.7789, allocations: 0 / 0.5943 GB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.779, allocations: 32.28 kB / 0.5943 GB, free: 3.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.779, allocations: 0 / 0.5943 GB, free: 3.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002086/0.7792, allocations: 57.64 kB / 0.5944 GB, free: 3.828 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.7793, allocations: 90.12 kB / 0.5945 GB, free: 3.723 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.7793, allocations: 86.31 kB / 0.5946 GB, free: 3.633 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.7794, allocations: 29.7 kB / 0.5946 GB, free: 3.598 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.7794, allocations: 80.14 kB / 0.5947 GB, free: 3.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.7795, allocations: 11.12 kB / 0.5947 GB, free: 3.508 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.7795, allocations: 0.5625 kB / 0.5947 GB, free: 3.508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.7796, allocations: 315.7 kB / 0.595 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.7797, allocations: 8 kB / 0.595 GB, free: 3.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.111e-05/0.7797, allocations: 12.67 kB / 0.595 GB, free: 3.172 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.7797, allocations: 10.41 kB / 0.595 GB, free: 3.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7798, allocations: 4.594 kB / 0.595 GB, free: 3.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001173/0.7799, allocations: 55.19 kB / 0.5951 GB, free: 3.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.7799, allocations: 35.58 kB / 0.5951 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7799, allocations: 4.547 kB / 0.5951 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.78, allocations: 0 / 0.5951 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.793e-06/0.78, allocations: 0.7188 kB / 0.5951 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.78, allocations: 0.5469 kB / 0.5951 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.7801, allocations: 8.547 kB / 0.5951 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.7801, allocations: 5.938 kB / 0.5951 GB, free: 3.047 MB / 410.7 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 () * 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 0.0001081/0.7802, allocations: 143.4 kB / 0.5953 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.7803, allocations: 1.75 kB / 0.5953 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.7803, allocations: 13.44 kB / 0.5953 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7803, allocations: 0 / 0.5953 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7803, allocations: 0.9375 kB / 0.5953 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7803, allocations: 0 / 0.5953 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.7804, allocations: 134.2 kB / 0.5954 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7804, allocations: 0.6875 kB / 0.5954 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.7804, allocations: 1.781 kB / 0.5954 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7804, allocations: 0 / 0.5954 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.7805, allocations: 11.98 kB / 0.5954 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7805, allocations: 3.156 kB / 0.5954 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7805, allocations: 0 / 0.5954 GB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7806, allocations: 86.98 kB / 0.5955 GB, free: 2.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.7807, allocations: 84.69 kB / 0.5956 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.7807, allocations: 4.281 kB / 0.5956 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.7808, allocations: 11.98 kB / 0.5956 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.7808, allocations: 0 / 0.5956 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.7809, allocations: 4 kB / 0.5956 GB, free: 2.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.7809, allocations: 75.28 kB / 0.5957 GB, free: 2.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7809, allocations: 1.406 kB / 0.5957 GB, free: 2.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.7811, allocations: 16 kB / 0.5957 GB, free: 2.395 MB / 410.7 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 () * 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.0002888/0.7814, allocations: 124.8 kB / 0.5958 GB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.7816, allocations: 79.34 kB / 0.5959 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7816, allocations: 0 / 0.5959 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.7816, allocations: 67.33 kB / 0.596 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.7818, allocations: 8.516 kB / 0.596 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005728/0.7824, allocations: 169.1 kB / 0.5961 GB, free: 1.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.7827, allocations: 0.6729 MB / 0.5968 GB, free: 1.215 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.461e-05/0.7828, allocations: 8.891 kB / 0.5968 GB, free: 1.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.7828, allocations: 7.438 kB / 0.5968 GB, free: 1.203 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7828, allocations: 0 / 0.5968 GB, free: 1.203 MB / 410.7 MB Notification: Performance of Templates: time 0.00337/0.7862, allocations: 1.002 MB / 0.5978 GB, free: 272 kB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)