Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 288.4 MB / 303.7 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009469/0.000947, allocations: 181.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.4 MB / 0.631 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007802, allocations: 106.2 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 15.19 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0006474/0.1768, allocations: 270.2 kB / 0.9804 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1781, allocations: 1.2 MB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.1781, allocations: 4 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.151e-05/0.1782, allocations: 4 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.1783, allocations: 3.938 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.1788, allocations: 251.5 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.1788, allocations: 59.88 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.541e-05/0.1789, allocations: 8 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.1789, allocations: 51.88 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.179, allocations: 35.84 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.179, allocations: 4 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1793, allocations: 195.6 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1793, allocations: 4 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.1794, allocations: 65.53 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1796, allocations: 187.7 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1796, allocations: 11.94 kB / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1796, allocations: 0 / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.1796, allocations: 0 / 0.9824 GB, free: 24.97 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002519/0.1798, allocations: 421.4 kB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1799, allocations: 12.03 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1799, allocations: 4.938 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.18, allocations: 180.2 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.18, allocations: 4.375 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1801, allocations: 4.375 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1802, allocations: 137.6 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.1802, allocations: 0 / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1803, allocations: 0 / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1803, allocations: 0 / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.1804, allocations: 71.94 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.111e-05/0.1805, allocations: 149.7 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.1806, allocations: 118.5 kB / 0.9835 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.1807, allocations: 104.9 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.1807, allocations: 4 kB / 0.9836 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.1807, allocations: 46.38 kB / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.1807, allocations: 0 / 0.9836 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003967/0.1811, allocations: 287.1 kB / 0.9839 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1812, allocations: 89.11 kB / 0.984 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.779e-05/0.1812, allocations: 121.8 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1812, allocations: 29.7 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.738e-05/0.1813, allocations: 88.17 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1813, allocations: 15.81 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.1813, allocations: 4 kB / 0.9842 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.1814, allocations: 318.8 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.1814, allocations: 63.89 kB / 0.9846 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1815, allocations: 59.94 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.1817, allocations: 180.2 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1817, allocations: 0 / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002309/0.1819, allocations: 231.1 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.1819, allocations: 51.47 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.182, allocations: 4 kB / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.182, allocations: 0 / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.182, allocations: 0 / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.182, allocations: 0 / 0.9851 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.1823, allocations: 27.89 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.1823, allocations: 15.98 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * 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.259e-05/0.1824, allocations: 171.4 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1824, allocations: 15.84 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-06/0.1824, allocations: 12.38 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.1824, allocations: 0 / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1825, allocations: 0 / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1825, allocations: 0 / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.329e-05/0.1825, allocations: 177.5 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1825, allocations: 0 / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.1826, allocations: 3.938 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1826, allocations: 256 / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1826, allocations: 12.36 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1826, allocations: 4 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1826, allocations: 4 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1829, allocations: 290.6 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.1829, allocations: 92.97 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.1829, allocations: 4 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.1831, allocations: 23.97 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.1832, allocations: 7.984 kB / 0.9859 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1832, allocations: 16 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.1832, allocations: 99.23 kB / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.9e-07/0.1832, allocations: 0 / 0.986 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002911/0.1835, allocations: 87.97 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * 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.0006338/0.1842, allocations: 399.4 kB / 0.9865 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.1845, allocations: 283.3 kB / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1845, allocations: 0 / 0.9868 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1846, allocations: 219.4 kB / 0.987 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1848, allocations: 16.86 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.1852, allocations: 294.4 kB / 0.9873 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.482e-05/0.1853, allocations: 0.6809 MB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.416e-05/0.1854, allocations: 47.92 kB / 0.988 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.019e-05/0.1854, allocations: 15.5 kB / 0.988 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.1854, allocations: 0 / 0.988 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.005199/0.1906, allocations: 3.879 MB / 0.9918 GB, free: 15.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange.pipe 2>&1)