Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008805/0.008805, allocations: 111 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001085/0.001085, allocations: 182.7 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.97/1.97, allocations: 194.6 MB / 211.3 MB, free: 11.25 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.102/2.102, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007485/0.0007487, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5494, allocations: 98.7 MB / 0.6833 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.7347, allocations: 127.4 MB / 0.8078 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.7351, allocations: 87.94 kB / 0.8078 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.7802, allocations: 10.9 MB / 0.8185 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.721e-06/0.7802, allocations: 0 / 0.8185 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.239e-06/0.7803, allocations: 4 kB / 0.8185 GB, free: 3.871 MB / 0.6355 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.0005406/0.7808, allocations: 429 kB / 0.8189 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7809, allocations: 8.031 kB / 0.8189 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.7809, allocations: 19.8 kB / 0.8189 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.7811, allocations: 175 kB / 0.8191 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.7812, allocations: 0 / 0.8191 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.7812, allocations: 15.88 kB / 0.8191 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.7815, allocations: 121.6 kB / 0.8192 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-06/0.7815, allocations: 0 / 0.8192 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.7815, allocations: 8 kB / 0.8192 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.7816, allocations: 0 / 0.8192 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.7817, allocations: 67.94 kB / 0.8193 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.7819, allocations: 161.7 kB / 0.8194 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.7821, allocations: 110.5 kB / 0.8196 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.7822, allocations: 4.031 kB / 0.8196 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.7822, allocations: 30.56 kB / 0.8196 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/0.7822, allocations: 4 kB / 0.8196 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0007247/0.783, allocations: 360.3 kB / 0.8199 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.7831, allocations: 93.03 kB / 0.82 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.7832, allocations: 120.8 kB / 0.8201 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.7832, allocations: 29.7 kB / 0.8202 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.7833, allocations: 88.14 kB / 0.8203 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.7834, allocations: 11.81 kB / 0.8203 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.7834, allocations: 4 kB / 0.8203 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7836, allocations: 326.8 kB / 0.8206 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.7837, allocations: 55.95 kB / 0.8206 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.7839, allocations: 63.94 kB / 0.8207 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.784, allocations: 89.66 kB / 0.8208 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-06/0.7841, allocations: 0 / 0.8208 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004597/0.7845, allocations: 211.3 kB / 0.821 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.7846, allocations: 41.69 kB / 0.821 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.639e-06/0.7846, allocations: 3.938 kB / 0.821 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7846, allocations: 0 / 0.821 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-06/0.7846, allocations: 3.938 kB / 0.821 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.183e-06/0.7847, allocations: 4.062 kB / 0.821 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.7849, allocations: 19.89 kB / 0.821 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.785, allocations: 15.98 kB / 0.8211 GB, free: 0.9648 MB / 0.6355 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.0002078/0.7852, allocations: 163.5 kB / 0.8212 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.7853, allocations: 16.27 kB / 0.8212 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.7853, allocations: 8.375 kB / 0.8212 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.111e-06/0.7853, allocations: 0 / 0.8212 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.7853, allocations: 256 / 0.8212 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-06/0.7853, allocations: 11.94 kB / 0.8213 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.7855, allocations: 177.5 kB / 0.8214 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7855, allocations: 0 / 0.8214 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-06/0.7855, allocations: 0 / 0.8214 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.7856, allocations: 4 kB / 0.8214 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.7856, allocations: 11.98 kB / 0.8214 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-06/0.7856, allocations: 0 / 0.8214 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-06/0.7856, allocations: 0 / 0.8214 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.7862, allocations: 282.5 kB / 0.8217 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.78e-05/0.7863, allocations: 92.94 kB / 0.8218 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.839e-05/0.7863, allocations: 8 kB / 0.8218 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.7866, allocations: 11.98 kB / 0.8218 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.7866, allocations: 8 kB / 0.8218 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.7867, allocations: 15.98 kB / 0.8218 GB, free: 60 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001025/0.7868, allocations: 95.27 kB / 0.8219 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.909e-06/0.7868, allocations: 0 / 0.8219 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005579/0.7874, allocations: 107.9 kB / 0.822 GB, free: 15.86 MB / 0.6511 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.001247/0.7886, allocations: 440.8 kB / 0.8225 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.7892, allocations: 287.2 kB / 0.8227 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.154e-06/0.7892, allocations: 0 / 0.8227 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.7896, allocations: 219.2 kB / 0.8229 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.7897, allocations: 11.95 kB / 0.8229 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.7913, allocations: 0.5108 MB / 0.8234 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.7917, allocations: 0.6887 MB / 0.8241 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.7918, allocations: 55.88 kB / 0.8242 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.7918, allocations: 11.42 kB / 0.8242 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.562e-06/0.7918, allocations: 0 / 0.8242 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of Templates: time 0.009793/0.8016, allocations: 3.828 MB / 0.8279 GB, free: 9.875 MB / 0.6511 GB