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.506/2.506, allocations: 253.2 MB / 260.6 MB, free: 7.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 185.4 kB / 319.9 MB, free: 3.047 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.151/2.151, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001575/0.001575, allocations: 88.95 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.87e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2217, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8881/1.11, allocations: 135.3 MB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.11, allocations: 78.95 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06627/1.177, allocations: 10.5 MB / 1.031 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.585e-06/1.177, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.997e-05/1.177, allocations: 7.984 kB / 1.031 GB, free: 9.219 MB / 0.6511 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.001448/1.178, allocations: 0.5128 MB / 1.032 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/1.178, allocations: 16.02 kB / 1.032 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/1.178, allocations: 31.53 kB / 1.032 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/1.18, allocations: 377.3 kB / 1.032 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/1.18, allocations: 7.984 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/1.18, allocations: 4 kB / 1.032 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003162/1.18, allocations: 55.73 kB / 1.032 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/1.181, allocations: 109.4 kB / 1.032 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.181, allocations: 7.984 kB / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/1.181, allocations: 0 / 1.032 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/1.181, allocations: 4 kB / 1.032 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/1.183, allocations: 477.7 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/1.183, allocations: 126.4 kB / 1.033 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/1.183, allocations: 35.61 kB / 1.033 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/1.184, allocations: 7.75 kB / 1.033 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/1.184, allocations: 102.9 kB / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 5.461e-06/1.184, allocations: 0 / 1.033 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0008564/1.185, allocations: 181.2 kB / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.185, allocations: 51.41 kB / 1.033 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/1.186, allocations: 446.2 kB / 1.034 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/1.186, allocations: 29.7 kB / 1.034 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/1.187, allocations: 158.1 kB / 1.034 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/1.187, allocations: 35.64 kB / 1.034 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/1.187, allocations: 3.938 kB / 1.034 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002414/1.187, allocations: 348.5 kB / 1.034 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/1.187, allocations: 109.2 kB / 1.034 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/1.188, allocations: 143.3 kB / 1.034 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/1.188, allocations: 115.6 kB / 1.035 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.188, allocations: 0 / 1.035 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001324/1.19, allocations: 338.8 kB / 1.035 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/1.19, allocations: 4 kB / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.19, allocations: 4.062 kB / 1.035 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/1.19, allocations: 4 kB / 1.035 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/1.191, allocations: 51.91 kB / 1.035 GB, free: 5.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/1.191, allocations: 7.953 kB / 1.035 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/1.191, allocations: 15.83 kB / 1.035 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-05/1.191, allocations: 15.81 kB / 1.035 GB, free: 5.762 MB / 0.6511 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 () * 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.000211/1.192, allocations: 109.4 kB / 1.035 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.192, allocations: 35.61 kB / 1.035 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008659/1.193, allocations: 188.7 kB / 1.035 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.193, allocations: 4 kB / 1.035 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/1.193, allocations: 0 / 1.035 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.193, allocations: 3.953 kB / 1.035 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006669/1.193, allocations: 274.4 kB / 1.036 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/1.193, allocations: 0 / 1.036 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/1.194, allocations: 15.94 kB / 1.036 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/1.194, allocations: 0 / 1.036 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/1.194, allocations: 11.36 kB / 1.036 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.194, allocations: 4 kB / 1.036 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.194, allocations: 0 / 1.036 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008083/1.195, allocations: 212.9 kB / 1.036 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/1.195, allocations: 115.8 kB / 1.036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/1.195, allocations: 0 / 1.036 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/1.195, allocations: 11.42 kB / 1.036 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/1.195, allocations: 15.3 kB / 1.036 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/1.196, allocations: 7.984 kB / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007693/1.196, allocations: 295.4 kB / 1.036 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.21e-07/1.196, allocations: 0 / 1.036 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007538/1.197, allocations: 67.36 kB / 1.036 GB, free: 4.52 MB / 0.6511 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) * 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.001151/1.198, allocations: 359.3 kB / 1.037 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005598/1.199, allocations: 182.2 kB / 1.037 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.199, allocations: 3.438 kB / 1.037 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001678/1.199, allocations: 64.11 kB / 1.037 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/1.2, allocations: 79.17 kB / 1.037 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.201, allocations: 414.6 kB / 1.037 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/1.202, allocations: 0.7988 MB / 1.038 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003322/1.202, allocations: 59.25 kB / 1.038 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.202, allocations: 27.42 kB / 1.038 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of SimCode: time 3.046e-06/1.202, allocations: 0 / 1.038 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of Templates: time 0.01257/1.215, allocations: 3.491 MB / 1.042 GB, free: 15.29 MB / 0.6667 GB