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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.324/2.324, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001542/0.001542, allocations: 185.5 kB / 325.6 MB, free: 2.859 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.644/2.644, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001808/0.001808, allocations: 97.25 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006241/0.0006241, allocations: 14.44 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2103, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2267/0.4371, allocations: 135.1 MB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.4374, allocations: 79.95 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04735/0.4848, allocations: 10.62 MB / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4848, allocations: 0 / 1.041 GB, free: 15.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.4849, allocations: 8 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001288/0.4862, allocations: 0.5914 MB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4863, allocations: 8.031 kB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.4864, allocations: 39.53 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.4873, allocations: 377.3 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.4874, allocations: 7.938 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.4875, allocations: 15.98 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.4879, allocations: 107.7 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4879, allocations: 8 kB / 1.042 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.4879, allocations: 4 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.488, allocations: 0 / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002903/0.4883, allocations: 67.95 kB / 1.043 GB, free: 14.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.4894, allocations: 0.4926 MB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.49, allocations: 146.7 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.49, allocations: 7.938 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003591/0.4904, allocations: 115.3 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 3.236e-06/0.4904, allocations: 4 kB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000894/0.4913, allocations: 235.6 kB / 1.043 GB, free: 13.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.4914, allocations: 51.41 kB / 1.044 GB, free: 13.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009521/0.4924, allocations: 460.7 kB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.4924, allocations: 37.64 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.4926, allocations: 160.4 kB / 1.044 GB, free: 12.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.4927, allocations: 39.53 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.4928, allocations: 8 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.493, allocations: 350.8 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003816/0.4934, allocations: 116.5 kB / 1.045 GB, free: 11.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.4938, allocations: 152.1 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.4942, allocations: 124 kB / 1.045 GB, free: 11.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4942, allocations: 3.984 kB / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001043/0.4953, allocations: 365.6 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4953, allocations: 4 kB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4953, allocations: 0 / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.322e-05/0.4954, allocations: 7.953 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.4958, allocations: 51.91 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.4959, allocations: 0 / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.4962, allocations: 24 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.4962, allocations: 19.98 kB / 1.045 GB, free: 11.09 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0003122/0.4966, allocations: 181.8 kB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.4967, allocations: 31.62 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.4974, allocations: 204.5 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4974, allocations: 7.938 kB / 1.046 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.4974, allocations: 3.953 kB / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4974, allocations: 0 / 1.046 GB, free: 10.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.4979, allocations: 309.4 kB / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4979, allocations: 0 / 1.046 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.4981, allocations: 16 kB / 1.046 GB, free: 10.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.4981, allocations: 4 kB / 1.046 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.4981, allocations: 7.984 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4981, allocations: 4 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4982, allocations: 4 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.4988, allocations: 219.1 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.499, allocations: 120.7 kB / 1.046 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.499, allocations: 8 kB / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.4992, allocations: 7.984 kB / 1.046 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.4993, allocations: 15.98 kB / 1.046 GB, free: 9.867 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.4994, allocations: 7.984 kB / 1.046 GB, free: 9.859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005803/0.5, allocations: 315.1 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5, allocations: 3.938 kB / 1.047 GB, free: 9.551 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004714/0.5005, allocations: 67.94 kB / 1.047 GB, free: 9.484 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.u1,product.u2,product.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001304/0.5018, allocations: 432.7 kB / 1.047 GB, free: 9.211 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007207/0.5025, allocations: 207.7 kB / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5026, allocations: 0 / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.5028, allocations: 65.8 kB / 1.048 GB, free: 8.945 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.5035, allocations: 70.97 kB / 1.048 GB, free: 8.879 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.505, allocations: 0.5972 MB / 1.048 GB, free: 8.258 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.5055, allocations: 0.7913 MB / 1.049 GB, free: 7.438 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.5058, allocations: 54.89 kB / 1.049 GB, free: 7.383 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.5059, allocations: 35.42 kB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of SimCode: time 9.52e-07/0.506, allocations: 0 / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of Templates: time 0.01246/0.5184, allocations: 3.768 MB / 1.053 GB, free: 3.613 MB / 0.698 GB