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.5663/0.5663, allocations: 94.69 MB / 107.2 MB, free: 5.184 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.001844/0.001844, allocations: 171.7 kB / 130.7 MB, free: 7.539 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.764/1.764, allocations: 170.5 MB / 324.5 MB, free: 4.059 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.001677/0.001678, allocations: 106.3 kB / 386.6 MB, free: 16.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.819e-05/4.822e-05, allocations: 7.938 kB / 456 MB, free: 11.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4908, allocations: 61.51 MB / 0.5054 GB, free: 49.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.6441, allocations: 93.95 MB / 0.5971 GB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.6444, allocations: 84.94 kB / 0.5972 GB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.6549, allocations: 3.808 MB / 0.6009 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.655, allocations: 4 kB / 0.601 GB, free: 13.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.655, allocations: 0 / 0.601 GB, free: 13.77 MB / 426.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.000315/0.6553, allocations: 341.3 kB / 0.6013 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.6554, allocations: 8.75 kB / 0.6013 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.6554, allocations: 4 kB / 0.6013 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.6556, allocations: 159.8 kB / 0.6014 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.6556, allocations: 7.969 kB / 0.6014 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.6556, allocations: 5.266 kB / 0.6015 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.6558, allocations: 61.03 kB / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6558, allocations: 3.953 kB / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.6558, allocations: 0 / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6558, allocations: 0 / 0.6015 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.634e-05/0.6559, allocations: 11.98 kB / 0.6015 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.656, allocations: 157.6 kB / 0.6017 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.261e-05/0.6561, allocations: 31.17 kB / 0.6017 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.6561, allocations: 13.8 kB / 0.6017 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.6561, allocations: 0 / 0.6017 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.6562, allocations: 39.69 kB / 0.6018 GB, free: 12.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.6562, allocations: 0.5625 kB / 0.6018 GB, free: 12.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002242/0.6564, allocations: 95.95 kB / 0.6019 GB, free: 12.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.6565, allocations: 82.23 kB / 0.6019 GB, free: 12.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.6566, allocations: 85.97 kB / 0.602 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.6566, allocations: 29.7 kB / 0.602 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.6566, allocations: 85.36 kB / 0.6021 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.6567, allocations: 8.469 kB / 0.6021 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.6567, allocations: 4 kB / 0.6021 GB, free: 12.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6568, allocations: 311.6 kB / 0.6024 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.6569, allocations: 12.8 kB / 0.6024 GB, free: 12.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.6569, allocations: 12 kB / 0.6025 GB, free: 12.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.6569, allocations: 34.58 kB / 0.6025 GB, free: 11.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.657, allocations: 2.312 kB / 0.6025 GB, free: 11.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001258/0.6571, allocations: 99.31 kB / 0.6026 GB, free: 11.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.6571, allocations: 29.7 kB / 0.6026 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.6571, allocations: 4 kB / 0.6026 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.6572, allocations: 0 / 0.6026 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.6572, allocations: 0 / 0.6026 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.6572, allocations: 5.609 kB / 0.6026 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.6573, allocations: 8.953 kB / 0.6026 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.6573, allocations: 5.781 kB / 0.6026 GB, free: 11.83 MB / 426.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 9.823e-05/0.6574, allocations: 137.1 kB / 0.6028 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.6574, allocations: 6.109 kB / 0.6028 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.6575, allocations: 11.08 kB / 0.6028 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.6575, allocations: 0 / 0.6028 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/0.6575, allocations: 3.984 kB / 0.6028 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6575, allocations: 7.953 kB / 0.6028 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.6576, allocations: 153.4 kB / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6576, allocations: 6.562 kB / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.6576, allocations: 0 / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6577, allocations: 0 / 0.6029 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6577, allocations: 7.938 kB / 0.603 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.6577, allocations: 0 / 0.603 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6577, allocations: 0 / 0.603 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.6578, allocations: 123.5 kB / 0.6031 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.6579, allocations: 81.11 kB / 0.6031 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.6579, allocations: 4.875 kB / 0.6032 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.658, allocations: 7.984 kB / 0.6032 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.6581, allocations: 6.719 kB / 0.6032 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.6581, allocations: 2.344 kB / 0.6032 GB, free: 11.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.502e-05/0.6581, allocations: 79.28 kB / 0.6032 GB, free: 11.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6581, allocations: 0 / 0.6032 GB, free: 11.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.6583, allocations: 12 kB / 0.6033 GB, free: 11.11 MB / 426.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.0002541/0.6586, allocations: 119.8 kB / 0.6034 GB, free: 10.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.6587, allocations: 88.03 kB / 0.6035 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6587, allocations: 3.75 kB / 0.6035 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.6588, allocations: 67.39 kB / 0.6035 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.6589, allocations: 12.03 kB / 0.6035 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.6595, allocations: 167.6 kB / 0.6037 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.6597, allocations: 0.677 MB / 0.6044 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.6598, allocations: 4 kB / 0.6044 GB, free: 9.918 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.08e-05/0.6598, allocations: 7.938 kB / 0.6044 GB, free: 9.914 MB / 426.7 MB Notification: Performance of SimCode: time 3.968e-06/0.6598, allocations: 0 / 0.6044 GB, free: 9.914 MB / 426.7 MB Notification: Performance of Templates: time 0.003105/0.6629, allocations: 1.031 MB / 0.6054 GB, free: 8.957 MB / 426.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)