Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.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.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") [/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.2086/0.2105, allocations: 80.82 MB / 0.5897 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002062/0.2126, allocations: 0.5871 MB / 0.5902 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2137, allocations: 451.4 kB / 0.5907 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.818e-05/0.2137, allocations: 0 / 0.5907 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.2138, allocations: 0 / 0.5907 GB, free: 6.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.374e-06/0.2138, allocations: 0 / 0.5907 GB, free: 6.07 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Utilities/IO/Python27/Functions/exchange.mo:2:1-99:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.2144, allocations: 175.6 kB / 0.5908 GB, free: 5.898 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.2145, allocations: 47.89 kB / 0.5909 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.2146, allocations: 4 kB / 0.5909 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.2146, allocations: 23.97 kB / 0.5909 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.2147, allocations: 15.98 kB / 0.5909 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.2147, allocations: 4 kB / 0.5909 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.2149, allocations: 111.8 kB / 0.591 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.976e-05/0.2149, allocations: 4 kB / 0.591 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.215, allocations: 23.91 kB / 0.5911 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2153, allocations: 159.7 kB / 0.5912 GB, free: 5.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2153, allocations: 0 / 0.5912 GB, free: 5.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2153, allocations: 0 / 0.5912 GB, free: 5.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.2153, allocations: 4 kB / 0.5912 GB, free: 5.508 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004585/0.2158, allocations: 408.9 kB / 0.5916 GB, free: 5.055 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.2158, allocations: 8.031 kB / 0.5916 GB, free: 5.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.2159, allocations: 12.84 kB / 0.5916 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.216, allocations: 164.4 kB / 0.5918 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.216, allocations: 384 / 0.5918 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.2161, allocations: 12.38 kB / 0.5918 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.2163, allocations: 102.1 kB / 0.5919 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.2163, allocations: 192 / 0.5919 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.2163, allocations: 7.938 kB / 0.5919 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2163, allocations: 0 / 0.5919 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.2164, allocations: 39.97 kB / 0.5919 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2166, allocations: 153.7 kB / 0.5921 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.2168, allocations: 86.59 kB / 0.5922 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.2169, allocations: 68.92 kB / 0.5922 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.2169, allocations: 0 / 0.5922 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.217, allocations: 38.56 kB / 0.5923 GB, free: 4.262 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 8.22e-07/0.217, allocations: 3.938 kB / 0.5923 GB, free: 4.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004589/0.2174, allocations: 219.2 kB / 0.5925 GB, free: 4.031 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2176, allocations: 89.09 kB / 0.5926 GB, free: 3.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.394e-05/0.2176, allocations: 89.86 kB / 0.5927 GB, free: 3.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2176, allocations: 29.7 kB / 0.5927 GB, free: 3.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.2177, allocations: 84.08 kB / 0.5928 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.2178, allocations: 15.81 kB / 0.5928 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.2178, allocations: 41.72 kB / 0.5928 GB, free: 3.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.218, allocations: 310.8 kB / 0.5931 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.907e-05/0.2181, allocations: 43.97 kB / 0.5932 GB, free: 3.289 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.2181, allocations: 43.89 kB / 0.5932 GB, free: 3.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.2183, allocations: 140.2 kB / 0.5933 GB, free: 3.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2183, allocations: 0 / 0.5933 GB, free: 3.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002565/0.2186, allocations: 187.2 kB / 0.5935 GB, free: 2.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.2186, allocations: 37.69 kB / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.2187, allocations: 0 / 0.5936 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.2187, allocations: 12 kB / 0.5936 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2187, allocations: 0 / 0.5936 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2187, allocations: 0 / 0.5936 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.219, allocations: 15.92 kB / 0.5936 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.2191, allocations: 16.23 kB / 0.5936 GB, free: 2.812 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: 3 (yI2[2],yI2[1],yI1[1]) * 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.0001683/0.2192, allocations: 152.4 kB / 0.5937 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.2193, allocations: 8 kB / 0.5938 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.2193, allocations: 7.906 kB / 0.5938 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2193, allocations: 3.984 kB / 0.5938 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2193, allocations: 8 kB / 0.5938 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2193, allocations: 0 / 0.5938 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2195, allocations: 161.7 kB / 0.5939 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2195, allocations: 0 / 0.5939 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-06/0.2195, allocations: 0 / 0.5939 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2195, allocations: 3.938 kB / 0.5939 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.2195, allocations: 15.92 kB / 0.5939 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2195, allocations: 0 / 0.5939 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2195, allocations: 0 / 0.5939 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.2199, allocations: 238.6 kB / 0.5942 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.2199, allocations: 77.11 kB / 0.5942 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.22, allocations: 15.92 kB / 0.5943 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.2201, allocations: 11.98 kB / 0.5943 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.2202, allocations: 8 kB / 0.5943 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.2202, allocations: 11.98 kB / 0.5943 GB, free: 1.992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.2203, allocations: 75.28 kB / 0.5944 GB, free: 1.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2203, allocations: 3.938 kB / 0.5944 GB, free: 1.914 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.2206, allocations: 60.02 kB / 0.5944 GB, free: 1.855 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: 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 (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.0006954/0.2213, allocations: 280.7 kB / 0.5947 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.2217, allocations: 239.2 kB / 0.5949 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2217, allocations: 0 / 0.5949 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.2219, allocations: 175.4 kB / 0.5951 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.2221, allocations: 19.86 kB / 0.5951 GB, free: 1.199 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.2225, allocations: 166.6 kB / 0.5953 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2229, allocations: 0.6809 MB / 0.5959 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.297e-06/0.2229, allocations: 0 / 0.5959 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/0.223, allocations: 7.438 kB / 0.5959 GB, free: 304 kB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.223, allocations: 0 / 0.5959 GB, free: 304 kB / 446.1 MB Notification: Performance of Templates: time 0.005872/0.2288, allocations: 2.677 MB / 0.5986 GB, free: 13.66 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)