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.7778/0.7778, allocations: 132.4 MB / 139.9 MB, free: 2.777 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00111/0.00111, allocations: 179.8 kB / 171.8 MB, free: 4.93 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.407/1.407, allocations: 170.6 MB / 374.2 MB, free: 192 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001366/0.001366, allocations: 105.6 kB / 444.8 MB, free: 14.17 MB / 314.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.1589/0.159, allocations: 73.4 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.502/0.661, allocations: 102.4 MB / 0.7666 GB, free: 13.25 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.6613, allocations: 83.94 kB / 0.7667 GB, free: 13.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02079/0.6821, allocations: 8.646 MB / 0.7751 GB, free: 4.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.6822, allocations: 0 / 0.7751 GB, free: 4.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.6822, allocations: 0 / 0.7751 GB, free: 4.5 MB / 474.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.0004061/0.6826, allocations: 369 kB / 0.7755 GB, free: 4.09 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.6827, allocations: 16.02 kB / 0.7755 GB, free: 4.074 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.6827, allocations: 4 kB / 0.7755 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6829, allocations: 159.1 kB / 0.7757 GB, free: 3.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.6829, allocations: 4 kB / 0.7757 GB, free: 3.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.6829, allocations: 8 kB / 0.7757 GB, free: 3.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001197/0.6831, allocations: 39.92 kB / 0.7757 GB, free: 3.824 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.6832, allocations: 97.56 kB / 0.7758 GB, free: 3.723 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.6832, allocations: 3.938 kB / 0.7758 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.6833, allocations: 0 / 0.7758 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6833, allocations: 0 / 0.7758 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.6834, allocations: 134.2 kB / 0.7759 GB, free: 3.551 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.6836, allocations: 82.61 kB / 0.776 GB, free: 3.461 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.6837, allocations: 60.94 kB / 0.7761 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.6837, allocations: 0 / 0.7761 GB, free: 3.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.6837, allocations: 38.55 kB / 0.7761 GB, free: 3.352 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.6837, allocations: 0 / 0.7761 GB, free: 3.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004512/0.6842, allocations: 142.2 kB / 0.7762 GB, free: 3.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.6842, allocations: 85.09 kB / 0.7763 GB, free: 3.105 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.6843, allocations: 88.91 kB / 0.7764 GB, free: 3.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.6843, allocations: 33.73 kB / 0.7764 GB, free: 2.973 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.6844, allocations: 80.14 kB / 0.7765 GB, free: 2.891 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.6844, allocations: 23.69 kB / 0.7765 GB, free: 2.867 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.6845, allocations: 4 kB / 0.7765 GB, free: 2.863 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6846, allocations: 310.8 kB / 0.7768 GB, free: 2.551 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.6847, allocations: 39.97 kB / 0.7769 GB, free: 2.512 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.972e-05/0.6847, allocations: 35.97 kB / 0.7769 GB, free: 2.477 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.6849, allocations: 39.95 kB / 0.777 GB, free: 2.438 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6849, allocations: 0 / 0.777 GB, free: 2.438 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002884/0.6852, allocations: 133.7 kB / 0.7771 GB, free: 2.301 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.6853, allocations: 41.69 kB / 0.7771 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6853, allocations: 0 / 0.7771 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6853, allocations: 0 / 0.7771 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-06/0.6853, allocations: 0 / 0.7771 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.6853, allocations: 3.938 kB / 0.7771 GB, free: 2.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.6855, allocations: 15.94 kB / 0.7771 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.6856, allocations: 15.98 kB / 0.7772 GB, free: 2.219 MB / 474.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.0001622/0.6857, allocations: 154.7 kB / 0.7773 GB, free: 2.055 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.6858, allocations: 4 kB / 0.7773 GB, free: 2.051 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.6858, allocations: 4.406 kB / 0.7773 GB, free: 2.047 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6858, allocations: 4 kB / 0.7773 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6858, allocations: 0 / 0.7773 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6858, allocations: 0 / 0.7773 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.6859, allocations: 146 kB / 0.7775 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.686, allocations: 0 / 0.7775 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.686, allocations: 0 / 0.7775 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.686, allocations: 0 / 0.7775 GB, free: 1.863 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.686, allocations: 15.98 kB / 0.7775 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.686, allocations: 7.984 kB / 0.7775 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.686, allocations: 3.938 kB / 0.7775 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.6864, allocations: 181 kB / 0.7777 GB, free: 1.641 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.6864, allocations: 77.11 kB / 0.7777 GB, free: 1.547 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.6865, allocations: 12.06 kB / 0.7777 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.6866, allocations: 11.98 kB / 0.7777 GB, free: 1.523 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.6867, allocations: 4 kB / 0.7778 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.6867, allocations: 20.02 kB / 0.7778 GB, free: 1.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.6868, allocations: 75.28 kB / 0.7778 GB, free: 1.426 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6868, allocations: 0 / 0.7778 GB, free: 1.426 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.6871, allocations: 59.91 kB / 0.7779 GB, free: 1.367 MB / 474.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.0005074/0.6876, allocations: 208 kB / 0.7781 GB, free: 1.184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.6879, allocations: 219.3 kB / 0.7783 GB, free: 0.957 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6879, allocations: 0 / 0.7783 GB, free: 0.957 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.6881, allocations: 167.4 kB / 0.7785 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001137/0.6882, allocations: 12.86 kB / 0.7785 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.6885, allocations: 131.8 kB / 0.7786 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.6888, allocations: 0.6807 MB / 0.7793 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.647e-06/0.6889, allocations: 0 / 0.7793 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.288e-05/0.6889, allocations: 7.438 kB / 0.7793 GB, free: 15.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6889, allocations: 0 / 0.7793 GB, free: 15.9 MB / 490.7 MB Notification: Performance of Templates: time 0.005305/0.6942, allocations: 2.362 MB / 0.7816 GB, free: 13.57 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)