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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 293 MB / 309 MB, free: 4.824 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.001031/0.001031, allocations: 180.6 kB / 378.7 MB, free: 1.023 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.675/1.675, allocations: 205.4 MB / 0.6383 GB, free: 9.16 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.0007673/0.0007675, allocations: 90.33 kB / 0.7527 GB, free: 62.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003804, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.264, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6987/0.9627, allocations: 142.4 MB / 1.13 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.963, allocations: 94.52 kB / 1.13 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02959/0.9926, allocations: 11.64 MB / 1.141 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9926, allocations: 0 / 1.141 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.9927, allocations: 4 kB / 1.141 GB, free: 24.07 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.0005644/0.9932, allocations: 435.1 kB / 1.141 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.9933, allocations: 8.031 kB / 1.141 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.9934, allocations: 6.156 kB / 1.141 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.9935, allocations: 178.8 kB / 1.142 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.9936, allocations: 5.5 kB / 1.142 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.9936, allocations: 8.375 kB / 1.142 GB, free: 23.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.9939, allocations: 127.7 kB / 1.142 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9939, allocations: 4.828 kB / 1.142 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.9939, allocations: 7.938 kB / 1.142 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.994, allocations: 0 / 1.142 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.9941, allocations: 57.97 kB / 1.142 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.9943, allocations: 165 kB / 1.142 GB, free: 23.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.9944, allocations: 113.6 kB / 1.142 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.9946, allocations: 102.7 kB / 1.142 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.9946, allocations: 0 / 1.142 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9946, allocations: 44.14 kB / 1.142 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.9946, allocations: 0 / 1.142 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005371/0.9952, allocations: 291.9 kB / 1.143 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.9952, allocations: 88.02 kB / 1.143 GB, free: 22.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.9953, allocations: 121 kB / 1.143 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.9954, allocations: 29.73 kB / 1.143 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.9954, allocations: 88.66 kB / 1.143 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.9955, allocations: 21.44 kB / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.9955, allocations: 0 / 1.143 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.9955, allocations: 321.2 kB / 1.143 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.956e-05/0.9957, allocations: 58.16 kB / 1.143 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.9958, allocations: 62.77 kB / 1.143 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.996, allocations: 183.2 kB / 1.143 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.996, allocations: 0 / 1.143 GB, free: 21.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000319/0.9963, allocations: 237 kB / 1.144 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.9964, allocations: 42.06 kB / 1.144 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.9964, allocations: 3.938 kB / 1.144 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.9964, allocations: 3.938 kB / 1.144 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.9964, allocations: 0.6562 kB / 1.144 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.9964, allocations: 2.703 kB / 1.144 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.9966, allocations: 15.89 kB / 1.144 GB, free: 21.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.9967, allocations: 19.61 kB / 1.144 GB, free: 21.3 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 () * 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.0001297/0.9968, allocations: 166.1 kB / 1.144 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.9968, allocations: 11.91 kB / 1.144 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.805e-05/0.9969, allocations: 9.156 kB / 1.144 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.9969, allocations: 0.7969 kB / 1.144 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.9969, allocations: 0 / 1.144 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9969, allocations: 7.938 kB / 1.144 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.997, allocations: 166.8 kB / 1.144 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.997, allocations: 0 / 1.144 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-06/0.997, allocations: 0.9375 kB / 1.144 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.997, allocations: 4 kB / 1.144 GB, free: 20.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.9971, allocations: 23.48 kB / 1.144 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9971, allocations: 4 kB / 1.144 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9971, allocations: 0 / 1.144 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.9975, allocations: 288.2 kB / 1.144 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.9975, allocations: 93.28 kB / 1.144 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.9976, allocations: 9.203 kB / 1.145 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.9978, allocations: 11.23 kB / 1.145 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.9978, allocations: 11.66 kB / 1.145 GB, free: 20.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.9979, allocations: 23.31 kB / 1.145 GB, free: 20.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.9979, allocations: 92.2 kB / 1.145 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.552e-06/0.9979, allocations: 0 / 1.145 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000542/0.9985, allocations: 109.1 kB / 1.145 GB, free: 20.27 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]) * 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.001232/0.9997, allocations: 421.1 kB / 1.145 GB, free: 19.98 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004066/1, allocations: 286.2 kB / 1.145 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1, allocations: 4.062 kB / 1.145 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/1, allocations: 211.8 kB / 1.146 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/1.001, allocations: 14.19 kB / 1.146 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/1.002, allocations: 0.5388 MB / 1.146 GB, free: 19.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/1.002, allocations: 0.6817 MB / 1.147 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.266e-05/1.002, allocations: 55.11 kB / 1.147 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/1.002, allocations: 8.047 kB / 1.147 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.002, allocations: 0 / 1.147 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.01115/1.013, allocations: 3.921 MB / 1.151 GB, free: 16.12 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)