Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1522/0.1529, allocations: 82.21 MB / 0.5935 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0009602/0.1539, allocations: 311.5 kB / 0.5938 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.1542, allocations: 99.88 kB / 0.5939 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.949e-05/0.1542, allocations: 3.938 kB / 0.5939 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1543, allocations: 4 kB / 0.5939 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.937e-05/0.1544, allocations: 3.938 kB / 0.5939 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.1545, allocations: 35.95 kB / 0.5939 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.042e-05/0.1546, allocations: 15.98 kB / 0.5939 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.1547, allocations: 8 kB / 0.5939 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.1547, allocations: 15.98 kB / 0.594 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.1548, allocations: 11.92 kB / 0.594 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1548, allocations: 0 / 0.594 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.878e-05/0.1548, allocations: 12 kB / 0.594 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-06/0.1548, allocations: 0 / 0.594 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1549, allocations: 29.7 kB / 0.594 GB, free: 5.426 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.429e-05/0.1549, allocations: 19.95 kB / 0.594 GB, free: 5.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.155, allocations: 0 / 0.594 GB, free: 5.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.155, allocations: 0 / 0.594 GB, free: 5.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.778e-06/0.155, allocations: 4 kB / 0.594 GB, free: 5.402 MB / 446.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.0002666/0.1552, allocations: 341.1 kB / 0.5944 GB, free: 5.016 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1553, allocations: 8.031 kB / 0.5944 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.1553, allocations: 7.906 kB / 0.5944 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1554, allocations: 163.3 kB / 0.5945 GB, free: 4.801 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1555, allocations: 4 kB / 0.5945 GB, free: 4.797 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.1555, allocations: 7.938 kB / 0.5945 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1556, allocations: 53.62 kB / 0.5946 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1556, allocations: 4 kB / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1556, allocations: 7.938 kB / 0.5946 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1556, allocations: 0 / 0.5946 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.613e-05/0.1557, allocations: 15.98 kB / 0.5946 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.1558, allocations: 149.6 kB / 0.5948 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.1559, allocations: 34.56 kB / 0.5948 GB, free: 4.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.391e-05/0.1559, allocations: 16.92 kB / 0.5948 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.1559, allocations: 0 / 0.5948 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.156, allocations: 34.56 kB / 0.5948 GB, free: 4.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.156, allocations: 0 / 0.5948 GB, free: 4.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002214/0.1562, allocations: 119.2 kB / 0.5949 GB, free: 4.273 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1563, allocations: 81.11 kB / 0.595 GB, free: 4.176 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.1563, allocations: 93.86 kB / 0.5951 GB, free: 4.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1564, allocations: 29.7 kB / 0.5951 GB, free: 4.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.1564, allocations: 80.14 kB / 0.5952 GB, free: 3.957 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.1564, allocations: 4.25 kB / 0.5952 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.795e-06/0.1564, allocations: 4 kB / 0.5952 GB, free: 3.949 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1565, allocations: 314.8 kB / 0.5955 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.1566, allocations: 12 kB / 0.5955 GB, free: 3.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.1566, allocations: 15.92 kB / 0.5956 GB, free: 3.605 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.1567, allocations: 33.7 kB / 0.5956 GB, free: 3.566 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1567, allocations: 0 / 0.5956 GB, free: 3.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000127/0.1568, allocations: 99.31 kB / 0.5957 GB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.577e-05/0.1568, allocations: 37.8 kB / 0.5957 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1569, allocations: 0 / 0.5957 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1569, allocations: 3.953 kB / 0.5957 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1569, allocations: 0 / 0.5957 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1569, allocations: 3.984 kB / 0.5957 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.157, allocations: 11.98 kB / 0.5957 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.157, allocations: 4 kB / 0.5957 GB, free: 3.391 MB / 446.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 9.637e-05/0.1571, allocations: 140.4 kB / 0.5959 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.1572, allocations: 7.906 kB / 0.5959 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.1572, allocations: 11.11 kB / 0.5959 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1572, allocations: 3.953 kB / 0.5959 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1572, allocations: 3.938 kB / 0.5959 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1572, allocations: 0 / 0.5959 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.1573, allocations: 153.7 kB / 0.596 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1573, allocations: 0 / 0.596 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.1573, allocations: 0 / 0.596 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1573, allocations: 0 / 0.596 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1573, allocations: 4 kB / 0.5961 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1574, allocations: 4 kB / 0.5961 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.1574, allocations: 3.953 kB / 0.5961 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1575, allocations: 130.8 kB / 0.5962 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.1576, allocations: 81.09 kB / 0.5963 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1576, allocations: 4 kB / 0.5963 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.263e-05/0.1577, allocations: 4 kB / 0.5963 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.1577, allocations: 0 / 0.5963 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1577, allocations: 15.94 kB / 0.5963 GB, free: 2.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.1578, allocations: 79.31 kB / 0.5964 GB, free: 2.648 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1578, allocations: 0 / 0.5964 GB, free: 2.648 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.158, allocations: 16 kB / 0.5964 GB, free: 2.633 MB / 446.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.0002293/0.1582, allocations: 120.4 kB / 0.5965 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.1584, allocations: 87.47 kB / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1584, allocations: 0 / 0.5966 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.469e-05/0.1584, allocations: 75.33 kB / 0.5966 GB, free: 2.328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.1586, allocations: 8 kB / 0.5967 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.1589, allocations: 98.69 kB / 0.5967 GB, free: 2.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1591, allocations: 0.6731 MB / 0.5974 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.1592, allocations: 4 kB / 0.5974 GB, free: 1.492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.488e-06/0.1592, allocations: 7.438 kB / 0.5974 GB, free: 1.484 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1592, allocations: 4.125 kB / 0.5974 GB, free: 1.48 MB / 446.1 MB Notification: Performance of Templates: time 0.002971/0.1622, allocations: 1.01 MB / 0.5984 GB, free: 0.5195 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) Environment - environmentSimulation: