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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008804/0.0008804, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5716/0.5716, allocations: 95.57 MB / 366 MB, free: 10.39 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005272/0.0005274, allocations: 12 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3056, allocations: 70.35 MB / 0.505 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007248/0.3063, allocations: 282.4 kB / 0.5053 GB, free: 16.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001837/0.3065, allocations: 99.78 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.3066, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.399e-05/0.3067, allocations: 7.938 kB / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.041e-05/0.3067, allocations: 0 / 0.5054 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3068, allocations: 35.91 kB / 0.5054 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.492e-05/0.3069, allocations: 19.97 kB / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.307, allocations: 3.938 kB / 0.5054 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.307, allocations: 15.98 kB / 0.5055 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.717e-05/0.307, allocations: 4 kB / 0.5055 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3071, allocations: 4 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.413e-05/0.3071, allocations: 4 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.3071, allocations: 3.984 kB / 0.5055 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.3071, allocations: 37.64 kB / 0.5055 GB, free: 16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.87e-05/0.3072, allocations: 15.97 kB / 0.5055 GB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.3072, allocations: 0 / 0.5055 GB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3072, allocations: 0 / 0.5055 GB, free: 15.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.3072, allocations: 4 kB / 0.5055 GB, free: 15.98 MB / 382.1 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.0002148/0.3074, allocations: 345 kB / 0.5059 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3075, allocations: 11.98 kB / 0.5059 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.3075, allocations: 4 kB / 0.5059 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.3076, allocations: 163.1 kB / 0.506 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3076, allocations: 23.81 kB / 0.506 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.3077, allocations: 4 kB / 0.5061 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.3078, allocations: 53.66 kB / 0.5061 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3078, allocations: 0 / 0.5061 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3078, allocations: 0 / 0.5061 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3078, allocations: 4 kB / 0.5061 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.3078, allocations: 4 kB / 0.5061 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.553e-05/0.3079, allocations: 153.7 kB / 0.5063 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.855e-05/0.308, allocations: 42.59 kB / 0.5063 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.308, allocations: 3.953 kB / 0.5063 GB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.308, allocations: 30.56 kB / 0.5063 GB, free: 14.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.308, allocations: 0 / 0.5063 GB, free: 14.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001954/0.3082, allocations: 99.38 kB / 0.5064 GB, free: 14.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3083, allocations: 89.09 kB / 0.5065 GB, free: 14.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.815e-05/0.3083, allocations: 94.08 kB / 0.5066 GB, free: 14.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.3083, allocations: 29.73 kB / 0.5066 GB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.3084, allocations: 80.14 kB / 0.5067 GB, free: 14.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3084, allocations: 5.969 kB / 0.5067 GB, free: 14.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3084, allocations: 0 / 0.5067 GB, free: 14.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.3085, allocations: 310.8 kB / 0.507 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.3085, allocations: 19.92 kB / 0.507 GB, free: 14.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.089e-05/0.3085, allocations: 11.94 kB / 0.507 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.286e-05/0.3086, allocations: 41.69 kB / 0.5071 GB, free: 14.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3086, allocations: 4.062 kB / 0.5071 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001009/0.3087, allocations: 95.3 kB / 0.5072 GB, free: 14.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.3087, allocations: 37.64 kB / 0.5072 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3087, allocations: 4 kB / 0.5072 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3087, allocations: 0 / 0.5072 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.3087, allocations: 0 / 0.5072 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3087, allocations: 0 / 0.5072 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3089, allocations: 8 kB / 0.5072 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.3089, allocations: 7.984 kB / 0.5072 GB, free: 13.99 MB / 382.1 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 6.082e-05/0.309, allocations: 139.6 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.309, allocations: 4 kB / 0.5074 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.309, allocations: 11.03 kB / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.309, allocations: 0 / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.309, allocations: 4 kB / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.309, allocations: 4 kB / 0.5074 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.898e-05/0.3091, allocations: 157.6 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3091, allocations: 4 kB / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3091, allocations: 0 / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3091, allocations: 0 / 0.5075 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3091, allocations: 11.94 kB / 0.5075 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3091, allocations: 3.953 kB / 0.5076 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3091, allocations: 0 / 0.5076 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.3092, allocations: 118.8 kB / 0.5077 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.3093, allocations: 81.11 kB / 0.5077 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.3093, allocations: 0 / 0.5077 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3094, allocations: 7.984 kB / 0.5077 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.3094, allocations: 11.98 kB / 0.5078 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3094, allocations: 4 kB / 0.5078 GB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.675e-05/0.3095, allocations: 79.28 kB / 0.5078 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3095, allocations: 0 / 0.5078 GB, free: 13.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.3096, allocations: 12 kB / 0.5079 GB, free: 13.24 MB / 382.1 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.0002182/0.3099, allocations: 129.3 kB / 0.508 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.31, allocations: 83.33 kB / 0.5081 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.31, allocations: 0 / 0.5081 GB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.3101, allocations: 71.39 kB / 0.5081 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.673e-05/0.3102, allocations: 4 kB / 0.5081 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.3104, allocations: 98.67 kB / 0.5082 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.257e-05/0.3105, allocations: 0.6772 MB / 0.5089 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.593e-05/0.3106, allocations: 11.98 kB / 0.5089 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-06/0.3106, allocations: 7.438 kB / 0.5089 GB, free: 12.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3106, allocations: 0 / 0.5089 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Templates: time 0.002781/0.3134, allocations: 1.002 MB / 0.5099 GB, free: 11.1 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: