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.659/1.659, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001162/0.001162, allocations: 187.2 kB / 377.1 MB, free: 1.535 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.707/1.707, allocations: 205.4 MB / 0.6367 GB, free: 9.574 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.0008737/0.0008738, allocations: 91.19 kB / 0.751 GB, free: 62.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003831, allocations: 12 kB / 0.8748 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 116.3 MB / 0.9884 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8797/1.195, allocations: 142.4 MB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/1.196, allocations: 97.44 kB / 1.128 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02971/1.225, allocations: 11.55 MB / 1.139 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/1.225, allocations: 0 / 1.139 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.225, allocations: 0.5625 kB / 1.139 GB, free: 25.1 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.0005379/1.226, allocations: 438.5 kB / 1.139 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.226, allocations: 8.031 kB / 1.139 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/1.226, allocations: 10.06 kB / 1.139 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/1.226, allocations: 177.6 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/1.226, allocations: 2.328 kB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/1.226, allocations: 9.125 kB / 1.139 GB, free: 24.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/1.227, allocations: 127.8 kB / 1.14 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/1.227, allocations: 0 / 1.14 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/1.227, allocations: 5.719 kB / 1.14 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/1.227, allocations: 0 / 1.14 GB, free: 24.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/1.227, allocations: 66.44 kB / 1.14 GB, free: 24.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/1.227, allocations: 164.5 kB / 1.14 GB, free: 24.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/1.227, allocations: 117.4 kB / 1.14 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/1.227, allocations: 0 / 1.14 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/1.227, allocations: 39.09 kB / 1.14 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 7.41e-07/1.227, allocations: 0 / 1.14 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0005428/1.228, allocations: 357.2 kB / 1.14 GB, free: 23.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/1.228, allocations: 88.95 kB / 1.14 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/1.228, allocations: 115.8 kB / 1.14 GB, free: 23.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/1.228, allocations: 33.73 kB / 1.14 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/1.228, allocations: 89.44 kB / 1.141 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/1.228, allocations: 21.02 kB / 1.141 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/1.228, allocations: 0 / 1.141 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.903e-05/1.228, allocations: 320.3 kB / 1.141 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.051e-05/1.228, allocations: 58.25 kB / 1.141 GB, free: 22.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/1.228, allocations: 62.81 kB / 1.141 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/1.228, allocations: 96.7 kB / 1.141 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.228, allocations: 0.9844 kB / 1.141 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002681/1.229, allocations: 216.5 kB / 1.141 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/1.229, allocations: 48.25 kB / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.229, allocations: 0 / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.229, allocations: 0.6562 kB / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/1.229, allocations: 0 / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/1.229, allocations: 0.7031 kB / 1.141 GB, free: 22.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/1.229, allocations: 20.02 kB / 1.141 GB, free: 22.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/1.229, allocations: 14.77 kB / 1.141 GB, free: 22.43 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.0001452/1.229, allocations: 171 kB / 1.142 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/1.229, allocations: 11.91 kB / 1.142 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/1.229, allocations: 9.781 kB / 1.142 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.229, allocations: 1.75 kB / 1.142 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.229, allocations: 0 / 1.142 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.229, allocations: 0.6562 kB / 1.142 GB, free: 22.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/1.229, allocations: 168.9 kB / 1.142 GB, free: 22.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.229, allocations: 3.953 kB / 1.142 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/1.229, allocations: 0.7031 kB / 1.142 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.229, allocations: 0 / 1.142 GB, free: 22.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/1.229, allocations: 20.38 kB / 1.142 GB, free: 22.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.229, allocations: 4.969 kB / 1.142 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.229, allocations: 0 / 1.142 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/1.23, allocations: 273.7 kB / 1.142 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/1.23, allocations: 93.56 kB / 1.142 GB, free: 21.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/1.23, allocations: 9.578 kB / 1.142 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.23, allocations: 12.12 kB / 1.142 GB, free: 21.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/1.23, allocations: 10.28 kB / 1.142 GB, free: 21.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/1.23, allocations: 18.91 kB / 1.142 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.716e-05/1.23, allocations: 97.38 kB / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.23, allocations: 0 / 1.142 GB, free: 21.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004498/1.231, allocations: 108.5 kB / 1.142 GB, free: 21.42 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.0009845/1.232, allocations: 425.5 kB / 1.143 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003638/1.232, allocations: 290 kB / 1.143 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.232, allocations: 0 / 1.143 GB, free: 20.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.232, allocations: 208.7 kB / 1.143 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/1.232, allocations: 11.94 kB / 1.143 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.234, allocations: 0.543 MB / 1.144 GB, free: 20.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/1.234, allocations: 0.6833 MB / 1.144 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.807e-05/1.234, allocations: 55.3 kB / 1.144 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/1.234, allocations: 8.047 kB / 1.144 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/1.234, allocations: 0 / 1.144 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.008047/1.242, allocations: 3.884 MB / 1.148 GB, free: 17.29 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)