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.152/0.1528, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0008941/0.1537, allocations: 296.9 kB / 0.5944 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.154, allocations: 107.8 kB / 0.5945 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.618e-05/0.1541, allocations: 8 kB / 0.5945 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.483e-05/0.1542, allocations: 3.984 kB / 0.5945 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.213e-05/0.1542, allocations: 0 / 0.5945 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1544, allocations: 35.97 kB / 0.5946 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.1545, allocations: 23.92 kB / 0.5946 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.1545, allocations: 0 / 0.5946 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.1546, allocations: 19.92 kB / 0.5946 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.1546, allocations: 23.97 kB / 0.5946 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1546, allocations: 0 / 0.5946 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.1547, allocations: 8 kB / 0.5946 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.1547, allocations: 0 / 0.5946 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1548, allocations: 33.7 kB / 0.5947 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.1549, allocations: 35.89 kB / 0.5947 GB, free: 4.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1549, allocations: 0 / 0.5947 GB, free: 4.992 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1549, allocations: 3.938 kB / 0.5947 GB, free: 4.988 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1549, allocations: 0 / 0.5947 GB, free: 4.988 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.0003179/0.1552, allocations: 341.3 kB / 0.595 GB, free: 4.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1553, allocations: 12.03 kB / 0.595 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1553, allocations: 8.844 kB / 0.595 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1554, allocations: 172.6 kB / 0.5952 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1555, allocations: 4.375 kB / 0.5952 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1555, allocations: 4.375 kB / 0.5952 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.1556, allocations: 53.8 kB / 0.5953 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1556, allocations: 3.938 kB / 0.5953 GB, free: 4.305 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.1556, allocations: 4 kB / 0.5953 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1557, allocations: 4 kB / 0.5953 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.558e-05/0.1557, allocations: 15.98 kB / 0.5953 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.1558, allocations: 153.6 kB / 0.5954 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.1559, allocations: 30.61 kB / 0.5955 GB, free: 4.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.388e-05/0.156, allocations: 16.91 kB / 0.5955 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.156, allocations: 0 / 0.5955 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.156, allocations: 34.5 kB / 0.5955 GB, free: 3.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.156, allocations: 0 / 0.5955 GB, free: 3.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000226/0.1562, allocations: 115.3 kB / 0.5956 GB, free: 3.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1563, allocations: 81.09 kB / 0.5957 GB, free: 3.758 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.072e-05/0.1564, allocations: 97.8 kB / 0.5958 GB, free: 3.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1564, allocations: 29.7 kB / 0.5958 GB, free: 3.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.1565, allocations: 84.14 kB / 0.5959 GB, free: 3.531 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1565, allocations: 0 / 0.5959 GB, free: 3.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.1565, allocations: 13.72 kB / 0.5959 GB, free: 3.512 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1566, allocations: 315.1 kB / 0.5962 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.261e-05/0.1567, allocations: 15.98 kB / 0.5962 GB, free: 3.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.492e-05/0.1567, allocations: 8 kB / 0.5962 GB, free: 3.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.1568, allocations: 84.19 kB / 0.5963 GB, free: 3.074 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1568, allocations: 0 / 0.5963 GB, free: 3.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001402/0.1569, allocations: 99.31 kB / 0.5964 GB, free: 2.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.157, allocations: 33.7 kB / 0.5965 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.157, allocations: 0 / 0.5965 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.157, allocations: 0 / 0.5965 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.157, allocations: 4.094 kB / 0.5965 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.157, allocations: 0 / 0.5965 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1572, allocations: 11.89 kB / 0.5965 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.1572, allocations: 4 kB / 0.5965 GB, free: 2.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.1573, allocations: 144.4 kB / 0.5966 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1573, allocations: 3.938 kB / 0.5966 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.197e-05/0.1574, allocations: 11.11 kB / 0.5966 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1574, allocations: 3.938 kB / 0.5966 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1574, allocations: 4 kB / 0.5966 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1574, allocations: 0 / 0.5966 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.1575, allocations: 153.7 kB / 0.5968 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1575, allocations: 0 / 0.5968 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.044e-06/0.1575, allocations: 3.938 kB / 0.5968 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1575, allocations: 0 / 0.5968 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1575, allocations: 11.94 kB / 0.5968 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1575, allocations: 0 / 0.5968 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1575, allocations: 0 / 0.5968 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.1577, allocations: 122.8 kB / 0.5969 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1578, allocations: 85.03 kB / 0.597 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.1578, allocations: 8 kB / 0.597 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.1579, allocations: 4 kB / 0.597 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.1579, allocations: 0 / 0.597 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.1579, allocations: 7.938 kB / 0.597 GB, free: 2.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.378e-05/0.158, allocations: 79.27 kB / 0.5971 GB, free: 2.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.158, allocations: 0 / 0.5971 GB, free: 2.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.1582, allocations: 16.12 kB / 0.5971 GB, free: 2.152 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 (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.0002271/0.1584, allocations: 109.4 kB / 0.5972 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.1586, allocations: 91.31 kB / 0.5973 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1586, allocations: 0 / 0.5973 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.1586, allocations: 75.45 kB / 0.5974 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.1588, allocations: 11.94 kB / 0.5974 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.1591, allocations: 101.3 kB / 0.5975 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1593, allocations: 0.6731 MB / 0.5981 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.1594, allocations: 4 kB / 0.5981 GB, free: 1.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.1594, allocations: 11.38 kB / 0.5981 GB, free: 1 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1594, allocations: 0 / 0.5981 GB, free: 1 MB / 446.1 MB Notification: Performance of Templates: time 0.003369/0.1628, allocations: 1.051 MB / 0.5992 GB, free: 15.99 MB / 462.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: