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.2183/0.2191, allocations: 82.21 MB / 0.5935 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0007742/0.2199, allocations: 244.4 kB / 0.5937 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.221, allocations: 427.6 kB / 0.5941 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.221, allocations: 0 / 0.5941 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.221, allocations: 0 / 0.5941 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.045e-06/0.221, allocations: 0 / 0.5941 GB, free: 5.297 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.0006087/0.2217, allocations: 174.4 kB / 0.5943 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.2217, allocations: 31.95 kB / 0.5943 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.488e-05/0.2218, allocations: 7.922 kB / 0.5943 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.2218, allocations: 23.98 kB / 0.5943 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.2219, allocations: 23.97 kB / 0.5944 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2219, allocations: 0 / 0.5944 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.2221, allocations: 111.8 kB / 0.5945 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.2222, allocations: 0 / 0.5945 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.2222, allocations: 33.64 kB / 0.5945 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.2224, allocations: 115.8 kB / 0.5946 GB, free: 4.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2224, allocations: 0 / 0.5946 GB, free: 4.781 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.2224, allocations: 4 kB / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.2225, allocations: 0 / 0.5946 GB, free: 4.777 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.0004352/0.2229, allocations: 377.3 kB / 0.595 GB, free: 4.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.2229, allocations: 8.031 kB / 0.595 GB, free: 4.348 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.223, allocations: 7.906 kB / 0.595 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2231, allocations: 167 kB / 0.5952 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.2231, allocations: 0 / 0.5952 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2232, allocations: 4 kB / 0.5952 GB, free: 4.133 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2234, allocations: 105.5 kB / 0.5953 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2234, allocations: 3.938 kB / 0.5953 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.2234, allocations: 4 kB / 0.5953 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2234, allocations: 0 / 0.5953 GB, free: 4.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.2235, allocations: 43.91 kB / 0.5953 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.2238, allocations: 153.7 kB / 0.5955 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.2239, allocations: 82.61 kB / 0.5955 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.224, allocations: 76.91 kB / 0.5956 GB, free: 3.605 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.2241, allocations: 4 kB / 0.5956 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2241, allocations: 30.56 kB / 0.5956 GB, free: 3.562 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2241, allocations: 0 / 0.5956 GB, free: 3.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004385/0.2245, allocations: 227.2 kB / 0.5959 GB, free: 3.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.2246, allocations: 85.11 kB / 0.5959 GB, free: 3.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.2247, allocations: 93.86 kB / 0.596 GB, free: 3.125 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.2247, allocations: 25.7 kB / 0.596 GB, free: 3.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.028e-05/0.2247, allocations: 80.14 kB / 0.5961 GB, free: 3.012 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.2248, allocations: 19.83 kB / 0.5961 GB, free: 2.992 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.2248, allocations: 4 kB / 0.5961 GB, free: 2.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.225, allocations: 310.8 kB / 0.5964 GB, free: 2.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.2251, allocations: 43.97 kB / 0.5965 GB, free: 2.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.733e-05/0.2252, allocations: 39.95 kB / 0.5965 GB, free: 2.594 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.2253, allocations: 69.67 kB / 0.5966 GB, free: 2.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2253, allocations: 0 / 0.5966 GB, free: 2.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002903/0.2256, allocations: 179.2 kB / 0.5968 GB, free: 2.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.2256, allocations: 45.69 kB / 0.5968 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2256, allocations: 0 / 0.5968 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2257, allocations: 8.266 kB / 0.5968 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.2257, allocations: 0 / 0.5968 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2257, allocations: 4 kB / 0.5968 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.226, allocations: 19.92 kB / 0.5968 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.226, allocations: 11.98 kB / 0.5968 GB, free: 2.238 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 (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.0001518/0.2262, allocations: 160.4 kB / 0.597 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.2262, allocations: 7.938 kB / 0.597 GB, free: 2.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.2262, allocations: 7.953 kB / 0.597 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2262, allocations: 8 kB / 0.597 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2262, allocations: 3.953 kB / 0.597 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2262, allocations: 0 / 0.597 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.2263, allocations: 149.7 kB / 0.5972 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2264, allocations: 0 / 0.5972 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.2264, allocations: 0 / 0.5972 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.2264, allocations: 11.97 kB / 0.5972 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.2264, allocations: 8 kB / 0.5972 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.2264, allocations: 0 / 0.5972 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2264, allocations: 7.938 kB / 0.5972 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.2267, allocations: 246.5 kB / 0.5974 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.2268, allocations: 81.11 kB / 0.5975 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.2268, allocations: 4 kB / 0.5975 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.227, allocations: 11.98 kB / 0.5975 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.227, allocations: 7.984 kB / 0.5975 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.227, allocations: 12 kB / 0.5975 GB, free: 1.414 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.2271, allocations: 79.23 kB / 0.5976 GB, free: 1.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2271, allocations: 4.031 kB / 0.5976 GB, free: 1.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.2273, allocations: 51.98 kB / 0.5977 GB, free: 1.281 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 (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.0007586/0.2281, allocations: 284.5 kB / 0.5979 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.2285, allocations: 231.3 kB / 0.5982 GB, free: 0.832 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2286, allocations: 4.062 kB / 0.5982 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.2288, allocations: 183.3 kB / 0.5983 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.2289, allocations: 11.94 kB / 0.5984 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2293, allocations: 162.7 kB / 0.5985 GB, free: 448 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2296, allocations: 0.6809 MB / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.713e-06/0.2296, allocations: 0 / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.2296, allocations: 7.438 kB / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2296, allocations: 0 / 0.5992 GB, free: 15.73 MB / 462.1 MB Notification: Performance of Templates: time 0.006446/0.2361, allocations: 2.633 MB / 0.6018 GB, free: 13.13 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: