Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.169/2.169, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003/0.003, allocations: 188.4 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.479/2.479, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 96.34 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006387, allocations: 15.53 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2107, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/0.4561, allocations: 131.8 MB / 1.028 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.4565, allocations: 75.95 kB / 1.028 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.4671, allocations: 2.043 MB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.235e-06/0.4672, allocations: 4 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.4672, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 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.001113/0.4683, allocations: 454.8 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4684, allocations: 15.97 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.007e-05/0.4685, allocations: 7.906 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.4688, allocations: 207.4 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.4688, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4689, allocations: 12 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/0.4696, allocations: 161.5 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4696, allocations: 3.953 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.4697, allocations: 4 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4697, allocations: 3.938 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.4708, allocations: 187.8 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.4719, allocations: 420.4 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.4735, allocations: 186.5 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.4735, allocations: 3.984 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.4736, allocations: 34.78 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.4736, allocations: 3.938 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001855/0.4755, allocations: 325.4 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.4755, allocations: 67.47 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.4757, allocations: 133.3 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4758, allocations: 25.7 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.788e-05/0.4759, allocations: 112 kB / 1.032 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.4759, allocations: 27.61 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.476, allocations: 0 / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4761, allocations: 318.8 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005413/0.4766, allocations: 96.78 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.4772, allocations: 87.92 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005472/0.4778, allocations: 91.94 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4778, allocations: 0 / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00122/0.479, allocations: 233.4 kB / 1.033 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.479, allocations: 4 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4791, allocations: 4 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4791, allocations: 4 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.4796, allocations: 39.95 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.4796, allocations: 8.594 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.48, allocations: 47.7 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.48, allocations: 8 kB / 1.033 GB, free: 7.945 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.0001616/0.4802, allocations: 125.8 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.4803, allocations: 7.906 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.4803, allocations: 12.72 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4804, allocations: 4 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.4804, allocations: 3.938 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4804, allocations: 7.984 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.4807, allocations: 233.5 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4808, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.4812, allocations: 43.95 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.4813, allocations: 0 / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4813, allocations: 11.97 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4813, allocations: 0 / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.4813, allocations: 0 / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.4826, allocations: 339.1 kB / 1.034 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.4827, allocations: 85.02 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.4828, allocations: 4 kB / 1.034 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/0.4832, allocations: 31.97 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.4834, allocations: 35.89 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.4834, allocations: 4 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001328/0.4835, allocations: 111.8 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.257e-06/0.4836, allocations: 0 / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003492/0.4839, allocations: 27.94 kB / 1.034 GB, free: 6.785 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.0001792/0.4841, allocations: 109.6 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.4853, allocations: 203.8 kB / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4853, allocations: 0 / 1.034 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006133/0.486, allocations: 119.8 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4863, allocations: 18.14 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.4871, allocations: 261.2 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.4874, allocations: 0.716 MB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.4876, allocations: 24.42 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.4878, allocations: 19.42 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/0.4878, allocations: 0 / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.006957/0.4947, allocations: 1.972 MB / 1.037 GB, free: 3.312 MB / 0.6823 GB