Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 181.1 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009863/0.0009859, allocations: 93.8 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.0005077, allocations: 14.77 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2388, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.4852, allocations: 135.1 MB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4856, allocations: 83.95 kB / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05075/0.5364, allocations: 10.67 MB / 1.042 GB, free: 15.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5364, allocations: 3.938 kB / 1.042 GB, free: 15.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.56e-05/0.5365, allocations: 8 kB / 1.042 GB, free: 15.41 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.001385/0.5379, allocations: 0.5876 MB / 1.043 GB, free: 14.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.538, allocations: 8.031 kB / 1.043 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.5381, allocations: 40.45 kB / 1.043 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.5392, allocations: 362.7 kB / 1.043 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.5393, allocations: 12.36 kB / 1.043 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.5393, allocations: 12.38 kB / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.5397, allocations: 123.6 kB / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5398, allocations: 192 / 1.043 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.5398, allocations: 7.938 kB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5398, allocations: 0 / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.5401, allocations: 67.95 kB / 1.043 GB, free: 14.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.5414, allocations: 0.5004 MB / 1.044 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.5421, allocations: 142.7 kB / 1.044 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.5423, allocations: 48.83 kB / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5423, allocations: 0 / 1.044 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.5427, allocations: 119.3 kB / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.5428, allocations: 0 / 1.044 GB, free: 13.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001042/0.5438, allocations: 227 kB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.5439, allocations: 59.39 kB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.545, allocations: 0.4937 MB / 1.045 GB, free: 12.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.5451, allocations: 25.7 kB / 1.045 GB, free: 12.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.5453, allocations: 176.3 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.5454, allocations: 35.55 kB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.5454, allocations: 4 kB / 1.045 GB, free: 12.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5456, allocations: 358.7 kB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.5461, allocations: 116.5 kB / 1.045 GB, free: 11.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.5465, allocations: 155.6 kB / 1.046 GB, free: 11.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.547, allocations: 124 kB / 1.046 GB, free: 11.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.547, allocations: 0 / 1.046 GB, free: 11.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001139/0.5481, allocations: 365.6 kB / 1.046 GB, free: 11.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5482, allocations: 4 kB / 1.046 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5482, allocations: 0 / 1.046 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.5482, allocations: 7.938 kB / 1.046 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.5487, allocations: 51.91 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5487, allocations: 4 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.5491, allocations: 23.91 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.5491, allocations: 19.98 kB / 1.046 GB, free: 10.95 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.0003409/0.5495, allocations: 177.7 kB / 1.046 GB, free: 10.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.5496, allocations: 27.62 kB / 1.046 GB, free: 10.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007628/0.5504, allocations: 208.6 kB / 1.047 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5504, allocations: 12 kB / 1.047 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5504, allocations: 0 / 1.047 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5504, allocations: 0 / 1.047 GB, free: 10.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.5509, allocations: 313.3 kB / 1.047 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.551, allocations: 3.938 kB / 1.047 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.5511, allocations: 12 kB / 1.047 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5512, allocations: 0 / 1.047 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5512, allocations: 7.984 kB / 1.047 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.5512, allocations: 0 / 1.047 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5512, allocations: 0 / 1.047 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.552, allocations: 225.5 kB / 1.047 GB, free: 9.895 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.5521, allocations: 116.7 kB / 1.047 GB, free: 9.762 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.5522, allocations: 4 kB / 1.047 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.5524, allocations: 11.98 kB / 1.047 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5525, allocations: 19.92 kB / 1.047 GB, free: 9.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.5526, allocations: 7.984 kB / 1.047 GB, free: 9.719 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006254/0.5532, allocations: 311.1 kB / 1.047 GB, free: 9.418 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5532, allocations: 4 kB / 1.048 GB, free: 9.414 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005338/0.5538, allocations: 75.81 kB / 1.048 GB, free: 9.34 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.001383/0.5552, allocations: 438.1 kB / 1.048 GB, free: 9.066 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008385/0.5561, allocations: 195.8 kB / 1.048 GB, free: 8.875 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5561, allocations: 0 / 1.048 GB, free: 8.875 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/0.5564, allocations: 75.89 kB / 1.048 GB, free: 8.801 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.5572, allocations: 76.34 kB / 1.048 GB, free: 8.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.5587, allocations: 0.597 MB / 1.049 GB, free: 8.102 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.5593, allocations: 0.7794 MB / 1.05 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.5597, allocations: 58.88 kB / 1.05 GB, free: 7.242 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.5598, allocations: 31.44 kB / 1.05 GB, free: 7.211 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/0.5598, allocations: 3.938 kB / 1.05 GB, free: 7.207 MB / 0.698 GB Notification: Performance of Templates: time 0.01344/0.5733, allocations: 3.766 MB / 1.053 GB, free: 3.465 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)