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 2.623/2.623, allocations: 287.9 MB / 302.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002881/0.002881, allocations: 190.9 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 100.3 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 20.36 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2304, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.0008935/0.2313, allocations: 0.5326 MB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2323, allocations: 0.8877 MB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.047e-05/0.2324, allocations: 4 kB / 0.9802 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.958e-05/0.2325, allocations: 11.88 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.2326, allocations: 15.91 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.2328, allocations: 47.94 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2329, allocations: 63.86 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.2331, allocations: 33.3 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.875e-05/0.2331, allocations: 47.81 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2333, allocations: 71.67 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.2333, allocations: 4 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.246e-05/0.2333, allocations: 11.94 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.2334, allocations: 27.89 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.2334, allocations: 37.64 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.2336, allocations: 95.77 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.643e-06/0.2336, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2336, allocations: 4 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.501e-06/0.2336, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 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.0007418/0.2344, allocations: 448.4 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2344, allocations: 12.02 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.2345, allocations: 11.86 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.2346, allocations: 201.1 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2347, allocations: 8 kB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2347, allocations: 8 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/0.2352, allocations: 173.5 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2352, allocations: 4 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2353, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-06/0.2353, allocations: 4 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.236, allocations: 187.8 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.2367, allocations: 420.4 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2377, allocations: 194.5 kB / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.2377, allocations: 0 / 0.9822 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.2378, allocations: 38.59 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.123e-06/0.2378, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.00118/0.239, allocations: 321.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.239, allocations: 55.36 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.2392, allocations: 147.5 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.2392, allocations: 29.7 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.2392, allocations: 112 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2393, allocations: 31.92 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.2393, allocations: 0 / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.2394, allocations: 322.8 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.2397, allocations: 95.86 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.2401, allocations: 95.86 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.2404, allocations: 87.94 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-06/0.2404, allocations: 4 kB / 0.9835 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007426/0.2412, allocations: 229.4 kB / 0.9837 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2412, allocations: 4 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.847e-06/0.2412, allocations: 0 / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2413, allocations: 4 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.2416, allocations: 47.95 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.625e-06/0.2416, allocations: 7.953 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2418, allocations: 27.91 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.2419, allocations: 4 kB / 0.9838 GB, free: 22.78 MB / 0.6198 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.0001154/0.242, allocations: 133.8 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.2421, allocations: 11.81 kB / 0.9839 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.2421, allocations: 16.72 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-06/0.2421, allocations: 0 / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.756e-06/0.2421, allocations: 0 / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.344e-06/0.2422, allocations: 3.953 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.2424, allocations: 233.5 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-06/0.2424, allocations: 0 / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.2428, allocations: 51.95 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-06/0.2428, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2429, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.943e-06/0.2429, allocations: 3.984 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2429, allocations: 0 / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.2438, allocations: 339.4 kB / 0.9846 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.2438, allocations: 92.91 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.2439, allocations: 0 / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.2442, allocations: 31.97 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2443, allocations: 31.95 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2443, allocations: 11.94 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.999e-05/0.2444, allocations: 118.6 kB / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.12e-07/0.2444, allocations: 0 / 0.9848 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003413/0.2448, allocations: 19.94 kB / 0.9848 GB, free: 21.62 MB / 0.6198 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.0001152/0.2449, allocations: 107.2 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.2457, allocations: 199.8 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.585e-06/0.2457, allocations: 3.938 kB / 0.9851 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.2461, allocations: 111.9 kB / 0.9852 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.2464, allocations: 22.17 kB / 0.9853 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.247, allocations: 265.2 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2471, allocations: 0.7043 MB / 0.9862 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000144/0.2473, allocations: 24.42 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.94e-05/0.2474, allocations: 19.42 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.598e-06/0.2474, allocations: 0 / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.005318/0.2527, allocations: 1.976 MB / 0.9882 GB, free: 18.15 MB / 0.6198 GB