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.612/1.612, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.00111/0.00111, allocations: 168.9 kB / 366.7 MB, free: 1.656 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.762/1.762, allocations: 205.3 MB / 0.626 GB, free: 7.141 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.0007621/0.0007621, allocations: 90.56 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.854e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7178, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2035/0.9213, allocations: 141.9 MB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.9216, allocations: 83.94 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02948/0.9512, allocations: 10.74 MB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9512, allocations: 4 kB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.971e-05/0.9513, allocations: 8 kB / 1.122 GB, free: 13.57 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.001034/0.9523, allocations: 0.525 MB / 1.123 GB, free: 13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.9524, allocations: 12.03 kB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.9525, allocations: 35.56 kB / 1.123 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.9534, allocations: 399.6 kB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.9534, allocations: 4 kB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.9535, allocations: 4 kB / 1.123 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001553/0.9536, allocations: 59.97 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.9538, allocations: 98.95 kB / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.9539, allocations: 7.938 kB / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.9539, allocations: 0 / 1.123 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.9539, allocations: 4 kB / 1.124 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.9549, allocations: 486.8 kB / 1.124 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.9552, allocations: 126.7 kB / 1.124 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.9553, allocations: 49 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.9553, allocations: 4 kB / 1.124 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.9555, allocations: 101.1 kB / 1.124 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.863e-06/0.9555, allocations: 1.969 kB / 1.124 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.000379/0.9559, allocations: 178.7 kB / 1.124 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.956, allocations: 55.36 kB / 1.124 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.9565, allocations: 462.1 kB / 1.125 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.9566, allocations: 25.7 kB / 1.125 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.9567, allocations: 172.4 kB / 1.125 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.9568, allocations: 31.55 kB / 1.125 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.9568, allocations: 0 / 1.125 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9569, allocations: 350.8 kB / 1.125 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.9571, allocations: 108.5 kB / 1.126 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.9573, allocations: 143.4 kB / 1.126 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.9577, allocations: 135.9 kB / 1.126 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9577, allocations: 0 / 1.126 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006362/0.9584, allocations: 354.1 kB / 1.126 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.9584, allocations: 4 kB / 1.126 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.9584, allocations: 4 kB / 1.126 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9584, allocations: 0 / 1.126 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.9587, allocations: 51.91 kB / 1.126 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.9587, allocations: 0 / 1.126 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.9588, allocations: 23.73 kB / 1.126 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.9589, allocations: 19.98 kB / 1.126 GB, free: 9.395 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 () * 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 9.796e-05/0.959, allocations: 120 kB / 1.126 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.813e-05/0.9591, allocations: 35.62 kB / 1.126 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.9594, allocations: 188.8 kB / 1.127 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.9594, allocations: 3.984 kB / 1.127 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.9594, allocations: 4 kB / 1.127 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9594, allocations: 0 / 1.127 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.9597, allocations: 281.9 kB / 1.127 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.9597, allocations: 0 / 1.127 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.9598, allocations: 19.92 kB / 1.127 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.9598, allocations: 4 kB / 1.127 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.9598, allocations: 5.25 kB / 1.127 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.9598, allocations: 0 / 1.127 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9599, allocations: 0 / 1.127 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.9601, allocations: 210.1 kB / 1.127 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.9603, allocations: 120.6 kB / 1.127 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.143e-05/0.9603, allocations: 3.984 kB / 1.127 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.963e-05/0.9604, allocations: 4 kB / 1.127 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.9605, allocations: 23.97 kB / 1.127 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.9605, allocations: 8 kB / 1.127 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003075/0.9608, allocations: 302 kB / 1.128 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.463e-06/0.9608, allocations: 0 / 1.128 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003147/0.9612, allocations: 67.88 kB / 1.128 GB, free: 7.949 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) * 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.0008538/0.962, allocations: 364.3 kB / 1.128 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.9623, allocations: 188.1 kB / 1.128 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9623, allocations: 0 / 1.128 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.9624, allocations: 67.92 kB / 1.128 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.9629, allocations: 80.66 kB / 1.128 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.9636, allocations: 420.5 kB / 1.129 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.964, allocations: 0.8043 MB / 1.129 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.9642, allocations: 57.2 kB / 1.13 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.9643, allocations: 31.42 kB / 1.13 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9643, allocations: 0 / 1.13 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of Templates: time 0.008029/0.9723, allocations: 3.66 MB / 1.133 GB, free: 2.457 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)