Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.527/1.527, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009415/0.0009417, allocations: 180.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.3 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007387/0.0007387, allocations: 94.45 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.42e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5411, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.7036, allocations: 141.6 MB / 1.112 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.7039, allocations: 92.92 kB / 1.112 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02935/0.7333, allocations: 11.4 MB / 1.123 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7333, allocations: 0 / 1.123 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.7334, allocations: 4 kB / 1.123 GB, free: 13.18 MB / 0.7292 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.0004435/0.7338, allocations: 427.9 kB / 1.123 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7338, allocations: 12.03 kB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.7339, allocations: 5.812 kB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.734, allocations: 186.4 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.7341, allocations: 0 / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.7341, allocations: 8 kB / 1.123 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001278/0.7342, allocations: 55.95 kB / 1.123 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.7344, allocations: 109.6 kB / 1.124 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7344, allocations: 3.984 kB / 1.124 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.7344, allocations: 4 kB / 1.124 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.7344, allocations: 0 / 1.124 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.7346, allocations: 150.1 kB / 1.124 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.7347, allocations: 114.5 kB / 1.124 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.7348, allocations: 100.9 kB / 1.124 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.7349, allocations: 0 / 1.124 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.7349, allocations: 30.56 kB / 1.124 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/0.7349, allocations: 0 / 1.124 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005112/0.7354, allocations: 188.4 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.7355, allocations: 89.14 kB / 1.124 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.7356, allocations: 123.2 kB / 1.124 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.7357, allocations: 29.7 kB / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.7357, allocations: 84.14 kB / 1.124 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.7358, allocations: 23.69 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.7358, allocations: 0 / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7359, allocations: 322.8 kB / 1.125 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.736, allocations: 47.97 kB / 1.125 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.7361, allocations: 55.95 kB / 1.125 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.7363, allocations: 75.95 kB / 1.125 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7363, allocations: 0 / 1.125 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000345/0.7366, allocations: 185.4 kB / 1.125 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.039e-05/0.7367, allocations: 45.69 kB / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7367, allocations: 3.984 kB / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.7367, allocations: 0 / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.7367, allocations: 0 / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.7367, allocations: 0 / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.7369, allocations: 15.98 kB / 1.125 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.737, allocations: 16.03 kB / 1.125 GB, free: 10.52 MB / 0.7292 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 (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.000125/0.7371, allocations: 154.7 kB / 1.125 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.7372, allocations: 15.86 kB / 1.125 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.526e-05/0.7372, allocations: 4.625 kB / 1.125 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.7372, allocations: 4.5 kB / 1.125 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.7372, allocations: 0 / 1.125 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7372, allocations: 0 / 1.125 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.919e-05/0.7373, allocations: 150.2 kB / 1.126 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7373, allocations: 0 / 1.126 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-07/0.7373, allocations: 0 / 1.126 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.7373, allocations: 7.281 kB / 1.126 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.7374, allocations: 22.88 kB / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.7374, allocations: 0 / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7374, allocations: 0 / 1.126 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.7378, allocations: 232.9 kB / 1.126 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.7379, allocations: 92.94 kB / 1.126 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.7379, allocations: 8 kB / 1.126 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.7381, allocations: 19.97 kB / 1.126 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.7381, allocations: 15.98 kB / 1.126 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.7382, allocations: 12 kB / 1.126 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.7382, allocations: 91.27 kB / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7382, allocations: 0 / 1.126 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003762/0.7386, allocations: 119.8 kB / 1.126 GB, free: 9.5 MB / 0.7292 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]) * 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.0007497/0.7394, allocations: 397.5 kB / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.7397, allocations: 275.3 kB / 1.127 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7397, allocations: 0 / 1.127 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.7399, allocations: 211.3 kB / 1.127 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.74, allocations: 8.125 kB / 1.127 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.741, allocations: 474.6 kB / 1.127 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.7412, allocations: 0.6892 MB / 1.128 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.182e-05/0.7413, allocations: 55.47 kB / 1.128 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.7413, allocations: 15.44 kB / 1.128 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.7413, allocations: 0 / 1.128 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of Templates: time 0.006128/0.7474, allocations: 3.855 MB / 1.132 GB, free: 3.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.pipe 2>&1)