Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.29/1.29, allocations: 252 MB / 267.9 MB, free: 10.91 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.001034/0.001034, allocations: 179.6 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0007764/0.0007764, allocations: 89.98 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003668, allocations: 12 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.3708, allocations: 135.4 MB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3712, allocations: 79.95 kB / 1.034 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02784/0.399, allocations: 10.67 MB / 1.044 GB, free: 13.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3991, allocations: 0 / 1.044 GB, free: 13.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.486e-05/0.3991, allocations: 8 kB / 1.044 GB, free: 13.71 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.0009687/0.4001, allocations: 0.5839 MB / 1.045 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4001, allocations: 8.031 kB / 1.045 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.4002, allocations: 36.47 kB / 1.045 GB, free: 13.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.4009, allocations: 394.2 kB / 1.045 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4009, allocations: 8.375 kB / 1.045 GB, free: 12.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4009, allocations: 8.375 kB / 1.045 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.4012, allocations: 112.7 kB / 1.045 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4012, allocations: 4.125 kB / 1.045 GB, free: 12.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.4012, allocations: 7.938 kB / 1.045 GB, free: 12.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4012, allocations: 4 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.4014, allocations: 67.94 kB / 1.045 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.4022, allocations: 0.5042 MB / 1.046 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.4026, allocations: 142.7 kB / 1.046 GB, free: 11.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4027, allocations: 48.83 kB / 1.046 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.4027, allocations: 0 / 1.046 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.403, allocations: 119.3 kB / 1.046 GB, free: 11.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.403, allocations: 4 kB / 1.046 GB, free: 11.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.000519/0.4035, allocations: 224.4 kB / 1.046 GB, free: 11.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.4036, allocations: 55.41 kB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.4042, allocations: 0.4976 MB / 1.047 GB, free: 10.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4042, allocations: 25.7 kB / 1.047 GB, free: 10.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.4043, allocations: 168.4 kB / 1.047 GB, free: 10.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.4044, allocations: 35.55 kB / 1.047 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.4044, allocations: 8 kB / 1.047 GB, free: 10.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4045, allocations: 354.7 kB / 1.047 GB, free: 10.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.4048, allocations: 116.5 kB / 1.047 GB, free: 10 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.405, allocations: 155.6 kB / 1.047 GB, free: 9.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.4054, allocations: 203 kB / 1.048 GB, free: 9.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4054, allocations: 0 / 1.048 GB, free: 9.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005844/0.406, allocations: 365.1 kB / 1.048 GB, free: 9.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.406, allocations: 8 kB / 1.048 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.406, allocations: 0 / 1.048 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.406, allocations: 0 / 1.048 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4062, allocations: 51.91 kB / 1.048 GB, free: 9.211 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.4063, allocations: 8.062 kB / 1.048 GB, free: 9.203 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.4064, allocations: 19.83 kB / 1.048 GB, free: 9.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.4065, allocations: 16 kB / 1.048 GB, free: 9.168 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.000174/0.4066, allocations: 181.7 kB / 1.048 GB, free: 8.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.4067, allocations: 31.62 kB / 1.048 GB, free: 8.949 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.4071, allocations: 216.4 kB / 1.049 GB, free: 8.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4071, allocations: 0 / 1.049 GB, free: 8.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4071, allocations: 3.984 kB / 1.049 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4071, allocations: 3.984 kB / 1.049 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.4074, allocations: 305.4 kB / 1.049 GB, free: 8.375 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4074, allocations: 4 kB / 1.049 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.4075, allocations: 15.98 kB / 1.049 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4075, allocations: 0 / 1.049 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4075, allocations: 4 kB / 1.049 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4075, allocations: 0 / 1.049 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4076, allocations: 0 / 1.049 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.4079, allocations: 238.1 kB / 1.049 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/0.408, allocations: 116.6 kB / 1.049 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.4081, allocations: 7.984 kB / 1.049 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.4082, allocations: 8 kB / 1.049 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.4082, allocations: 19.97 kB / 1.049 GB, free: 7.934 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.4083, allocations: 4 kB / 1.049 GB, free: 7.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003312/0.4086, allocations: 311.1 kB / 1.05 GB, free: 7.625 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4086, allocations: 4 kB / 1.05 GB, free: 7.621 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002998/0.4089, allocations: 71.86 kB / 1.05 GB, free: 7.551 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.0009107/0.4098, allocations: 429.2 kB / 1.05 GB, free: 7.285 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.4103, allocations: 207.7 kB / 1.05 GB, free: 7.082 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4103, allocations: 0 / 1.05 GB, free: 7.082 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4104, allocations: 72.03 kB / 1.05 GB, free: 7.012 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.4109, allocations: 77.91 kB / 1.05 GB, free: 6.941 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009119/0.4118, allocations: 0.5894 MB / 1.051 GB, free: 6.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.4122, allocations: 0.7794 MB / 1.052 GB, free: 5.516 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001724/0.4123, allocations: 62.92 kB / 1.052 GB, free: 5.457 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.4124, allocations: 35.42 kB / 1.052 GB, free: 5.422 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.4124, allocations: 0 / 1.052 GB, free: 5.422 MB / 0.698 GB Notification: Performance of Templates: time 0.007387/0.4198, allocations: 3.794 MB / 1.055 GB, free: 1.66 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)