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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 3.999/3.999, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.56e-05/4.619e-05, allocations: 4.609 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1783, allocations: 98.72 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.4269, allocations: 127.3 MB / 0.759 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.4273, allocations: 91.92 kB / 0.7591 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04675/0.474, allocations: 10.71 MB / 0.7696 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.333e-06/0.4741, allocations: 4 kB / 0.7696 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.034e-06/0.4741, allocations: 0 / 0.7696 GB, free: 7.613 MB / 0.6511 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.0005189/0.4746, allocations: 424 kB / 0.77 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.4747, allocations: 12.03 kB / 0.77 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.4748, allocations: 11.86 kB / 0.77 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.475, allocations: 183 kB / 0.7702 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.475, allocations: 4 kB / 0.7702 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.475, allocations: 4 kB / 0.7702 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.4753, allocations: 125.5 kB / 0.7703 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.651e-06/0.4753, allocations: 0 / 0.7703 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.4754, allocations: 4 kB / 0.7703 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-06/0.4754, allocations: 0 / 0.7703 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4756, allocations: 63.95 kB / 0.7704 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.4758, allocations: 161.6 kB / 0.7705 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.476, allocations: 118.6 kB / 0.7707 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.4762, allocations: 100.9 kB / 0.7708 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.4762, allocations: 3.938 kB / 0.7708 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4763, allocations: 30.56 kB / 0.7708 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.995e-06/0.4763, allocations: 0 / 0.7708 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0005324/0.4768, allocations: 215.2 kB / 0.771 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.4769, allocations: 89.11 kB / 0.7711 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.477, allocations: 121.1 kB / 0.7712 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4771, allocations: 29.7 kB / 0.7712 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.4772, allocations: 88.14 kB / 0.7713 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.4772, allocations: 15.91 kB / 0.7713 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.4773, allocations: 3.938 kB / 0.7713 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4774, allocations: 322.8 kB / 0.7716 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4776, allocations: 60.28 kB / 0.7717 GB, free: 5.246 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.4777, allocations: 67.83 kB / 0.7718 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4779, allocations: 93.67 kB / 0.7718 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-06/0.4779, allocations: 0 / 0.7718 GB, free: 5.082 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004534/0.4784, allocations: 207.3 kB / 0.772 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.4784, allocations: 41.69 kB / 0.7721 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.419e-06/0.4785, allocations: 0 / 0.7721 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4785, allocations: 0 / 0.7721 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.646e-06/0.4785, allocations: 0 / 0.7721 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.312e-06/0.4785, allocations: 4 kB / 0.7721 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.4788, allocations: 19.83 kB / 0.7721 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.4789, allocations: 19.98 kB / 0.7721 GB, free: 4.777 MB / 0.6511 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.0001748/0.479, allocations: 154.7 kB / 0.7723 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.4791, allocations: 11.91 kB / 0.7723 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.4791, allocations: 8.625 kB / 0.7723 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-06/0.4791, allocations: 0 / 0.7723 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-06/0.4792, allocations: 0 / 0.7723 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-06/0.4792, allocations: 0 / 0.7723 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.4794, allocations: 181.6 kB / 0.7725 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4794, allocations: 0 / 0.7725 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.009e-06/0.4794, allocations: 0 / 0.7725 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.894e-06/0.4794, allocations: 3.938 kB / 0.7725 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.4794, allocations: 15.98 kB / 0.7725 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.4794, allocations: 4.062 kB / 0.7725 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.4795, allocations: 0 / 0.7725 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005461/0.48, allocations: 278.5 kB / 0.7727 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.4801, allocations: 89 kB / 0.7728 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.4802, allocations: 8 kB / 0.7728 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.4805, allocations: 15.92 kB / 0.7729 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.4805, allocations: 16.02 kB / 0.7729 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.4806, allocations: 11.98 kB / 0.7729 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001475/0.4808, allocations: 103.2 kB / 0.773 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.436e-06/0.4808, allocations: 0 / 0.773 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009307/0.4818, allocations: 99.97 kB / 0.7731 GB, free: 3.688 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]) * 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.001882/0.4837, allocations: 421.6 kB / 0.7735 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008879/0.4846, allocations: 283.3 kB / 0.7737 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.683e-06/0.4846, allocations: 0 / 0.7737 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.485, allocations: 215.3 kB / 0.774 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.4852, allocations: 7.953 kB / 0.774 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.4871, allocations: 476.7 kB / 0.7744 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4875, allocations: 0.6848 MB / 0.7751 GB, free: 1.625 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000106/0.4876, allocations: 55.75 kB / 0.7751 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.4877, allocations: 11.44 kB / 0.7751 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of SimCode: time 1.645e-06/0.4877, allocations: 0 / 0.7751 GB, free: 1.562 MB / 0.6511 GB Notification: Performance of Templates: time 0.4432/0.9309, allocations: 3.836 MB / 0.7789 GB, free: 139.8 MB / 0.6511 GB