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.5124/0.5146, allocations: 80.82 MB / 0.5904 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002479/0.5171, allocations: 0.5159 MB / 0.5909 GB, free: 22.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.5183, allocations: 452.4 kB / 0.5913 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.5184, allocations: 0 / 0.5913 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.725e-05/0.5184, allocations: 5.125 kB / 0.5914 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-06/0.5185, allocations: 0 / 0.5914 GB, free: 21.7 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.0009407/0.5194, allocations: 191.1 kB / 0.5915 GB, free: 21.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.5196, allocations: 42.55 kB / 0.5916 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.344e-05/0.5197, allocations: 2.312 kB / 0.5916 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.5197, allocations: 28.09 kB / 0.5916 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.492e-05/0.5198, allocations: 20.23 kB / 0.5916 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.5198, allocations: 2.344 kB / 0.5916 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.5201, allocations: 109.4 kB / 0.5917 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.5202, allocations: 4 kB / 0.5917 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.855e-05/0.5203, allocations: 21.52 kB / 0.5918 GB, free: 21.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.5205, allocations: 155.7 kB / 0.5919 GB, free: 21.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5205, allocations: 4 kB / 0.5919 GB, free: 21.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.5205, allocations: 0 / 0.5919 GB, free: 21.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.5206, allocations: 1.031 kB / 0.5919 GB, free: 21.31 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.0004714/0.521, allocations: 399.7 kB / 0.5923 GB, free: 20.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5211, allocations: 12.67 kB / 0.5923 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.5211, allocations: 4.938 kB / 0.5923 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.5212, allocations: 161.6 kB / 0.5925 GB, free: 20.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5213, allocations: 4.375 kB / 0.5925 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.5213, allocations: 4.375 kB / 0.5925 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.5215, allocations: 96.14 kB / 0.5926 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5215, allocations: 192 / 0.5926 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.5216, allocations: 7.938 kB / 0.5926 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5216, allocations: 0 / 0.5926 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.5217, allocations: 54.7 kB / 0.5926 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.5218, allocations: 157.6 kB / 0.5928 GB, free: 20.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.522, allocations: 78.61 kB / 0.5928 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.5221, allocations: 72.92 kB / 0.5929 GB, free: 20.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.5221, allocations: 3.984 kB / 0.5929 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5221, allocations: 33.5 kB / 0.593 GB, free: 20.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.5221, allocations: 0 / 0.593 GB, free: 20.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004031/0.5225, allocations: 223.2 kB / 0.5932 GB, free: 19.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.5226, allocations: 89.09 kB / 0.5932 GB, free: 19.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.284e-05/0.5226, allocations: 89.86 kB / 0.5933 GB, free: 19.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5226, allocations: 25.7 kB / 0.5934 GB, free: 19.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.908e-05/0.5227, allocations: 88.05 kB / 0.5934 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.5227, allocations: 19.75 kB / 0.5935 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.5228, allocations: 37.69 kB / 0.5935 GB, free: 19.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.5229, allocations: 314.8 kB / 0.5938 GB, free: 19.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.5229, allocations: 51.89 kB / 0.5938 GB, free: 19.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.523, allocations: 35.97 kB / 0.5939 GB, free: 19.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5231, allocations: 144.5 kB / 0.594 GB, free: 18.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5231, allocations: 3.406 kB / 0.594 GB, free: 18.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002026/0.5233, allocations: 179.2 kB / 0.5942 GB, free: 18.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.94e-05/0.5234, allocations: 41.69 kB / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5234, allocations: 0 / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.5234, allocations: 3.938 kB / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.5234, allocations: 0 / 0.5942 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.5235, allocations: 4 kB / 0.5942 GB, free: 18.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.5237, allocations: 15.89 kB / 0.5943 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/0.5238, allocations: 15.98 kB / 0.5943 GB, free: 18.64 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.0001107/0.5239, allocations: 155.6 kB / 0.5944 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.5239, allocations: 4 kB / 0.5944 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.348e-05/0.5239, allocations: 11.91 kB / 0.5944 GB, free: 18.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5239, allocations: 3.984 kB / 0.5944 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5239, allocations: 0 / 0.5944 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.524, allocations: 0 / 0.5944 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.038e-05/0.524, allocations: 153.7 kB / 0.5946 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.524, allocations: 4 kB / 0.5946 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-06/0.5241, allocations: 3.984 kB / 0.5946 GB, free: 18.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.5241, allocations: 4 kB / 0.5946 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5241, allocations: 11.92 kB / 0.5946 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5241, allocations: 4 kB / 0.5946 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5241, allocations: 0 / 0.5946 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.5244, allocations: 238.6 kB / 0.5948 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.5244, allocations: 84.95 kB / 0.5949 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.5244, allocations: 11.88 kB / 0.5949 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5246, allocations: 24.02 kB / 0.595 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.5246, allocations: 11.98 kB / 0.595 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5247, allocations: 8 kB / 0.595 GB, free: 17.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.077e-05/0.5247, allocations: 75.28 kB / 0.595 GB, free: 17.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5247, allocations: 0 / 0.595 GB, free: 17.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.525, allocations: 55.92 kB / 0.5951 GB, free: 17.68 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.0005988/0.5256, allocations: 282.4 kB / 0.5954 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002851/0.5259, allocations: 235.3 kB / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5259, allocations: 0 / 0.5956 GB, free: 17.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.526, allocations: 179.3 kB / 0.5958 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.5262, allocations: 8 kB / 0.5958 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.5265, allocations: 165 kB / 0.5959 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.5266, allocations: 0.6807 MB / 0.5966 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.198e-06/0.5266, allocations: 4 kB / 0.5966 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.27e-05/0.5267, allocations: 15.36 kB / 0.5966 GB, free: 16.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5267, allocations: 0 / 0.5966 GB, free: 16.12 MB / 446.1 MB Notification: Performance of Templates: time 0.005659/0.5323, allocations: 2.751 MB / 0.5993 GB, free: 13.41 MB / 446.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)