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 5.004/5.004, allocations: 0.5623 GB / 0.5776 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00411/0.00411, allocations: 357.1 kB / 0.6446 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.757/4.757, allocations: 410.7 MB / 1.113 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002613/0.002612, allocations: 175.8 kB / 1.226 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005036, allocations: 12.78 kB / 1.349 GB, free: 320.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00109/0.2173, allocations: 0.5377 MB / 1.462 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2186, allocations: 0.8818 MB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.286e-05/0.2187, allocations: 4 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.2189, allocations: 7.922 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.219, allocations: 15.8 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2192, allocations: 48.72 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.2194, allocations: 111.7 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2195, allocations: 28.45 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.2196, allocations: 52.66 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2198, allocations: 67.73 kB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.2198, allocations: 9.094 kB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.6e-05/0.2199, allocations: 4 kB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.2199, allocations: 27.91 kB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.587e-05/0.22, allocations: 41.36 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.2201, allocations: 91.77 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2202, allocations: 4 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2202, allocations: 4 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2202, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 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.001085/0.2213, allocations: 441.1 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.2213, allocations: 12.75 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.2214, allocations: 13.27 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2217, allocations: 199.2 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.2217, allocations: 15.94 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.2217, allocations: 8 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/0.2224, allocations: 169.5 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2225, allocations: 0 / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.2225, allocations: 4 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2225, allocations: 0.875 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.2236, allocations: 189.7 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.2246, allocations: 419.6 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.2262, allocations: 190.7 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005358/0.2268, allocations: 105.6 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.2269, allocations: 0 / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2269, allocations: 34.56 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.2269, allocations: 1.375 kB / 1.465 GB, free: 216.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.001682/0.2286, allocations: 330.2 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.2287, allocations: 55.41 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2288, allocations: 139 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.2289, allocations: 30.55 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2289, allocations: 112.3 kB / 1.466 GB, free: 216.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.229, allocations: 33.61 kB / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.229, allocations: 0 / 1.466 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.2291, allocations: 318.8 kB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.2296, allocations: 98.89 kB / 1.466 GB, free: 215.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/0.2301, allocations: 91.61 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.2306, allocations: 90.84 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.2307, allocations: 0 / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001115/0.2318, allocations: 235.5 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2318, allocations: 4 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.2319, allocations: 5.094 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.2319, allocations: 0 / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.2324, allocations: 42.3 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.2324, allocations: 11.94 kB / 1.466 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.2327, allocations: 33.5 kB / 1.467 GB, free: 215.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.2328, allocations: 4.594 kB / 1.467 GB, free: 215.2 MB / 0.8073 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.0001357/0.2329, allocations: 127.7 kB / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.233, allocations: 11.81 kB / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.233, allocations: 16.72 kB / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.233, allocations: 3.984 kB / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2331, allocations: 0 / 1.467 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.2331, allocations: 84.97 kB / 1.467 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.2331, allocations: 8 kB / 1.467 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.2335, allocations: 26.03 kB / 1.467 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.2337, allocations: 40.73 kB / 1.467 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001432/0.2351, allocations: 328.7 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001193/0.2364, allocations: 421.6 kB / 1.468 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005629/0.237, allocations: 118.8 kB / 1.468 GB, free: 214 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.081e-05/0.2371, allocations: 108.4 kB / 1.468 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of Backend: time 1.362e-06/0.2371, allocations: 0.5 kB / 1.468 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009833/0.2381, allocations: 191.5 kB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0006776/0.2388, allocations: 0.6714 MB / 1.469 GB, free: 213 MB / 0.8073 GB Notification: Performance of Templates: time 0.006616/0.2454, allocations: 2.231 MB / 1.471 GB, free: 210.9 MB / 0.8073 GB