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.6789/0.6789, allocations: 132.3 MB / 144.9 MB, free: 10.76 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.0009985/0.0009986, allocations: 175.4 kB / 176.9 MB, free: 2.152 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.233/1.233, allocations: 170.5 MB / 379.3 MB, free: 11.9 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.001521/0.001521, allocations: 106.4 kB / 450 MB, free: 5.785 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.4507/0.4508, allocations: 73.39 MB / 0.6736 GB, free: 47.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.5821, allocations: 103.1 MB / 0.7743 GB, free: 13.66 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.5825, allocations: 83.94 kB / 0.7743 GB, free: 13.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.6044, allocations: 8.647 MB / 0.7828 GB, free: 4.949 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6045, allocations: 0 / 0.7828 GB, free: 4.949 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.6045, allocations: 0 / 0.7828 GB, free: 4.949 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.0003256/0.6048, allocations: 376.2 kB / 0.7831 GB, free: 4.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6049, allocations: 12.03 kB / 0.7832 GB, free: 4.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.6049, allocations: 7.844 kB / 0.7832 GB, free: 4.516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.605, allocations: 161.8 kB / 0.7833 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.605, allocations: 0 / 0.7833 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.6051, allocations: 15.92 kB / 0.7833 GB, free: 4.305 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.6053, allocations: 93.56 kB / 0.7834 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6053, allocations: 0 / 0.7834 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.6053, allocations: 3.609 kB / 0.7834 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.6053, allocations: 11.48 kB / 0.7834 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.921e-05/0.6054, allocations: 35.98 kB / 0.7835 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.6055, allocations: 153.7 kB / 0.7836 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.6056, allocations: 82.61 kB / 0.7837 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.908e-05/0.6057, allocations: 68.92 kB / 0.7838 GB, free: 3.805 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-06/0.6057, allocations: 3.938 kB / 0.7838 GB, free: 3.801 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.6058, allocations: 34.56 kB / 0.7838 GB, free: 3.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.6058, allocations: 4 kB / 0.7838 GB, free: 3.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002763/0.606, allocations: 167.2 kB / 0.784 GB, free: 3.578 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.6061, allocations: 89.09 kB / 0.784 GB, free: 3.473 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.72e-05/0.6061, allocations: 85 kB / 0.7841 GB, free: 3.383 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.6062, allocations: 25.7 kB / 0.7841 GB, free: 3.352 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.412e-05/0.6062, allocations: 80.14 kB / 0.7842 GB, free: 3.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.6062, allocations: 19.75 kB / 0.7842 GB, free: 3.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.6063, allocations: 7.188 kB / 0.7843 GB, free: 3.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.6064, allocations: 310.8 kB / 0.7845 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.6064, allocations: 48 kB / 0.7846 GB, free: 2.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.6065, allocations: 39.97 kB / 0.7846 GB, free: 2.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.6066, allocations: 69.61 kB / 0.7847 GB, free: 2.773 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6066, allocations: 0 / 0.7847 GB, free: 2.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002044/0.6068, allocations: 155.3 kB / 0.7848 GB, free: 2.609 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.6069, allocations: 46.78 kB / 0.7849 GB, free: 2.559 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6069, allocations: 3.938 kB / 0.7849 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6069, allocations: 0 / 0.7849 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.6069, allocations: 0 / 0.7849 GB, free: 2.555 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6069, allocations: 3.953 kB / 0.7849 GB, free: 2.551 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.6071, allocations: 20.05 kB / 0.7849 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.6071, allocations: 11.98 kB / 0.7849 GB, free: 2.52 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.0001186/0.6072, allocations: 146.7 kB / 0.7851 GB, free: 2.363 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.6073, allocations: 8 kB / 0.7851 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.057e-05/0.6073, allocations: 4.094 kB / 0.7851 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.6073, allocations: 0 / 0.7851 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6073, allocations: 0 / 0.7851 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.6073, allocations: 3.953 kB / 0.7851 GB, free: 2.352 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.6074, allocations: 165.6 kB / 0.7852 GB, free: 2.141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.6074, allocations: 7.875 kB / 0.7852 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6074, allocations: 0 / 0.7852 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6074, allocations: 0 / 0.7852 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.6075, allocations: 11.98 kB / 0.7853 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6075, allocations: 3.938 kB / 0.7853 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6075, allocations: 0 / 0.7853 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.6077, allocations: 218.7 kB / 0.7855 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.6078, allocations: 81.11 kB / 0.7856 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.6078, allocations: 8.031 kB / 0.7856 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.608, allocations: 11.98 kB / 0.7856 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.608, allocations: 7.984 kB / 0.7856 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.608, allocations: 8 kB / 0.7856 GB, free: 1.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.775e-05/0.6081, allocations: 75.28 kB / 0.7857 GB, free: 1.676 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.482e-06/0.6081, allocations: 1.969 kB / 0.7857 GB, free: 1.676 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002424/0.6083, allocations: 63.91 kB / 0.7857 GB, free: 1.613 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.0004672/0.6088, allocations: 206.2 kB / 0.7859 GB, free: 1.449 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.6091, allocations: 227.3 kB / 0.7861 GB, free: 1.215 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6091, allocations: 5.469 kB / 0.7861 GB, free: 1.211 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6093, allocations: 175.4 kB / 0.7863 GB, free: 1.027 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.045e-05/0.6094, allocations: 14.56 kB / 0.7863 GB, free: 1.016 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.6096, allocations: 129.9 kB / 0.7864 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.6099, allocations: 0.6848 MB / 0.7871 GB, free: 164 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.519e-06/0.6099, allocations: 0 / 0.7871 GB, free: 164 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.041e-05/0.6099, allocations: 7.438 kB / 0.7871 GB, free: 156 kB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6099, allocations: 0 / 0.7871 GB, free: 156 kB / 490.7 MB Notification: Performance of Templates: time 0.004562/0.6145, allocations: 2.408 MB / 0.7895 GB, free: 13.79 MB / 0.4948 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)