Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.64/1.64, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 175.1 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007423/0.0007422, allocations: 102 kB / 0.7808 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 12 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6797/0.6801, allocations: 120.3 MB / 1.026 GB, free: 55.9 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.865, allocations: 145.3 MB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.8653, allocations: 80.23 kB / 1.168 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02955/0.8949, allocations: 11.16 MB / 1.179 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.135e-06/0.8949, allocations: 0 / 1.179 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.718e-05/0.895, allocations: 8 kB / 1.179 GB, free: 5.434 MB / 0.7448 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.001165/0.8961, allocations: 0.6106 MB / 1.18 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8962, allocations: 8.531 kB / 1.18 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.8963, allocations: 36.47 kB / 1.18 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.8971, allocations: 413.9 kB / 1.18 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.8971, allocations: 5.359 kB / 1.18 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.8972, allocations: 8.375 kB / 1.18 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.8974, allocations: 114.1 kB / 1.18 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.8974, allocations: 5.188 kB / 1.18 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.8975, allocations: 5.375 kB / 1.18 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.8975, allocations: 4 kB / 1.18 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.8977, allocations: 67.86 kB / 1.18 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.8986, allocations: 0.5083 MB / 1.181 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.8989, allocations: 146.7 kB / 1.181 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.8991, allocations: 52.83 kB / 1.181 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.8991, allocations: 4 kB / 1.181 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.8993, allocations: 116.5 kB / 1.181 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.314e-06/0.8993, allocations: 1.312 kB / 1.181 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0006086/0.9, allocations: 233.3 kB / 1.181 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.9, allocations: 55.41 kB / 1.182 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006712/0.9007, allocations: 0.5093 MB / 1.182 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.9007, allocations: 33.7 kB / 1.182 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.9009, allocations: 164.4 kB / 1.182 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.9009, allocations: 43.47 kB / 1.182 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/0.901, allocations: 8 kB / 1.182 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.9011, allocations: 354.7 kB / 1.183 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.9014, allocations: 116.5 kB / 1.183 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.9016, allocations: 159.5 kB / 1.183 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.902, allocations: 203 kB / 1.183 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.902, allocations: 0 / 1.183 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006634/0.9027, allocations: 366.1 kB / 1.183 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.9027, allocations: 6.25 kB / 1.183 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.9027, allocations: 0 / 1.183 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.9028, allocations: 4 kB / 1.183 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.903, allocations: 58.28 kB / 1.183 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.903, allocations: 0 / 1.183 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.9032, allocations: 24.84 kB / 1.183 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.9033, allocations: 19.92 kB / 1.184 GB, free: 0.8047 MB / 0.7448 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.0002132/0.9035, allocations: 177.8 kB / 1.184 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.9036, allocations: 31.62 kB / 1.184 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.904, allocations: 216.6 kB / 1.184 GB, free: 388 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.904, allocations: 0 / 1.184 GB, free: 388 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.9041, allocations: 4 kB / 1.184 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9041, allocations: 0 / 1.184 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.9044, allocations: 313.3 kB / 1.184 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9044, allocations: 0 / 1.184 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.9045, allocations: 15.98 kB / 1.184 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.9045, allocations: 0 / 1.184 GB, free: 4 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.9045, allocations: 7.984 kB / 1.184 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9046, allocations: 2.062 kB / 1.184 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9046, allocations: 0 / 1.184 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.905, allocations: 232.5 kB / 1.184 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.9051, allocations: 124.6 kB / 1.185 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.9051, allocations: 0 / 1.185 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.9053, allocations: 15.98 kB / 1.185 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.9053, allocations: 19.62 kB / 1.185 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.9054, allocations: 8 kB / 1.185 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003732/0.9057, allocations: 323.1 kB / 1.185 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9058, allocations: 0 / 1.185 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003612/0.9061, allocations: 83.92 kB / 1.185 GB, free: 15.18 MB / 0.7605 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.00112/0.9072, allocations: 435.4 kB / 1.185 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.9077, allocations: 199.8 kB / 1.186 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9077, allocations: 0 / 1.186 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.9079, allocations: 67.91 kB / 1.186 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.9083, allocations: 85.44 kB / 1.186 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.9094, allocations: 0.603 MB / 1.186 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.9098, allocations: 0.7833 MB / 1.187 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001986/0.91, allocations: 57.12 kB / 1.187 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.9101, allocations: 35.42 kB / 1.187 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.9101, allocations: 0 / 1.187 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of Templates: time 0.008726/0.9188, allocations: 3.985 MB / 1.191 GB, free: 9.281 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)