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.417/2.417, allocations: 252.6 MB / 265.2 MB, free: 5.645 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.001539/0.001539, allocations: 182.7 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 0.5754 GB, free: 10.44 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.00112/0.001119, allocations: 89.69 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.977e-05, allocations: 7.938 kB / 0.7911 GB, free: 96.56 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 106.2 MB / 0.8949 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8917/1.093, allocations: 135.1 MB / 1.027 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.094, allocations: 78.45 kB / 1.027 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04673/1.14, allocations: 10.6 MB / 1.037 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.553e-06/1.14, allocations: 3.938 kB / 1.037 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.555e-05/1.14, allocations: 4 kB / 1.037 GB, free: 6.477 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.0009408/1.141, allocations: 0.5231 MB / 1.038 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.141, allocations: 8.031 kB / 1.038 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.142, allocations: 35.53 kB / 1.038 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/1.142, allocations: 369.9 kB / 1.038 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/1.142, allocations: 4 kB / 1.038 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/1.143, allocations: 15.72 kB / 1.038 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.143, allocations: 111.9 kB / 1.038 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.143, allocations: 3.938 kB / 1.038 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/1.143, allocations: 7.812 kB / 1.038 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.143, allocations: 0 / 1.038 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/1.143, allocations: 60.97 kB / 1.038 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/1.144, allocations: 0.5012 MB / 1.039 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/1.145, allocations: 129.6 kB / 1.039 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/1.145, allocations: 46.91 kB / 1.039 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/1.145, allocations: 3.438 kB / 1.039 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/1.146, allocations: 122.2 kB / 1.039 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.875e-06/1.146, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0006977/1.146, allocations: 173.8 kB / 1.039 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/1.146, allocations: 59.39 kB / 1.039 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/1.148, allocations: 458.4 kB / 1.04 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/1.148, allocations: 25.7 kB / 1.04 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/1.148, allocations: 167.6 kB / 1.04 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/1.148, allocations: 42.7 kB / 1.04 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/1.148, allocations: 7.75 kB / 1.04 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.148, allocations: 349 kB / 1.04 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004111/1.149, allocations: 111.5 kB / 1.04 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004538/1.149, allocations: 151.9 kB / 1.041 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/1.15, allocations: 117.1 kB / 1.041 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.15, allocations: 0 / 1.041 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001198/1.151, allocations: 352.3 kB / 1.041 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.151, allocations: 8 kB / 1.041 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.151, allocations: 0 / 1.041 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.151, allocations: 3.953 kB / 1.041 GB, free: 2.992 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/1.151, allocations: 55.22 kB / 1.041 GB, free: 2.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.151, allocations: 4 kB / 1.041 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/1.152, allocations: 19.52 kB / 1.041 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.519e-05/1.152, allocations: 14.94 kB / 1.041 GB, free: 2.91 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.0001807/1.152, allocations: 127.7 kB / 1.041 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.152, allocations: 31.61 kB / 1.041 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/1.153, allocations: 193.2 kB / 1.041 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/1.153, allocations: 3.953 kB / 1.041 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/1.153, allocations: 0 / 1.041 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.153, allocations: 0 / 1.041 GB, free: 2.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/1.154, allocations: 314 kB / 1.042 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.154, allocations: 0 / 1.042 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/1.154, allocations: 19.92 kB / 1.042 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.154, allocations: 4 kB / 1.042 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/1.154, allocations: 6.875 kB / 1.042 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.154, allocations: 0 / 1.042 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.964e-06/1.154, allocations: 7.938 kB / 1.042 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/1.155, allocations: 210.5 kB / 1.042 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/1.155, allocations: 116.5 kB / 1.042 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/1.155, allocations: 7.375 kB / 1.042 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/1.155, allocations: 11.98 kB / 1.042 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.156, allocations: 11.73 kB / 1.042 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/1.156, allocations: 27.86 kB / 1.042 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000775/1.156, allocations: 303.8 kB / 1.042 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.91e-07/1.156, allocations: 0 / 1.042 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007769/1.157, allocations: 69.19 kB / 1.043 GB, free: 1.59 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.00176/1.159, allocations: 385.1 kB / 1.043 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007926/1.16, allocations: 194.7 kB / 1.043 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.16, allocations: 0 / 1.043 GB, free: 1.203 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/1.16, allocations: 65.62 kB / 1.043 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/1.161, allocations: 79.03 kB / 1.043 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/1.163, allocations: 439.5 kB / 1.044 GB, free: 0.7109 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/1.163, allocations: 0.7942 MB / 1.044 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004151/1.164, allocations: 50.94 kB / 1.044 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/1.164, allocations: 35.3 kB / 1.044 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/1.164, allocations: 0 / 1.044 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of Templates: time 0.01662/1.181, allocations: 3.77 MB / 1.048 GB, free: 12.08 MB / 0.6667 GB