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.627/1.627, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001085/0.001086, allocations: 180.7 kB / 371.6 MB, free: 3.387 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.646/1.646, allocations: 205.2 MB / 0.6309 GB, free: 11.79 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.0009396/0.0009395, allocations: 94.5 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.037e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.327, allocations: 142.5 MB / 1.119 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.327, allocations: 80.22 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02596/1.353, allocations: 10.82 MB / 1.13 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/1.353, allocations: 0 / 1.13 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.587e-05/1.353, allocations: 16.19 kB / 1.13 GB, free: 36.34 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.000629/1.354, allocations: 0.5237 MB / 1.13 GB, free: 35.83 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.354, allocations: 11.97 kB / 1.13 GB, free: 35.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/1.354, allocations: 34 kB / 1.13 GB, free: 35.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006043/1.355, allocations: 395.3 kB / 1.131 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.355, allocations: 10.89 kB / 1.131 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/1.355, allocations: 15.56 kB / 1.131 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/1.355, allocations: 105.3 kB / 1.131 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.355, allocations: 0 / 1.131 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.355, allocations: 3.938 kB / 1.131 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.355, allocations: 8.5 kB / 1.131 GB, free: 35.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/1.355, allocations: 58.2 kB / 1.131 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/1.356, allocations: 0.5022 MB / 1.131 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/1.356, allocations: 134.3 kB / 1.131 GB, free: 34.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.96e-05/1.356, allocations: 48.11 kB / 1.131 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/1.356, allocations: 3.812 kB / 1.131 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/1.357, allocations: 124.1 kB / 1.132 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/1.357, allocations: 0 / 1.132 GB, free: 34.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003267/1.357, allocations: 179.3 kB / 1.132 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.357, allocations: 55.41 kB / 1.132 GB, free: 34.51 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/1.357, allocations: 469.9 kB / 1.132 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/1.357, allocations: 28.64 kB / 1.132 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.358, allocations: 173.7 kB / 1.132 GB, free: 34.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/1.358, allocations: 36.92 kB / 1.132 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/1.358, allocations: 7.562 kB / 1.132 GB, free: 34.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.138e-05/1.358, allocations: 342.7 kB / 1.133 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.358, allocations: 118.1 kB / 1.133 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/1.358, allocations: 146.8 kB / 1.133 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/1.358, allocations: 128.5 kB / 1.133 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.358, allocations: 4 kB / 1.133 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004395/1.359, allocations: 351.8 kB / 1.134 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.359, allocations: 4.781 kB / 1.134 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.359, allocations: 0 / 1.134 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.359, allocations: 7.562 kB / 1.134 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/1.359, allocations: 54.75 kB / 1.134 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/1.359, allocations: 3.953 kB / 1.134 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/1.359, allocations: 24.03 kB / 1.134 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/1.359, allocations: 20.12 kB / 1.134 GB, free: 33.12 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 () * 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 7.068e-05/1.359, allocations: 121.7 kB / 1.134 GB, free: 33.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/1.359, allocations: 35.09 kB / 1.134 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/1.36, allocations: 200.4 kB / 1.134 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.36, allocations: 0 / 1.134 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.36, allocations: 0.75 kB / 1.134 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.36, allocations: 7.938 kB / 1.134 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/1.36, allocations: 315 kB / 1.134 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.36, allocations: 4 kB / 1.134 GB, free: 32.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.241e-05/1.36, allocations: 19.22 kB / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.36, allocations: 0 / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.36, allocations: 4 kB / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.36, allocations: 0 / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.36, allocations: 1.5 kB / 1.134 GB, free: 32.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/1.36, allocations: 214.6 kB / 1.135 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/1.36, allocations: 119.8 kB / 1.135 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/1.36, allocations: 9.922 kB / 1.135 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.722e-05/1.361, allocations: 7.5 kB / 1.135 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/1.361, allocations: 18.3 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/1.361, allocations: 11.3 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002879/1.361, allocations: 311.4 kB / 1.135 GB, free: 32.01 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.71e-07/1.361, allocations: 0 / 1.135 GB, free: 32.01 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002994/1.361, allocations: 82.16 kB / 1.135 GB, free: 31.94 MB / 0.7448 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.001021/1.362, allocations: 401.6 kB / 1.135 GB, free: 31.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003306/1.363, allocations: 195.4 kB / 1.136 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.363, allocations: 1.219 kB / 1.136 GB, free: 31.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.506e-05/1.363, allocations: 66.66 kB / 1.136 GB, free: 31.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/1.363, allocations: 73.64 kB / 1.136 GB, free: 31.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/1.364, allocations: 423.9 kB / 1.136 GB, free: 31.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/1.364, allocations: 0.8027 MB / 1.137 GB, free: 30.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001487/1.364, allocations: 62.55 kB / 1.137 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/1.364, allocations: 35.58 kB / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/1.364, allocations: 0 / 1.137 GB, free: 30.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.007871/1.372, allocations: 3.962 MB / 1.141 GB, free: 28.02 MB / 0.7448 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)