Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.Exchange.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.004/4.004, allocations: 433.4 MB / 440.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.294e-05/1.304e-05, allocations: 0 / 0.5325 GB, free: 1.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5971/0.5972, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.8779, allocations: 126.6 MB / 0.7526 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004575/0.8785, allocations: 87.88 kB / 0.7527 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07833/0.9568, allocations: 10.72 MB / 0.7631 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.1e-06/0.9569, allocations: 0 / 0.7631 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.43e-06/0.9569, allocations: 0 / 0.7631 GB, free: 6.094 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.0005346/0.9574, allocations: 428 kB / 0.7636 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.9575, allocations: 8.031 kB / 0.7636 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.9575, allocations: 15.86 kB / 0.7636 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.9577, allocations: 171.1 kB / 0.7637 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.9578, allocations: 3.984 kB / 0.7637 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.9578, allocations: 8 kB / 0.7637 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001535/0.958, allocations: 55.95 kB / 0.7638 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.9582, allocations: 121.5 kB / 0.7639 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.799e-06/0.9582, allocations: 3.938 kB / 0.7639 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.9583, allocations: 4 kB / 0.7639 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.9583, allocations: 3.953 kB / 0.7639 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.9585, allocations: 134.2 kB / 0.7641 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.9587, allocations: 110.9 kB / 0.7642 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.9589, allocations: 96.91 kB / 0.7643 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-06/0.9589, allocations: 4 kB / 0.7643 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.9589, allocations: 30.56 kB / 0.7643 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.233e-06/0.9589, allocations: 0 / 0.7643 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006736/0.9596, allocations: 193.4 kB / 0.7645 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.9597, allocations: 89.09 kB / 0.7646 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.9599, allocations: 120.8 kB / 0.7647 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.9599, allocations: 29.7 kB / 0.7647 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.96, allocations: 88.17 kB / 0.7648 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.96, allocations: 11.81 kB / 0.7648 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.9601, allocations: 4 kB / 0.7648 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.9602, allocations: 330.8 kB / 0.7651 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.9604, allocations: 51.95 kB / 0.7652 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.9605, allocations: 55.97 kB / 0.7652 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.9608, allocations: 63.92 kB / 0.7653 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.277e-06/0.9608, allocations: 4 kB / 0.7653 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005763/0.9614, allocations: 181.6 kB / 0.7655 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.9615, allocations: 45.75 kB / 0.7655 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.297e-06/0.9615, allocations: 4 kB / 0.7655 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.9615, allocations: 0 / 0.7655 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-06/0.9615, allocations: 7.875 kB / 0.7655 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-06/0.9616, allocations: 0 / 0.7655 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.9618, allocations: 19.89 kB / 0.7655 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.9619, allocations: 20.05 kB / 0.7655 GB, free: 3.41 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 () * 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.0001782/0.9621, allocations: 151.7 kB / 0.7657 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.9621, allocations: 11.91 kB / 0.7657 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.9622, allocations: 12.62 kB / 0.7657 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.9622, allocations: 0 / 0.7657 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.9622, allocations: 0 / 0.7657 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-06/0.9622, allocations: 0 / 0.7657 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.9624, allocations: 158.1 kB / 0.7659 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-06/0.9624, allocations: 0 / 0.7659 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-06/0.9624, allocations: 0 / 0.7659 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.63e-06/0.9624, allocations: 0 / 0.7659 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.9625, allocations: 15.98 kB / 0.7659 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.875e-06/0.9625, allocations: 0 / 0.7659 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-06/0.9625, allocations: 0 / 0.7659 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.9632, allocations: 240.9 kB / 0.7661 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.9633, allocations: 92.95 kB / 0.7662 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.9633, allocations: 8 kB / 0.7662 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.9636, allocations: 12.36 kB / 0.7662 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.9636, allocations: 15.92 kB / 0.7662 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.9637, allocations: 11.98 kB / 0.7662 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.455e-05/0.9638, allocations: 103.2 kB / 0.7663 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.6e-07/0.9638, allocations: 0 / 0.7663 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005483/0.9643, allocations: 107.9 kB / 0.7664 GB, free: 2.402 MB / 0.6355 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.001152/0.9655, allocations: 420 kB / 0.7668 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.966, allocations: 271.2 kB / 0.7671 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.969e-06/0.966, allocations: 0 / 0.7671 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.9663, allocations: 207.3 kB / 0.7673 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.9664, allocations: 5.094 kB / 0.7673 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.9679, allocations: 455.5 kB / 0.7677 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.9683, allocations: 0.6923 MB / 0.7684 GB, free: 348 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.9684, allocations: 47.88 kB / 0.7685 GB, free: 300 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.9685, allocations: 19.36 kB / 0.7685 GB, free: 284 kB / 0.6355 GB Notification: Performance of SimCode: time 1.409e-06/0.9685, allocations: 4 kB / 0.7685 GB, free: 280 kB / 0.6355 GB Notification: Performance of Templates: time 0.009772/0.9783, allocations: 3.782 MB / 0.7722 GB, free: 12.52 MB / 0.6511 GB