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.879/1.879, allocations: 288.4 MB / 303.4 MB, free: 8.066 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.001061/0.001061, allocations: 180.5 kB / 372 MB, free: 10.27 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.52/1.52, allocations: 205.4 MB / 0.6307 GB, free: 9.992 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.0007767/0.0007766, allocations: 98.28 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 10.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1812, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0007053/0.182, allocations: 274.2 kB / 0.9799 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1834, allocations: 1.188 MB / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.1835, allocations: 0 / 0.981 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.266e-05/0.1836, allocations: 11.97 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.1836, allocations: 4 kB / 0.981 GB, free: 26.18 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.0005876/0.1842, allocations: 247.6 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.734e-05/0.1843, allocations: 63.86 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1844, allocations: 4 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.1844, allocations: 55.81 kB / 0.9814 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.1845, allocations: 35.92 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1845, allocations: 0 / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1849, allocations: 195.6 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.1849, allocations: 11.92 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.185, allocations: 33.7 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1852, allocations: 195.7 kB / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1852, allocations: 0 / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1852, allocations: 0 / 0.9818 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.1852, allocations: 0 / 0.9818 GB, free: 25.34 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.0002886/0.1855, allocations: 425.2 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1856, allocations: 8.031 kB / 0.9822 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1856, allocations: 11.94 kB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.1857, allocations: 174.9 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1858, allocations: 4 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1858, allocations: 8 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.186, allocations: 129.5 kB / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.186, allocations: 0 / 0.9826 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.186, allocations: 11.94 kB / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.186, allocations: 0 / 0.9826 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.1861, allocations: 59.95 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.1862, allocations: 165.7 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1864, allocations: 110.5 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.1865, allocations: 100.9 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.1865, allocations: 7.938 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.1865, allocations: 34.56 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.1865, allocations: 0 / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003992/0.1869, allocations: 283.2 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.187, allocations: 97.09 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.187, allocations: 121.7 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1871, allocations: 29.7 kB / 0.9835 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.1871, allocations: 84.14 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1871, allocations: 19.81 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.1871, allocations: 0 / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.1872, allocations: 326.8 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.1873, allocations: 63.89 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1874, allocations: 60.12 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.1874, allocations: 89.72 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1874, allocations: 0 / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002567/0.1877, allocations: 231.2 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.1878, allocations: 45.69 kB / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1878, allocations: 0 / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1878, allocations: 0 / 0.9844 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.1878, allocations: 4.062 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1878, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.1881, allocations: 23.91 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1881, allocations: 19.92 kB / 0.9845 GB, free: 22.4 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 0.0001039/0.1883, allocations: 163.5 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1883, allocations: 15.89 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.1883, allocations: 12.38 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1883, allocations: 384 / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1883, allocations: 4 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1883, allocations: 3.938 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.489e-05/0.1884, allocations: 177.5 kB / 0.9848 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1884, allocations: 3.938 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1884, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1884, allocations: 0 / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1884, allocations: 11.98 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1885, allocations: 0 / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1885, allocations: 0 / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.1888, allocations: 290.6 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.1888, allocations: 93.05 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1888, allocations: 4 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.189, allocations: 19.97 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.1891, allocations: 12 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.1891, allocations: 19.98 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.1891, allocations: 91.27 kB / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.21e-07/0.1892, allocations: 0 / 0.9853 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002975/0.1895, allocations: 99.91 kB / 0.9854 GB, free: 21.29 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.002114/0.1916, allocations: 404.9 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1919, allocations: 287.3 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1919, allocations: 0 / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1921, allocations: 215.3 kB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.1923, allocations: 8 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.1928, allocations: 294.5 kB / 0.9866 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.193, allocations: 0.6848 MB / 0.9873 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.069e-05/0.193, allocations: 51.86 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.193, allocations: 7.438 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.193, allocations: 0 / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.005633/0.1987, allocations: 3.846 MB / 0.9911 GB, free: 15.56 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)