Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadModel(Buildings): time 3.973/3.973, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.071e-05, allocations: 4.844 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/0.4609, allocations: 124.7 MB / 0.7565 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/0.4613, allocations: 67.97 kB / 0.7566 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01576/0.4771, allocations: 2.051 MB / 0.7586 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.982e-06/0.4771, allocations: 0 / 0.7586 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.4772, allocations: 0 / 0.7586 GB, free: 2.883 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001313/0.4785, allocations: 430.2 kB / 0.759 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.4786, allocations: 8.031 kB / 0.759 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.322e-05/0.4787, allocations: 15.81 kB / 0.759 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.4791, allocations: 211.5 kB / 0.7592 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.4792, allocations: 4 kB / 0.7592 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.4793, allocations: 8 kB / 0.7592 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.4798, allocations: 113.3 kB / 0.7594 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.4798, allocations: 3.953 kB / 0.7594 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.4799, allocations: 4 kB / 0.7594 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.4799, allocations: 0 / 0.7594 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.4804, allocations: 87.97 kB / 0.7594 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.4818, allocations: 412.5 kB / 0.7598 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.4833, allocations: 130.5 kB / 0.76 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/0.4835, allocations: 53.02 kB / 0.76 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.4836, allocations: 4 kB / 0.76 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.4837, allocations: 30.56 kB / 0.7601 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 5.164e-06/0.4837, allocations: 0 / 0.7601 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0007272/0.4844, allocations: 137.7 kB / 0.7602 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.4845, allocations: 67.34 kB / 0.7602 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.4848, allocations: 132.2 kB / 0.7604 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.4849, allocations: 25.7 kB / 0.7604 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.485, allocations: 108 kB / 0.7605 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/0.4851, allocations: 23.66 kB / 0.7605 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.4852, allocations: 0 / 0.7605 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.4854, allocations: 326.8 kB / 0.7608 GB, free: 396 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.4856, allocations: 39.92 kB / 0.7609 GB, free: 356 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.486, allocations: 39.98 kB / 0.7609 GB, free: 316 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.4864, allocations: 39.98 kB / 0.7609 GB, free: 276 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.231e-06/0.4864, allocations: 0 / 0.7609 GB, free: 276 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008661/0.4873, allocations: 137.4 kB / 0.7611 GB, free: 132 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.4874, allocations: 6.344 kB / 0.7611 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.932e-06/0.4874, allocations: 0 / 0.7611 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.4874, allocations: 0 / 0.7611 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/0.4884, allocations: 47.95 kB / 0.7611 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.4884, allocations: 384 / 0.7611 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006134/0.489, allocations: 35.92 kB / 0.7612 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.4891, allocations: 0 / 0.7612 GB, free: 44 kB / 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0002905/0.4894, allocations: 109 kB / 0.7613 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.4896, allocations: 23.77 kB / 0.7613 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.4898, allocations: 16.62 kB / 0.7613 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-06/0.4898, allocations: 3.938 kB / 0.7613 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.018e-06/0.4898, allocations: 0 / 0.7613 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4899, allocations: 4 kB / 0.7613 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.4906, allocations: 241.3 kB / 0.7615 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.952e-06/0.4907, allocations: 0 / 0.7615 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007154/0.4914, allocations: 51.95 kB / 0.7616 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.6e-06/0.4915, allocations: 0 / 0.7616 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/0.4915, allocations: 4 kB / 0.7616 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.733e-06/0.4915, allocations: 4 kB / 0.7616 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.735e-06/0.4916, allocations: 0 / 0.7616 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.4925, allocations: 227.3 kB / 0.7618 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.4926, allocations: 89.02 kB / 0.7619 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.4927, allocations: 0 / 0.7619 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005783/0.4933, allocations: 31.97 kB / 0.7619 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.4936, allocations: 31.95 kB / 0.762 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.4936, allocations: 4 kB / 0.762 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002439/0.4939, allocations: 109.3 kB / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.562e-06/0.4939, allocations: 0 / 0.7621 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000754/0.4947, allocations: 27.91 kB / 0.7621 GB, free: 14.99 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0003156/0.495, allocations: 123.2 kB / 0.7622 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006988/0.4958, allocations: 95.91 kB / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.628e-06/0.4958, allocations: 0 / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.4962, allocations: 55.98 kB / 0.7624 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.4967, allocations: 28.28 kB / 0.7624 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4978, allocations: 177 kB / 0.7626 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.4986, allocations: 0.7082 MB / 0.7632 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003505/0.499, allocations: 20.42 kB / 0.7633 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.4993, allocations: 19.42 kB / 0.7633 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of SimCode: time 3.022e-06/0.4993, allocations: 4 kB / 0.7633 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.007778/0.5071, allocations: 1.98 MB / 0.7652 GB, free: 11.74 MB / 0.6511 GB