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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 293 MB / 309 MB, free: 4.758 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.001021/0.001021, allocations: 176.5 kB / 378.7 MB, free: 0.9844 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.614/1.614, allocations: 205.4 MB / 0.6383 GB, free: 8.121 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.0007683/0.0007686, allocations: 87.89 kB / 0.7527 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004008, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2805, allocations: 116.4 MB / 0.9905 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.781/1.062, allocations: 142.7 MB / 1.13 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.062, allocations: 84.14 kB / 1.13 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02935/1.091, allocations: 10.9 MB / 1.141 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/1.091, allocations: 0 / 1.141 GB, free: 24.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.444e-05/1.091, allocations: 12 kB / 1.141 GB, free: 24.49 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.0009859/1.092, allocations: 0.609 MB / 1.141 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/1.092, allocations: 8.688 kB / 1.141 GB, free: 23.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/1.092, allocations: 36.47 kB / 1.141 GB, free: 23.83 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/1.093, allocations: 407.8 kB / 1.142 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/1.093, allocations: 12.88 kB / 1.142 GB, free: 23.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.093, allocations: 10.31 kB / 1.142 GB, free: 23.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/1.094, allocations: 122.4 kB / 1.142 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.094, allocations: 4.688 kB / 1.142 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.094, allocations: 4 kB / 1.142 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.094, allocations: 0 / 1.142 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/1.094, allocations: 65.17 kB / 1.142 GB, free: 23.26 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/1.095, allocations: 0.5181 MB / 1.142 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/1.095, allocations: 138.9 kB / 1.142 GB, free: 22.65 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/1.095, allocations: 52.17 kB / 1.142 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/1.095, allocations: 0 / 1.142 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/1.095, allocations: 121.7 kB / 1.143 GB, free: 22.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/1.095, allocations: 0 / 1.143 GB, free: 22.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0005105/1.096, allocations: 228.8 kB / 1.143 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/1.096, allocations: 56.06 kB / 1.143 GB, free: 22.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006188/1.097, allocations: 0.5088 MB / 1.143 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/1.097, allocations: 29.7 kB / 1.143 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/1.097, allocations: 170.6 kB / 1.144 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/1.097, allocations: 39.59 kB / 1.144 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/1.097, allocations: 4 kB / 1.144 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/1.097, allocations: 353.7 kB / 1.144 GB, free: 21.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/1.097, allocations: 118.9 kB / 1.144 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/1.097, allocations: 157.1 kB / 1.144 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/1.098, allocations: 211.9 kB / 1.144 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.098, allocations: 0 / 1.144 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005505/1.098, allocations: 366.3 kB / 1.145 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.098, allocations: 4 kB / 1.145 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.098, allocations: 6.625 kB / 1.145 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.098, allocations: 0 / 1.145 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/1.099, allocations: 55.59 kB / 1.145 GB, free: 20.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/1.099, allocations: 0.7031 kB / 1.145 GB, free: 20.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.099, allocations: 22.8 kB / 1.145 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.557e-05/1.099, allocations: 22.38 kB / 1.145 GB, free: 20.33 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.0001783/1.099, allocations: 187.5 kB / 1.145 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/1.099, allocations: 28.23 kB / 1.145 GB, free: 20.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/1.099, allocations: 219.7 kB / 1.145 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.099, allocations: 0 / 1.145 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/1.099, allocations: 4 kB / 1.145 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.099, allocations: 0.6562 kB / 1.145 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000284/1.1, allocations: 308 kB / 1.146 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.1, allocations: 1.641 kB / 1.146 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/1.1, allocations: 18.91 kB / 1.146 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.1, allocations: 0 / 1.146 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/1.1, allocations: 6.859 kB / 1.146 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.1, allocations: 0 / 1.146 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.1, allocations: 8 kB / 1.146 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/1.1, allocations: 224.8 kB / 1.146 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/1.1, allocations: 116.7 kB / 1.146 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/1.1, allocations: 9.641 kB / 1.146 GB, free: 19.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/1.1, allocations: 10.7 kB / 1.146 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/1.101, allocations: 22.69 kB / 1.146 GB, free: 19.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/1.101, allocations: 9.453 kB / 1.146 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003441/1.101, allocations: 329.6 kB / 1.146 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/1.101, allocations: 0 / 1.146 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003303/1.101, allocations: 73.77 kB / 1.146 GB, free: 18.87 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.0009744/1.102, allocations: 436.8 kB / 1.147 GB, free: 18.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004303/1.103, allocations: 200.2 kB / 1.147 GB, free: 18.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.884e-05/1.103, allocations: 4.125 kB / 1.147 GB, free: 18.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/1.103, allocations: 69.69 kB / 1.147 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/1.103, allocations: 86.06 kB / 1.147 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/1.104, allocations: 0.606 MB / 1.148 GB, free: 17.74 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.105, allocations: 0.7884 MB / 1.148 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002094/1.105, allocations: 55.39 kB / 1.149 GB, free: 16.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/1.105, allocations: 31.19 kB / 1.149 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.105, allocations: 4 kB / 1.149 GB, free: 16.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.009057/1.114, allocations: 3.984 MB / 1.152 GB, free: 14.59 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)