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.22/0.2222, allocations: 80.82 MB / 0.6706 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.002387/0.2247, allocations: 0.521 MB / 0.6711 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2258, allocations: 442.9 kB / 0.6715 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.2258, allocations: 4 kB / 0.6716 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.2259, allocations: 0 / 0.6716 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.043e-05/0.2259, allocations: 3.938 kB / 0.6716 GB, free: 1.113 MB / 0.4981 GB [/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.0008859/0.2268, allocations: 195.5 kB / 0.6717 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2269, allocations: 47.94 kB / 0.6718 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.227, allocations: 0 / 0.6718 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.2271, allocations: 19.98 kB / 0.6718 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.2271, allocations: 31.97 kB / 0.6718 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2272, allocations: 0 / 0.6718 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.2274, allocations: 115.8 kB / 0.6719 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.2275, allocations: 3.938 kB / 0.672 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.2275, allocations: 11.98 kB / 0.672 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.2279, allocations: 155.7 kB / 0.6721 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2279, allocations: 0 / 0.6721 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2279, allocations: 3.938 kB / 0.6721 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2279, allocations: 3.938 kB / 0.6721 GB, free: 0.5352 MB / 0.4981 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.000539/0.2284, allocations: 397.2 kB / 0.6725 GB, free: 92 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.2285, allocations: 12.03 kB / 0.6725 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.078e-05/0.2286, allocations: 4.938 kB / 0.6725 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2287, allocations: 164.4 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2288, allocations: 384 / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.2288, allocations: 4.375 kB / 0.6727 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.2291, allocations: 94.17 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2291, allocations: 4.188 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.2291, allocations: 3.938 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2291, allocations: 0 / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.2293, allocations: 51.89 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.2295, allocations: 157.7 kB / 0.673 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.2296, allocations: 82.55 kB / 0.673 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2297, allocations: 68.91 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2297, allocations: 3.938 kB / 0.6731 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.2298, allocations: 38.56 kB / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2298, allocations: 0 / 0.6732 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.000516/0.2303, allocations: 227.1 kB / 0.6734 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/0.2304, allocations: 97.03 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.2305, allocations: 89.86 kB / 0.6736 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.2305, allocations: 29.7 kB / 0.6736 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.2306, allocations: 80.14 kB / 0.6737 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.2307, allocations: 19.73 kB / 0.6737 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2308, allocations: 33.7 kB / 0.6737 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2309, allocations: 314.8 kB / 0.674 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.231, allocations: 47.98 kB / 0.6741 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.646e-05/0.2311, allocations: 39.97 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.2313, allocations: 136.2 kB / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2313, allocations: 0 / 0.6742 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003135/0.2316, allocations: 183.2 kB / 0.6744 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.2317, allocations: 41.69 kB / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2317, allocations: 0 / 0.6744 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2317, allocations: 7.938 kB / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.2317, allocations: 0 / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2318, allocations: 0 / 0.6744 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.2321, allocations: 16.05 kB / 0.6745 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.2322, allocations: 11.98 kB / 0.6745 GB, free: 13.86 MB / 0.5137 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 (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.0001536/0.2323, allocations: 159.5 kB / 0.6746 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.2324, allocations: 11.91 kB / 0.6746 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2324, allocations: 11.89 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2324, allocations: 0 / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2324, allocations: 0 / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.2324, allocations: 3.984 kB / 0.6746 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.2326, allocations: 161.7 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2326, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.2326, allocations: 0 / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.2326, allocations: 3.984 kB / 0.6748 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2327, allocations: 16.19 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/0.2327, allocations: 4 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2327, allocations: 3.938 kB / 0.6748 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.2331, allocations: 238.6 kB / 0.6751 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.2331, allocations: 77.11 kB / 0.6751 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.2332, allocations: 11.97 kB / 0.6751 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.2333, allocations: 15.98 kB / 0.6752 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.161e-05/0.2334, allocations: 7.984 kB / 0.6752 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.2334, allocations: 12 kB / 0.6752 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001572/0.2336, allocations: 75.28 kB / 0.6752 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2336, allocations: 0 / 0.6752 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003492/0.2339, allocations: 51.98 kB / 0.6753 GB, free: 12.88 MB / 0.5137 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 (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.0008365/0.2348, allocations: 295.3 kB / 0.6756 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.2352, allocations: 231.3 kB / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2352, allocations: 0 / 0.6758 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.2354, allocations: 179.3 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.2356, allocations: 14.75 kB / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.2361, allocations: 172.9 kB / 0.6761 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.2365, allocations: 0.6768 MB / 0.6768 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.2366, allocations: 7.969 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.2366, allocations: 7.438 kB / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.2366, allocations: 0 / 0.6768 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.008878/0.2455, allocations: 2.74 MB / 0.6795 GB, free: 8.574 MB / 0.5137 GB 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)