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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001605/0.001605, allocations: 193 kB / 16.13 MB, free: 6.66 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.688/1.688, allocations: 205.1 MB / 222 MB, free: 4.73 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.5969/0.5969, allocations: 95.48 MB / 364.8 MB, free: 10.09 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.00129/0.00129, allocations: 71.91 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3519, allocations: 69.07 MB / 0.5017 GB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002467/0.3545, allocations: 0.6229 MB / 0.5023 GB, free: 17.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.3548, allocations: 119.7 kB / 0.5024 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.3548, allocations: 0 / 0.5024 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.872e-05/0.3549, allocations: 0 / 0.5024 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.355, allocations: 4 kB / 0.5024 GB, free: 16.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.3551, allocations: 31.97 kB / 0.5025 GB, free: 16.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.267e-05/0.3552, allocations: 19.98 kB / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.3553, allocations: 4 kB / 0.5025 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.3553, allocations: 15.92 kB / 0.5025 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.3553, allocations: 15.92 kB / 0.5025 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.3554, allocations: 4 kB / 0.5025 GB, free: 16.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.45e-05/0.3554, allocations: 8 kB / 0.5025 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.3554, allocations: 0 / 0.5025 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.3555, allocations: 19.97 kB / 0.5026 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.3556, allocations: 31.89 kB / 0.5026 GB, free: 16.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3556, allocations: 0 / 0.5026 GB, free: 16.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3556, allocations: 0 / 0.5026 GB, free: 16.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3556, allocations: 0 / 0.5026 GB, free: 16.83 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.0003162/0.3559, allocations: 357.2 kB / 0.5029 GB, free: 16.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.356, allocations: 11.98 kB / 0.5029 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.356, allocations: 8.938 kB / 0.5029 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3562, allocations: 160.4 kB / 0.5031 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3562, allocations: 8.375 kB / 0.5031 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.3562, allocations: 4.375 kB / 0.5031 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3563, allocations: 54.22 kB / 0.5032 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3563, allocations: 192 / 0.5032 GB, free: 16.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3564, allocations: 7.938 kB / 0.5032 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3564, allocations: 3.984 kB / 0.5032 GB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.917e-05/0.3564, allocations: 15.88 kB / 0.5032 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.3566, allocations: 153.7 kB / 0.5033 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.3566, allocations: 34.56 kB / 0.5034 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.3567, allocations: 16.91 kB / 0.5034 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.3567, allocations: 0 / 0.5034 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.3567, allocations: 34.56 kB / 0.5034 GB, free: 15.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.3567, allocations: 0 / 0.5034 GB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002465/0.357, allocations: 111.2 kB / 0.5035 GB, free: 15.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.357, allocations: 81.11 kB / 0.5036 GB, free: 15.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/0.3571, allocations: 102 kB / 0.5037 GB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.3571, allocations: 29.7 kB / 0.5037 GB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.3572, allocations: 80.14 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.3572, allocations: 5.875 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.3573, allocations: 21.72 kB / 0.5038 GB, free: 15.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.007e-05/0.3573, allocations: 314.8 kB / 0.5041 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.3574, allocations: 11.92 kB / 0.5041 GB, free: 15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.3574, allocations: 20.11 kB / 0.5042 GB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.234e-05/0.3575, allocations: 76.27 kB / 0.5042 GB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3575, allocations: 0 / 0.5042 GB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.3576, allocations: 103.3 kB / 0.5043 GB, free: 14.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.3577, allocations: 29.7 kB / 0.5044 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3577, allocations: 7.938 kB / 0.5044 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3577, allocations: 0 / 0.5044 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3577, allocations: 0 / 0.5044 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3577, allocations: 0 / 0.5044 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.3579, allocations: 12.08 kB / 0.5044 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3579, allocations: 4 kB / 0.5044 GB, free: 14.72 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 7.903e-05/0.358, allocations: 135.5 kB / 0.5045 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.358, allocations: 7.984 kB / 0.5045 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.811e-05/0.358, allocations: 15.02 kB / 0.5045 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.358, allocations: 0 / 0.5045 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.358, allocations: 0 / 0.5045 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.358, allocations: 4 kB / 0.5045 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.3581, allocations: 149.7 kB / 0.5047 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3581, allocations: 8 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3582, allocations: 0 / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3582, allocations: 0 / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3582, allocations: 7.938 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3582, allocations: 3.984 kB / 0.5047 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3582, allocations: 0 / 0.5047 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3583, allocations: 118.8 kB / 0.5048 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-05/0.3584, allocations: 85.09 kB / 0.5049 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.3584, allocations: 11.91 kB / 0.5049 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.3585, allocations: 4 kB / 0.5049 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.3585, allocations: 4 kB / 0.5049 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3585, allocations: 7.984 kB / 0.5049 GB, free: 14.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.788e-05/0.3586, allocations: 79.28 kB / 0.505 GB, free: 13.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 0 / 0.505 GB, free: 13.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000206/0.3588, allocations: 12 kB / 0.505 GB, free: 13.97 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.0002533/0.3591, allocations: 117.4 kB / 0.5051 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.3592, allocations: 87.31 kB / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3592, allocations: 0 / 0.5052 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.3592, allocations: 71.39 kB / 0.5053 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.3594, allocations: 8 kB / 0.5053 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.3597, allocations: 110.9 kB / 0.5054 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.3598, allocations: 0.6769 MB / 0.506 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.3599, allocations: 4 kB / 0.506 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.3599, allocations: 7.438 kB / 0.5061 GB, free: 12.82 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.36, allocations: 0 / 0.5061 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002932/0.3629, allocations: 1.062 MB / 0.5071 GB, free: 11.77 MB / 382.1 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)