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.0008925/0.0008929, allocations: 88.41 kB / 15.36 MB, free: 0.7344 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.007243/0.007243, allocations: 170.5 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.6667/0.6667, allocations: 95.64 MB / 366.4 MB, free: 10.3 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.0005987/0.0005986, allocations: 12 kB / 447.5 MB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3906, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0009925/0.3917, allocations: 290.9 kB / 0.506 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000282/0.392, allocations: 111.7 kB / 0.5061 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.258e-05/0.392, allocations: 0 / 0.5061 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3921, allocations: 7.984 kB / 0.5061 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.3922, allocations: 0 / 0.5061 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.3924, allocations: 35.91 kB / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.3924, allocations: 23.92 kB / 0.5061 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.3925, allocations: 7.984 kB / 0.5061 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.3926, allocations: 15.98 kB / 0.5062 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.3926, allocations: 11.92 kB / 0.5062 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.3926, allocations: 0 / 0.5062 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.453e-05/0.3927, allocations: 16 kB / 0.5062 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.3927, allocations: 0 / 0.5062 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3928, allocations: 33.69 kB / 0.5062 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3929, allocations: 31.91 kB / 0.5062 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3929, allocations: 0 / 0.5062 GB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3929, allocations: 0 / 0.5062 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3929, allocations: 0 / 0.5062 GB, free: 15.77 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.0003297/0.3933, allocations: 353.2 kB / 0.5066 GB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.3933, allocations: 11.98 kB / 0.5066 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.3934, allocations: 4.938 kB / 0.5066 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3935, allocations: 164.4 kB / 0.5068 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3935, allocations: 384 / 0.5068 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.3935, allocations: 8.375 kB / 0.5068 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3936, allocations: 54.23 kB / 0.5068 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3937, allocations: 192 / 0.5068 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3937, allocations: 3.938 kB / 0.5068 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3937, allocations: 3.938 kB / 0.5068 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.3937, allocations: 15.98 kB / 0.5068 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.3939, allocations: 153.7 kB / 0.507 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.3939, allocations: 22.61 kB / 0.507 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.394, allocations: 24.91 kB / 0.507 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.394, allocations: 7.984 kB / 0.507 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.617e-05/0.394, allocations: 30.56 kB / 0.5071 GB, free: 14.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.394, allocations: 0 / 0.5071 GB, free: 14.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002554/0.3943, allocations: 111.2 kB / 0.5072 GB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3943, allocations: 85.09 kB / 0.5073 GB, free: 14.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.3944, allocations: 97.98 kB / 0.5073 GB, free: 14.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3944, allocations: 25.7 kB / 0.5074 GB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.3945, allocations: 84.08 kB / 0.5074 GB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.3945, allocations: 9.953 kB / 0.5075 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.3945, allocations: 9.719 kB / 0.5075 GB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3946, allocations: 314.8 kB / 0.5078 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.3946, allocations: 15.92 kB / 0.5078 GB, free: 13.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.318e-05/0.3947, allocations: 15.98 kB / 0.5078 GB, free: 13.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.405e-05/0.3947, allocations: 84.39 kB / 0.5079 GB, free: 13.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3948, allocations: 0 / 0.5079 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001048/0.3949, allocations: 99.28 kB / 0.508 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.3949, allocations: 33.7 kB / 0.508 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3949, allocations: 3.938 kB / 0.508 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3949, allocations: 0 / 0.508 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.3949, allocations: 4 kB / 0.508 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.395, allocations: 0 / 0.508 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3951, allocations: 7.984 kB / 0.508 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3951, allocations: 4 kB / 0.508 GB, free: 13.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.3952, allocations: 139.6 kB / 0.5082 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.3952, allocations: 4 kB / 0.5082 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.3953, allocations: 15 kB / 0.5082 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3953, allocations: 4 kB / 0.5082 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3953, allocations: 0 / 0.5082 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3953, allocations: 0 / 0.5082 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.3954, allocations: 153.7 kB / 0.5083 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3954, allocations: 0 / 0.5083 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3954, allocations: 0 / 0.5083 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3954, allocations: 8 kB / 0.5083 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.3954, allocations: 3.938 kB / 0.5083 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3954, allocations: 3.938 kB / 0.5083 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3954, allocations: 4 kB / 0.5083 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3956, allocations: 118.8 kB / 0.5085 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3956, allocations: 81.09 kB / 0.5085 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3956, allocations: 7.938 kB / 0.5085 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.3957, allocations: 8.031 kB / 0.5086 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.3958, allocations: 4 kB / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3958, allocations: 7.984 kB / 0.5086 GB, free: 13.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.385e-05/0.3958, allocations: 79.28 kB / 0.5086 GB, free: 12.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3958, allocations: 0 / 0.5086 GB, free: 12.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000191/0.396, allocations: 12 kB / 0.5087 GB, free: 12.93 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000629/0.3966, allocations: 122 kB / 0.5088 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.3968, allocations: 87.31 kB / 0.5088 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3968, allocations: 0 / 0.5088 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.3968, allocations: 71.39 kB / 0.5089 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.397, allocations: 5.969 kB / 0.5089 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.3973, allocations: 102.9 kB / 0.509 GB, free: 12.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3974, allocations: 0.6848 MB / 0.5097 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.761e-05/0.3975, allocations: 4 kB / 0.5097 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.027e-05/0.3975, allocations: 7.438 kB / 0.5097 GB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3975, allocations: 0 / 0.5097 GB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.002971/0.4005, allocations: 1.047 MB / 0.5107 GB, free: 10.74 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: