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.2009/0.203, allocations: 80.83 MB / 0.5899 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.001981/0.205, allocations: 0.5833 MB / 0.5905 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.206, allocations: 443.3 kB / 0.5909 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.2061, allocations: 4 kB / 0.5909 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.2061, allocations: 0 / 0.5909 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.2061, allocations: 0 / 0.5909 GB, free: 5.961 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.0006304/0.2068, allocations: 171.7 kB / 0.591 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.763e-05/0.2069, allocations: 47.89 kB / 0.5911 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.2069, allocations: 0 / 0.5911 GB, free: 5.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.207, allocations: 27.97 kB / 0.5911 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.207, allocations: 23.98 kB / 0.5911 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.207, allocations: 4 kB / 0.5911 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.2072, allocations: 107.8 kB / 0.5912 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.936e-05/0.2073, allocations: 4 kB / 0.5912 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.2073, allocations: 23.91 kB / 0.5913 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.2076, allocations: 163.7 kB / 0.5914 GB, free: 5.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2076, allocations: 0 / 0.5914 GB, free: 5.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2076, allocations: 0 / 0.5914 GB, free: 5.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.2076, allocations: 0 / 0.5914 GB, free: 5.398 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.0004267/0.208, allocations: 413.4 kB / 0.5918 GB, free: 4.938 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2081, allocations: 8.031 kB / 0.5918 GB, free: 4.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.2081, allocations: 8.844 kB / 0.5918 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/0.2082, allocations: 160.4 kB / 0.592 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2083, allocations: 4.375 kB / 0.592 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.2083, allocations: 4.375 kB / 0.592 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2085, allocations: 98.17 kB / 0.5921 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.2085, allocations: 192 / 0.5921 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.2085, allocations: 11.92 kB / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2085, allocations: 0 / 0.5921 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.928e-05/0.2086, allocations: 47.89 kB / 0.5921 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.2088, allocations: 153.7 kB / 0.5923 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2089, allocations: 86.61 kB / 0.5924 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.79e-05/0.209, allocations: 76.86 kB / 0.5925 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.209, allocations: 0 / 0.5925 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2091, allocations: 30.56 kB / 0.5925 GB, free: 4.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.344e-06/0.2091, allocations: 4 kB / 0.5925 GB, free: 4.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004214/0.2095, allocations: 227.1 kB / 0.5927 GB, free: 3.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.2096, allocations: 85.09 kB / 0.5928 GB, free: 3.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.2096, allocations: 93.86 kB / 0.5929 GB, free: 3.707 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2097, allocations: 25.7 kB / 0.5929 GB, free: 3.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.2097, allocations: 84.08 kB / 0.593 GB, free: 3.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.2098, allocations: 19.81 kB / 0.593 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.2098, allocations: 41.69 kB / 0.593 GB, free: 3.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.21, allocations: 310.9 kB / 0.5933 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.954e-05/0.21, allocations: 43.97 kB / 0.5934 GB, free: 3.168 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.2101, allocations: 43.95 kB / 0.5934 GB, free: 3.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2103, allocations: 140.2 kB / 0.5935 GB, free: 2.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2103, allocations: 0 / 0.5935 GB, free: 2.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002621/0.2106, allocations: 183.1 kB / 0.5937 GB, free: 2.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.2106, allocations: 41.69 kB / 0.5938 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2106, allocations: 0 / 0.5938 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2106, allocations: 3.938 kB / 0.5938 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.2107, allocations: 0 / 0.5938 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2107, allocations: 4.062 kB / 0.5938 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.211, allocations: 19.92 kB / 0.5938 GB, free: 2.707 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.211, allocations: 15.98 kB / 0.5938 GB, free: 2.691 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.0001431/0.2112, allocations: 152.4 kB / 0.594 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.2112, allocations: 4 kB / 0.594 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.2112, allocations: 8.156 kB / 0.594 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.2112, allocations: 0 / 0.594 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2112, allocations: 4 kB / 0.594 GB, free: 2.508 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2112, allocations: 4 kB / 0.594 GB, free: 2.504 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.2114, allocations: 161.7 kB / 0.5941 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2114, allocations: 0 / 0.5941 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2114, allocations: 0 / 0.5941 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2114, allocations: 0 / 0.5941 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.2114, allocations: 15.92 kB / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2114, allocations: 0 / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2114, allocations: 0 / 0.5941 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.2118, allocations: 238.6 kB / 0.5944 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.2118, allocations: 89.12 kB / 0.5945 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.2118, allocations: 7.938 kB / 0.5945 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.212, allocations: 11.98 kB / 0.5945 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.2121, allocations: 11.98 kB / 0.5945 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.2121, allocations: 15.94 kB / 0.5945 GB, free: 1.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.879e-05/0.2121, allocations: 75.28 kB / 0.5946 GB, free: 1.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2121, allocations: 3.938 kB / 0.5946 GB, free: 1.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.2124, allocations: 51.98 kB / 0.5946 GB, free: 1.742 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.0006065/0.213, allocations: 280.2 kB / 0.5949 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.2134, allocations: 235.3 kB / 0.5951 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2134, allocations: 0 / 0.5951 GB, free: 1.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.2136, allocations: 183.3 kB / 0.5953 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.2137, allocations: 16 kB / 0.5953 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.2141, allocations: 168.9 kB / 0.5955 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2143, allocations: 0.6768 MB / 0.5961 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.543e-06/0.2144, allocations: 0 / 0.5961 GB, free: 196 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.2144, allocations: 7.438 kB / 0.5961 GB, free: 192 kB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2144, allocations: 4 kB / 0.5961 GB, free: 188 kB / 446.1 MB Notification: Performance of Templates: time 0.005882/0.2203, allocations: 2.739 MB / 0.5988 GB, free: 13.48 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)