Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.00166, allocations: 181 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.6367 GB, free: 8.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008742/0.0008747, allocations: 89.48 kB / 0.751 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3051, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8404/1.146, allocations: 142.6 MB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/1.146, allocations: 88.7 kB / 1.128 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02896/1.175, allocations: 10.86 MB / 1.138 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.144e-06/1.175, allocations: 0 / 1.138 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.985e-05/1.175, allocations: 8 kB / 1.138 GB, free: 25.44 MB / 0.7292 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.001049/1.176, allocations: 0.606 MB / 1.139 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.176, allocations: 12.81 kB / 1.139 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/1.176, allocations: 38.53 kB / 1.139 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/1.177, allocations: 405.6 kB / 1.139 GB, free: 24.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/1.177, allocations: 8.75 kB / 1.139 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/1.177, allocations: 8.141 kB / 1.139 GB, free: 24.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/1.177, allocations: 110.8 kB / 1.139 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/1.177, allocations: 5.125 kB / 1.139 GB, free: 24.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/1.177, allocations: 4.703 kB / 1.139 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.177, allocations: 4 kB / 1.14 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/1.178, allocations: 60.28 kB / 1.14 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008613/1.178, allocations: 0.5168 MB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/1.179, allocations: 144.4 kB / 1.14 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.179, allocations: 4.922 kB / 1.14 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/1.179, allocations: 113 kB / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/1.179, allocations: 4 kB / 1.14 GB, free: 23.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005217/1.18, allocations: 229.1 kB / 1.141 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/1.18, allocations: 59.34 kB / 1.141 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006086/1.18, allocations: 479.9 kB / 1.141 GB, free: 22.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/1.18, allocations: 29.7 kB / 1.141 GB, free: 22.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/1.18, allocations: 166.8 kB / 1.141 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.18, allocations: 38.98 kB / 1.141 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/1.18, allocations: 4 kB / 1.141 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/1.181, allocations: 354 kB / 1.142 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/1.181, allocations: 118 kB / 1.142 GB, free: 22.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/1.181, allocations: 153.5 kB / 1.142 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/1.181, allocations: 130.9 kB / 1.142 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.181, allocations: 0 / 1.142 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005739/1.182, allocations: 375 kB / 1.142 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.182, allocations: 4 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.182, allocations: 4 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.182, allocations: 1.453 kB / 1.142 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.182, allocations: 51.48 kB / 1.142 GB, free: 21.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.182, allocations: 4.703 kB / 1.142 GB, free: 21.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/1.182, allocations: 18.05 kB / 1.142 GB, free: 21.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/1.182, allocations: 18.11 kB / 1.142 GB, free: 21.47 MB / 0.7292 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.0001752/1.182, allocations: 183.2 kB / 1.143 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/1.183, allocations: 40.12 kB / 1.143 GB, free: 21.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/1.183, allocations: 211.6 kB / 1.143 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.183, allocations: 0 / 1.143 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.183, allocations: 1.219 kB / 1.143 GB, free: 21.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/1.183, allocations: 9.312 kB / 1.143 GB, free: 21.06 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/1.183, allocations: 304.7 kB / 1.143 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.183, allocations: 7.984 kB / 1.143 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/1.183, allocations: 18.95 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.183, allocations: 4 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/1.184, allocations: 2.016 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.184, allocations: 1.375 kB / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.184, allocations: 0 / 1.143 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/1.184, allocations: 232.8 kB / 1.143 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/1.184, allocations: 112.4 kB / 1.144 GB, free: 20.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/1.184, allocations: 13.22 kB / 1.144 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/1.184, allocations: 5.922 kB / 1.144 GB, free: 20.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/1.184, allocations: 23.92 kB / 1.144 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/1.184, allocations: 5.5 kB / 1.144 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003562/1.185, allocations: 320.4 kB / 1.144 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 0 / 1.144 GB, free: 20.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000347/1.185, allocations: 78.23 kB / 1.144 GB, free: 20.01 MB / 0.7292 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.001093/1.186, allocations: 438.2 kB / 1.144 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004001/1.187, allocations: 204 kB / 1.145 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.187, allocations: 0 / 1.145 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/1.187, allocations: 69.52 kB / 1.145 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/1.187, allocations: 71.64 kB / 1.145 GB, free: 19.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/1.188, allocations: 0.6145 MB / 1.145 GB, free: 18.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/1.188, allocations: 0.7985 MB / 1.146 GB, free: 18.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001729/1.188, allocations: 56.86 kB / 1.146 GB, free: 18.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/1.189, allocations: 31.47 kB / 1.146 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/1.189, allocations: 0 / 1.146 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of Templates: time 0.008831/1.197, allocations: 3.945 MB / 1.15 GB, free: 15.74 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)