Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.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.00111/0.00111, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001603/0.001603, allocations: 172.7 kB / 15.95 MB, free: 208 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.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 252 MB / 0.5102 GB, free: 4.848 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005731/0.0005733, allocations: 23.28 kB / 0.6243 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.483/0.4836, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008359/0.4845, allocations: 283.8 kB / 0.7284 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000285/0.4848, allocations: 114.5 kB / 0.7285 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.4848, allocations: 0 / 0.7285 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.425e-05/0.4849, allocations: 4 kB / 0.7285 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.485, allocations: 3.938 kB / 0.7285 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.4851, allocations: 35.95 kB / 0.7286 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.4852, allocations: 23.98 kB / 0.7286 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4852, allocations: 0 / 0.7286 GB, free: 11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.4853, allocations: 15.98 kB / 0.7286 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.4853, allocations: 15.91 kB / 0.7286 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.4853, allocations: 4 kB / 0.7286 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.893e-05/0.4854, allocations: 8 kB / 0.7286 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.4854, allocations: 0 / 0.7286 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.4854, allocations: 29.7 kB / 0.7286 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.777e-05/0.4855, allocations: 11.98 kB / 0.7287 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4855, allocations: 0 / 0.7287 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4855, allocations: 4 kB / 0.7287 GB, free: 10.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.4855, allocations: 0 / 0.7287 GB, free: 10.9 MB / 0.545 GB 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.0004428/0.486, allocations: 349 kB / 0.729 GB, free: 10.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.486, allocations: 12.03 kB / 0.729 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.486, allocations: 4 kB / 0.729 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.4862, allocations: 167 kB / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4862, allocations: 0 / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.4862, allocations: 4 kB / 0.7292 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4863, allocations: 61.59 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.4864, allocations: 7.938 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.4864, allocations: 0 / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4864, allocations: 3.938 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.031e-05/0.4864, allocations: 19.97 kB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.4866, allocations: 153.6 kB / 0.7294 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.575e-05/0.4867, allocations: 26.61 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.4867, allocations: 20.91 kB / 0.7295 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.4867, allocations: 4 kB / 0.7295 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.4868, allocations: 34.56 kB / 0.7295 GB, free: 9.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4868, allocations: 3.938 kB / 0.7295 GB, free: 9.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002163/0.487, allocations: 99.38 kB / 0.7296 GB, free: 9.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.487, allocations: 85.11 kB / 0.7297 GB, free: 9.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.4871, allocations: 93.84 kB / 0.7298 GB, free: 9.566 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4871, allocations: 29.7 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.4872, allocations: 84.39 kB / 0.7299 GB, free: 9.445 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.4872, allocations: 9.875 kB / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.4872, allocations: 0 / 0.7299 GB, free: 9.438 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4873, allocations: 310.8 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.4874, allocations: 15.98 kB / 0.7302 GB, free: 9.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.4874, allocations: 8 kB / 0.7302 GB, free: 9.102 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.4874, allocations: 45.64 kB / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4875, allocations: 0 / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001695/0.4876, allocations: 99.39 kB / 0.7303 GB, free: 8.941 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.4877, allocations: 33.69 kB / 0.7304 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4877, allocations: 0 / 0.7304 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.4877, allocations: 0 / 0.7304 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/0.4877, allocations: 4 kB / 0.7304 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.4877, allocations: 0 / 0.7304 GB, free: 8.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4878, allocations: 8 kB / 0.7304 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.4879, allocations: 4 kB / 0.7304 GB, free: 8.887 MB / 0.545 GB 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 8.147e-05/0.4879, allocations: 143.5 kB / 0.7305 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.488, allocations: 8.031 kB / 0.7305 GB, free: 8.723 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.967e-06/0.488, allocations: 3.125 kB / 0.7305 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.488, allocations: 0 / 0.7305 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.488, allocations: 0 / 0.7305 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.488, allocations: 0 / 0.7305 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.4881, allocations: 157.7 kB / 0.7307 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.4882, allocations: 3.953 kB / 0.7307 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.4882, allocations: 3.938 kB / 0.7307 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4882, allocations: 4 kB / 0.7307 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.4882, allocations: 0 / 0.7307 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4882, allocations: 0 / 0.7307 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.4882, allocations: 11.94 kB / 0.7307 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.4883, allocations: 122.8 kB / 0.7308 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.4884, allocations: 81.06 kB / 0.7309 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4884, allocations: 4 kB / 0.7309 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4885, allocations: 11.98 kB / 0.7309 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.4886, allocations: 4 kB / 0.7309 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.4886, allocations: 8.031 kB / 0.7309 GB, free: 8.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.4886, allocations: 79.28 kB / 0.731 GB, free: 8.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4886, allocations: 0 / 0.731 GB, free: 8.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001936/0.4888, allocations: 12 kB / 0.731 GB, free: 8.133 MB / 0.545 GB 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.4891, allocations: 116 kB / 0.7311 GB, free: 8.012 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.4892, allocations: 87.42 kB / 0.7312 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4892, allocations: 0 / 0.7312 GB, free: 7.914 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.741e-05/0.4893, allocations: 71.39 kB / 0.7313 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.4894, allocations: 4.938 kB / 0.7313 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.4897, allocations: 106.6 kB / 0.7314 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.49, allocations: 0.6692 MB / 0.732 GB, free: 7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.682e-05/0.4901, allocations: 7.984 kB / 0.732 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.4901, allocations: 11.56 kB / 0.7321 GB, free: 6.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4901, allocations: 3.938 kB / 0.7321 GB, free: 6.977 MB / 0.545 GB Notification: Performance of Templates: time 0.003337/0.4935, allocations: 1.015 MB / 0.733 GB, free: 5.977 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) Environment - environmentSimulation: