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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.4 MB / 139.9 MB, free: 15.37 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 168.8 kB / 171.8 MB, free: 2.004 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.333/1.333, allocations: 170.6 MB / 374.2 MB, free: 18.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001508/0.001508, allocations: 113.5 kB / 444.8 MB, free: 15.3 MB / 346.7 MB [/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.1488/0.1488, allocations: 73.41 MB / 0.6666 GB, free: 14.3 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4948/0.6436, allocations: 102.4 MB / 0.7666 GB, free: 23.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.6439, allocations: 90 kB / 0.7667 GB, free: 23.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.6633, allocations: 8.641 MB / 0.7751 GB, free: 18.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6633, allocations: 4 kB / 0.7752 GB, free: 18.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.6633, allocations: 0 / 0.7752 GB, free: 18.75 MB / 490.7 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.0003204/0.6637, allocations: 375.2 kB / 0.7755 GB, free: 18.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6637, allocations: 8.734 kB / 0.7755 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.6638, allocations: 5.875 kB / 0.7755 GB, free: 18.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.225e-05/0.6638, allocations: 169.9 kB / 0.7757 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.6639, allocations: 0 / 0.7757 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.6639, allocations: 4 kB / 0.7757 GB, free: 18.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000111/0.664, allocations: 38.84 kB / 0.7757 GB, free: 18.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.6642, allocations: 98.58 kB / 0.7758 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6642, allocations: 0 / 0.7758 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.6642, allocations: 4 kB / 0.7758 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6642, allocations: 0 / 0.7758 GB, free: 18.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.6643, allocations: 133.1 kB / 0.776 GB, free: 17.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.475e-05/0.6644, allocations: 77.34 kB / 0.776 GB, free: 17.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.6645, allocations: 66.84 kB / 0.7761 GB, free: 17.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.6645, allocations: 0.5625 kB / 0.7761 GB, free: 17.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6646, allocations: 42.56 kB / 0.7761 GB, free: 17.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.6646, allocations: 0 / 0.7761 GB, free: 17.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003887/0.665, allocations: 133.9 kB / 0.7763 GB, free: 17.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.665, allocations: 93.86 kB / 0.7763 GB, free: 17.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.322e-05/0.665, allocations: 85 kB / 0.7764 GB, free: 17.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6651, allocations: 29.7 kB / 0.7765 GB, free: 17.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.6651, allocations: 81.41 kB / 0.7765 GB, free: 17.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.6651, allocations: 18.25 kB / 0.7766 GB, free: 17.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.6652, allocations: 9.344 kB / 0.7766 GB, free: 17.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.6652, allocations: 312.3 kB / 0.7769 GB, free: 16.97 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.152e-05/0.6653, allocations: 37.89 kB / 0.7769 GB, free: 16.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.6653, allocations: 34.55 kB / 0.7769 GB, free: 16.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.6655, allocations: 38.92 kB / 0.777 GB, free: 16.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6655, allocations: 0 / 0.777 GB, free: 16.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002558/0.6658, allocations: 137.5 kB / 0.7771 GB, free: 16.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.6658, allocations: 42.02 kB / 0.7771 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6658, allocations: 0.5 kB / 0.7771 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6658, allocations: 0 / 0.7771 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.6658, allocations: 4.719 kB / 0.7771 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.6658, allocations: 0 / 0.7771 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.666, allocations: 14.83 kB / 0.7772 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.6661, allocations: 17.56 kB / 0.7772 GB, free: 16.72 MB / 490.7 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 () * 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.0001079/0.6662, allocations: 150.4 kB / 0.7773 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.6662, allocations: 4 kB / 0.7773 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.6662, allocations: 5.062 kB / 0.7773 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.6662, allocations: 0 / 0.7773 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6663, allocations: 4.797 kB / 0.7773 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6663, allocations: 4 kB / 0.7773 GB, free: 16.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.6663, allocations: 143.6 kB / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6663, allocations: 0 / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.6663, allocations: 1.453 kB / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6664, allocations: 0 / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.6664, allocations: 13.75 kB / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6664, allocations: 0 / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6664, allocations: 0.75 kB / 0.7775 GB, free: 16.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.6667, allocations: 187.6 kB / 0.7777 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.6668, allocations: 77.72 kB / 0.7777 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.6668, allocations: 5.359 kB / 0.7777 GB, free: 16.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.667, allocations: 15.33 kB / 0.7778 GB, free: 16.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.667, allocations: 9.562 kB / 0.7778 GB, free: 16.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.667, allocations: 10.48 kB / 0.7778 GB, free: 16.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.549e-05/0.6671, allocations: 76.03 kB / 0.7778 GB, free: 16.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6671, allocations: 0 / 0.7778 GB, free: 16.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.6673, allocations: 52.86 kB / 0.7779 GB, free: 15.98 MB / 490.7 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]) * 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.0005064/0.6679, allocations: 204.8 kB / 0.7781 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.6681, allocations: 222.8 kB / 0.7783 GB, free: 15.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6682, allocations: 0 / 0.7783 GB, free: 15.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.6683, allocations: 168 kB / 0.7785 GB, free: 15.53 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.772e-05/0.6684, allocations: 8.562 kB / 0.7785 GB, free: 15.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.6687, allocations: 125.9 kB / 0.7786 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6688, allocations: 0.6856 MB / 0.7793 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.733e-06/0.6688, allocations: 0 / 0.7793 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-06/0.6688, allocations: 11.94 kB / 0.7793 GB, free: 14.69 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6688, allocations: 0 / 0.7793 GB, free: 14.69 MB / 490.7 MB Notification: Performance of Templates: time 0.005113/0.674, allocations: 2.368 MB / 0.7816 GB, free: 13.32 MB / 490.7 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)