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.529/2.529, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001856/0.001856, allocations: 175.2 kB / 325.6 MB, free: 2.832 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.648/2.648, 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.002106/0.002106, allocations: 99.48 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 14.06 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2325, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001862/0.2344, allocations: 1.248 MB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005698/0.235, allocations: 198.3 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.2351, allocations: 4 kB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2352, allocations: 11.86 kB / 0.9003 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.2354, allocations: 11.98 kB / 0.9003 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.2356, allocations: 51.88 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.2358, allocations: 75.77 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2359, allocations: 33.16 kB / 0.9005 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.236, allocations: 55.81 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.2362, allocations: 59.75 kB / 0.9006 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.2362, allocations: 7.984 kB / 0.9006 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.838e-05/0.2362, allocations: 8 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.2363, allocations: 27.91 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2364, allocations: 37.64 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.2365, allocations: 95.77 kB / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2365, allocations: 0 / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2365, allocations: 0 / 0.9008 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2365, allocations: 3.938 kB / 0.9008 GB, free: 63.54 MB / 0.6042 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.001096/0.2377, allocations: 448.4 kB / 0.9012 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2377, allocations: 8.031 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.2378, allocations: 19.77 kB / 0.9012 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.238, allocations: 203.4 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.2381, allocations: 8 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.2381, allocations: 8 kB / 0.9014 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.2388, allocations: 169.5 kB / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2388, allocations: 0 / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.2389, allocations: 0 / 0.9016 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.2389, allocations: 4 kB / 0.9016 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.2399, allocations: 191.8 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009252/0.2408, allocations: 416.4 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.2424, allocations: 190.5 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.2425, allocations: 4.031 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2425, allocations: 34.56 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.776e-06/0.2425, allocations: 0 / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.001701/0.2442, allocations: 333.7 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.2443, allocations: 51.41 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.2445, allocations: 150 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.2445, allocations: 25.7 kB / 0.9029 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.2446, allocations: 115.9 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.2447, allocations: 31.64 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.2447, allocations: 0 / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.2448, allocations: 322.8 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.2453, allocations: 91.86 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.2457, allocations: 92.23 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004824/0.2462, allocations: 96.05 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2463, allocations: 0 / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001119/0.2474, allocations: 237.4 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2474, allocations: 6.031 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2475, allocations: 4 kB / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2475, allocations: 0 / 0.9039 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.248, allocations: 55.91 kB / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.248, allocations: 0 / 0.9039 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.2483, allocations: 27.88 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.2483, allocations: 4 kB / 0.904 GB, free: 60.05 MB / 0.6042 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.00013/0.2485, allocations: 125.8 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.2485, allocations: 11.91 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.2486, allocations: 20.66 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2486, allocations: 0 / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.2486, allocations: 3.953 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2486, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.2489, allocations: 233.5 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.249, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.2494, allocations: 51.95 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.2494, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.2495, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2495, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2495, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2506, allocations: 343.1 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.2507, allocations: 92.94 kB / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.2507, allocations: 0 / 0.9048 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.2511, allocations: 27.97 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.2513, allocations: 28.16 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.2513, allocations: 11.98 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.452e-05/0.2514, allocations: 123.1 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2514, allocations: 0 / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003422/0.2518, allocations: 19.95 kB / 0.905 GB, free: 58.89 MB / 0.6042 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.0001349/0.2519, allocations: 111.2 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.253, allocations: 195.8 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.253, allocations: 0 / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.2536, allocations: 123.8 kB / 0.9054 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2539, allocations: 16.84 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.2546, allocations: 274.8 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2548, allocations: 0.7043 MB / 0.9064 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.255, allocations: 28.42 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.2552, allocations: 15.42 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2552, allocations: 4 kB / 0.9064 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.006113/0.2614, allocations: 1.966 MB / 0.9083 GB, free: 55.42 MB / 0.6042 GB