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.5377/0.5377, allocations: 95.62 MB / 110.6 MB, free: 9.379 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.001087/0.001087, allocations: 181 kB / 134.2 MB, free: 2.258 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.472/1.472, allocations: 170.7 MB / 328.4 MB, free: 12.26 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.001767/0.001767, allocations: 99.34 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004247, allocations: 11.98 kB / 462.7 MB, free: 35.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 61.52 MB / 0.512 GB, free: 6.062 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5073/0.6605, allocations: 94.05 MB / 0.6038 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.6608, allocations: 86.14 kB / 0.6039 GB, free: 13.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009774/0.6706, allocations: 3.815 MB / 0.6076 GB, free: 9.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6707, allocations: 0 / 0.6076 GB, free: 9.961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.6707, allocations: 0 / 0.6076 GB, free: 9.961 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.0003492/0.671, allocations: 341.1 kB / 0.608 GB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6711, allocations: 15.97 kB / 0.608 GB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.6711, allocations: 4 kB / 0.608 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.6713, allocations: 167 kB / 0.6081 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.6713, allocations: 4 kB / 0.6081 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.6713, allocations: 4 kB / 0.6081 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.6715, allocations: 52.69 kB / 0.6082 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.6715, allocations: 0 / 0.6082 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6715, allocations: 0 / 0.6082 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6715, allocations: 0 / 0.6082 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.6716, allocations: 19.17 kB / 0.6082 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.6718, allocations: 153.6 kB / 0.6084 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.6718, allocations: 33.72 kB / 0.6084 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.6718, allocations: 4.062 kB / 0.6084 GB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.6719, allocations: 34.56 kB / 0.6084 GB, free: 8.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.6719, allocations: 0 / 0.6084 GB, free: 8.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002652/0.6721, allocations: 111.1 kB / 0.6085 GB, free: 8.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.6722, allocations: 77.11 kB / 0.6086 GB, free: 8.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.6723, allocations: 93.12 kB / 0.6087 GB, free: 8.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.6723, allocations: 29.7 kB / 0.6087 GB, free: 8.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.6724, allocations: 83.39 kB / 0.6088 GB, free: 8.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.6724, allocations: 16.39 kB / 0.6088 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/0.6724, allocations: 4 kB / 0.6088 GB, free: 8.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6726, allocations: 310.8 kB / 0.6091 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.6726, allocations: 11.81 kB / 0.6091 GB, free: 8.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.39e-05/0.6726, allocations: 7.984 kB / 0.6091 GB, free: 8.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.6727, allocations: 41.27 kB / 0.6092 GB, free: 8.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6727, allocations: 0 / 0.6092 GB, free: 8.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001262/0.6728, allocations: 95.25 kB / 0.6093 GB, free: 8.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.6729, allocations: 29.7 kB / 0.6093 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6729, allocations: 3.938 kB / 0.6093 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.6729, allocations: 7.984 kB / 0.6093 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.6729, allocations: 0 / 0.6093 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.6729, allocations: 3.953 kB / 0.6093 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.673, allocations: 7.984 kB / 0.6093 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.6731, allocations: 11.59 kB / 0.6093 GB, free: 8.02 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 () * 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 0.0001235/0.6732, allocations: 135.5 kB / 0.6095 GB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.6732, allocations: 4 kB / 0.6095 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.677e-05/0.6732, allocations: 7.078 kB / 0.6095 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.6732, allocations: 0 / 0.6095 GB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6733, allocations: 3.984 kB / 0.6095 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6733, allocations: 3.953 kB / 0.6095 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.6734, allocations: 153.2 kB / 0.6096 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.6734, allocations: 0 / 0.6096 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6734, allocations: 4 kB / 0.6096 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.6734, allocations: 4 kB / 0.6096 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6734, allocations: 0 / 0.6096 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6734, allocations: 4 kB / 0.6096 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6734, allocations: 0 / 0.6096 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.6736, allocations: 124.4 kB / 0.6098 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.6736, allocations: 77.11 kB / 0.6098 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.6737, allocations: 4 kB / 0.6098 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.706e-05/0.6738, allocations: 12.02 kB / 0.6098 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.6738, allocations: 7.5 kB / 0.6099 GB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.6738, allocations: 4 kB / 0.6099 GB, free: 7.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.236e-05/0.6739, allocations: 75.28 kB / 0.6099 GB, free: 7.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.823e-06/0.6739, allocations: 0 / 0.6099 GB, free: 7.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.674, allocations: 19.94 kB / 0.6099 GB, free: 7.301 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 () * 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.000293/0.6743, allocations: 126.2 kB / 0.6101 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.6745, allocations: 81.77 kB / 0.6101 GB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6745, allocations: 0 / 0.6101 GB, free: 7.086 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.973e-05/0.6746, allocations: 70.77 kB / 0.6102 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.6747, allocations: 0 / 0.6102 GB, free: 7.008 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.6753, allocations: 209.2 kB / 0.6104 GB, free: 6.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.6756, allocations: 0.677 MB / 0.6111 GB, free: 6.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.6756, allocations: 3.938 kB / 0.6111 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.6757, allocations: 11.44 kB / 0.6111 GB, free: 6.074 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6757, allocations: 0 / 0.6111 GB, free: 6.074 MB / 410.7 MB Notification: Performance of Templates: time 0.003198/0.6789, allocations: 1.012 MB / 0.6121 GB, free: 5.074 MB / 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)