Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.786/4.786, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002474/0.002474, allocations: 357.9 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.112/4.112, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001743/0.001743, allocations: 176 kB / 1.226 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006364/0.0006366, allocations: 16.94 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2029, allocations: 115.3 MB / 1.461 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9439/1.147, allocations: 141.5 MB / 1.6 GB, free: 304 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/1.147, allocations: 82.52 kB / 1.6 GB, free: 260 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.04722/1.194, allocations: 10.85 MB / 1.61 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.214e-06/1.194, allocations: 0 / 1.61 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.661e-05/1.195, allocations: 4 kB / 1.61 GB, free: 7.059 MB / 0.6823 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.001296/1.196, allocations: 0.6104 MB / 1.611 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.196, allocations: 8.031 kB / 1.611 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.196, allocations: 35.53 kB / 1.611 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.197, allocations: 410 kB / 1.611 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/1.197, allocations: 7.438 kB / 1.611 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/1.197, allocations: 11.5 kB / 1.611 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003595/1.197, allocations: 114.2 kB / 1.611 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.198, allocations: 3.984 kB / 1.611 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/1.198, allocations: 3.875 kB / 1.611 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/1.198, allocations: 4 kB / 1.611 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/1.198, allocations: 65.52 kB / 1.611 GB, free: 5.816 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/1.199, allocations: 0.5164 MB / 1.612 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/1.2, allocations: 142.9 kB / 1.612 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/1.2, allocations: 55.7 kB / 1.612 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/1.2, allocations: 0 / 1.612 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/1.2, allocations: 114.3 kB / 1.612 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/1.2, allocations: 0 / 1.612 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0008612/1.201, allocations: 236 kB / 1.612 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/1.201, allocations: 54.16 kB / 1.612 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000948/1.202, allocations: 0.5107 MB / 1.613 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/1.202, allocations: 29.52 kB / 1.613 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/1.202, allocations: 169 kB / 1.613 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/1.202, allocations: 26.25 kB / 1.613 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/1.203, allocations: 14.73 kB / 1.613 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.203, allocations: 344.4 kB / 1.614 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/1.203, allocations: 122.5 kB / 1.614 GB, free: 3.812 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/1.204, allocations: 156.8 kB / 1.614 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/1.204, allocations: 134.3 kB / 1.614 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.204, allocations: 4 kB / 1.614 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001003/1.205, allocations: 365.1 kB / 1.614 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.205, allocations: 4 kB / 1.614 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.205, allocations: 0 / 1.614 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.205, allocations: 7.953 kB / 1.614 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/1.205, allocations: 55.72 kB / 1.614 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/1.205, allocations: 0 / 1.614 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/1.206, allocations: 23.3 kB / 1.614 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/1.206, allocations: 15.31 kB / 1.614 GB, free: 3.234 MB / 0.6823 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.0002691/1.206, allocations: 186.5 kB / 1.615 GB, free: 3.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/1.206, allocations: 35.53 kB / 1.615 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/1.207, allocations: 205.8 kB / 1.615 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.207, allocations: 3.953 kB / 1.615 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.207, allocations: 0 / 1.615 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.207, allocations: 0 / 1.615 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/1.207, allocations: 308.4 kB / 1.615 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/1.207, allocations: 0 / 1.615 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/1.208, allocations: 23.88 kB / 1.615 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.208, allocations: 4 kB / 1.615 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.208, allocations: 7.359 kB / 1.615 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.208, allocations: 0 / 1.615 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.208, allocations: 3.953 kB / 1.615 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/1.208, allocations: 227.8 kB / 1.615 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.208, allocations: 118.9 kB / 1.615 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/1.208, allocations: 7.188 kB / 1.615 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/1.209, allocations: 11.98 kB / 1.615 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/1.209, allocations: 18.61 kB / 1.616 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/1.209, allocations: 11.94 kB / 1.616 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005666/1.209, allocations: 323.3 kB / 1.616 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/1.209, allocations: 0 / 1.616 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004729/1.21, allocations: 82.7 kB / 1.616 GB, free: 1.84 MB / 0.6823 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.001292/1.211, allocations: 437.8 kB / 1.616 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006966/1.212, allocations: 199.8 kB / 1.617 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.212, allocations: 0 / 1.617 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/1.212, allocations: 73.08 kB / 1.617 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007217/1.213, allocations: 76.31 kB / 1.617 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/1.214, allocations: 0.6073 MB / 1.617 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/1.215, allocations: 0.7975 MB / 1.618 GB, free: 15.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003137/1.215, allocations: 58.94 kB / 1.618 GB, free: 15.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/1.215, allocations: 27.42 kB / 1.618 GB, free: 15.84 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/1.215, allocations: 7.938 kB / 1.618 GB, free: 15.83 MB / 0.698 GB Notification: Performance of Templates: time 0.01281/1.228, allocations: 3.961 MB / 1.622 GB, free: 11.93 MB / 0.698 GB