Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.877/4.877, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002501/0.002501, allocations: 360.4 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.017/4.017, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00254/0.002539, allocations: 169.2 kB / 1.226 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004737/0.000474, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9088/1.13, allocations: 137.8 MB / 1.596 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/1.13, allocations: 76.2 kB / 1.596 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.01202/1.142, allocations: 1.994 MB / 1.598 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.414e-06/1.142, allocations: 0 / 1.598 GB, free: 2.105 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.519e-05/1.142, allocations: 4 kB / 1.598 GB, free: 2.102 MB / 0.6667 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.001351/1.143, allocations: 447.2 kB / 1.598 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.143, allocations: 8.031 kB / 1.598 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.348e-05/1.144, allocations: 15.81 kB / 1.598 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/1.144, allocations: 207.2 kB / 1.599 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/1.144, allocations: 7.875 kB / 1.599 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/1.144, allocations: 7.984 kB / 1.599 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/1.145, allocations: 160.5 kB / 1.599 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.145, allocations: 0.875 kB / 1.599 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/1.145, allocations: 7.953 kB / 1.599 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.145, allocations: 3.938 kB / 1.599 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/1.146, allocations: 194.2 kB / 1.599 GB, free: 1.043 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/1.148, allocations: 414.2 kB / 1.599 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/1.15, allocations: 189.5 kB / 1.6 GB, free: 488 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/1.15, allocations: 106.9 kB / 1.6 GB, free: 400 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/1.15, allocations: 0 / 1.6 GB, free: 400 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.15, allocations: 30.56 kB / 1.6 GB, free: 360 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 2.093e-06/1.15, allocations: 4 kB / 1.6 GB, free: 356 kB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.002342/1.153, allocations: 327.1 kB / 1.6 GB, free: 68 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.153, allocations: 55.41 kB / 1.6 GB, free: 0 / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/1.153, allocations: 154.5 kB / 1.6 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/1.153, allocations: 29.69 kB / 1.6 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/1.153, allocations: 103.7 kB / 1.6 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/1.153, allocations: 31.16 kB / 1.6 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/1.153, allocations: 384 / 1.6 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.154, allocations: 330.6 kB / 1.601 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007308/1.154, allocations: 91.3 kB / 1.601 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/1.155, allocations: 99.11 kB / 1.601 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/1.156, allocations: 87.31 kB / 1.601 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.156, allocations: 4 kB / 1.601 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001686/1.158, allocations: 235.4 kB / 1.601 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.158, allocations: 4 kB / 1.601 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.158, allocations: 0 / 1.601 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.158, allocations: 0 / 1.601 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006631/1.158, allocations: 47.95 kB / 1.601 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.158, allocations: 0 / 1.601 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/1.159, allocations: 39.36 kB / 1.601 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/1.159, allocations: 11.98 kB / 1.601 GB, free: 14.83 MB / 0.6823 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 () * Number of clocked 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.0001975/1.159, allocations: 119.8 kB / 1.601 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.228e-05/1.159, allocations: 11.91 kB / 1.601 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.808e-05/1.159, allocations: 17.95 kB / 1.601 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.159, allocations: 4 kB / 1.601 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.159, allocations: 0 / 1.601 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.159, allocations: 0 / 1.601 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005261/1.16, allocations: 233.9 kB / 1.602 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.16, allocations: 4 kB / 1.602 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/1.161, allocations: 42.89 kB / 1.602 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.161, allocations: 4 kB / 1.602 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/1.161, allocations: 3.984 kB / 1.602 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.161, allocations: 0 / 1.602 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.161, allocations: 0 / 1.602 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.162, allocations: 341 kB / 1.602 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/1.163, allocations: 88.95 kB / 1.602 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/1.163, allocations: 3.312 kB / 1.602 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/1.163, allocations: 31.97 kB / 1.602 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.163, allocations: 30.2 kB / 1.602 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/1.163, allocations: 11.12 kB / 1.602 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001505/1.164, allocations: 110.3 kB / 1.602 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.164, allocations: 0 / 1.602 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006042/1.164, allocations: 35.16 kB / 1.602 GB, free: 13.77 MB / 0.6823 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 () * Number of clocked 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.0002241/1.164, allocations: 122.8 kB / 1.602 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001538/1.166, allocations: 198.7 kB / 1.603 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.166, allocations: 0 / 1.603 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008009/1.167, allocations: 113.2 kB / 1.603 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/1.167, allocations: 18.77 kB / 1.603 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/1.168, allocations: 263.5 kB / 1.603 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/1.169, allocations: 0.7121 MB / 1.604 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002784/1.169, allocations: 24.36 kB / 1.604 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/1.169, allocations: 19.42 kB / 1.604 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/1.169, allocations: 0 / 1.604 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.008929/1.178, allocations: 1.984 MB / 1.606 GB, free: 10.39 MB / 0.6823 GB