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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 104.7 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 197.8 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 66.36 kB / 0.6717 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3042, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.004602/0.3089, allocations: 2.044 MB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.3116, allocations: 1.093 MB / 0.7866 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.3118, allocations: 7.938 kB / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.3124, allocations: 143.6 kB / 0.7867 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.3128, allocations: 147.5 kB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.3134, allocations: 174.6 kB / 0.787 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.3138, allocations: 319.1 kB / 0.7873 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.3141, allocations: 44.39 kB / 0.7874 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3143, allocations: 147.4 kB / 0.7875 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3145, allocations: 159.4 kB / 0.7877 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.3145, allocations: 16 kB / 0.7877 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.3147, allocations: 55.97 kB / 0.7878 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3148, allocations: 87.72 kB / 0.7878 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.3149, allocations: 127.2 kB / 0.788 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.3153, allocations: 291.6 kB / 0.7882 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3153, allocations: 0 / 0.7882 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3153, allocations: 0 / 0.7882 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3153, allocations: 0 / 0.7882 GB, free: 9.055 MB / 0.6075 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.00122/0.3166, allocations: 0.6185 MB / 0.7888 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.3166, allocations: 16.02 kB / 0.7889 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.3167, allocations: 32.47 kB / 0.7889 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000538/0.3173, allocations: 374.4 kB / 0.7892 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3173, allocations: 12.36 kB / 0.7893 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3173, allocations: 7.938 kB / 0.7893 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3176, allocations: 105.6 kB / 0.7894 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3176, allocations: 0 / 0.7894 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3176, allocations: 3.984 kB / 0.7894 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3177, allocations: 4 kB / 0.7894 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.3178, allocations: 71.8 kB / 0.7894 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.3188, allocations: 492.4 kB / 0.7899 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.3191, allocations: 142.7 kB / 0.79 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3193, allocations: 52.77 kB / 0.7901 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.3193, allocations: 4 kB / 0.7901 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.3196, allocations: 103.3 kB / 0.7902 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.3196, allocations: 4 kB / 0.7902 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0006121/0.3202, allocations: 228.5 kB / 0.7904 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.3203, allocations: 59.34 kB / 0.7905 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006475/0.321, allocations: 0.5054 MB / 0.791 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.321, allocations: 29.7 kB / 0.791 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.3212, allocations: 172.3 kB / 0.7912 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.3212, allocations: 27.56 kB / 0.7912 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3214, allocations: 77.95 kB / 0.7913 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3216, allocations: 342.8 kB / 0.7916 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3218, allocations: 104.5 kB / 0.7917 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.322, allocations: 127.6 kB / 0.7918 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.3224, allocations: 187.5 kB / 0.792 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3224, allocations: 0 / 0.792 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005567/0.323, allocations: 325.1 kB / 0.7923 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.323, allocations: 7.984 kB / 0.7923 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.323, allocations: 4 kB / 0.7923 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.323, allocations: 0 / 0.7923 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.3233, allocations: 55.84 kB / 0.7924 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3233, allocations: 3.984 kB / 0.7924 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.3234, allocations: 16 kB / 0.7924 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.3235, allocations: 19.98 kB / 0.7924 GB, free: 4.543 MB / 0.6075 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.3237, allocations: 182.4 kB / 0.7926 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.3238, allocations: 35.53 kB / 0.7926 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.3238, allocations: 35.06 kB / 0.7926 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3238, allocations: 11.94 kB / 0.7927 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3239, allocations: 0 / 0.7927 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3239, allocations: 0 / 0.7927 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3242, allocations: 305.4 kB / 0.7929 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3242, allocations: 4 kB / 0.7929 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.3243, allocations: 11.98 kB / 0.793 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3243, allocations: 4 kB / 0.793 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3243, allocations: 0 / 0.793 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.3243, allocations: 3.938 kB / 0.793 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3243, allocations: 7.938 kB / 0.793 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.3247, allocations: 204.6 kB / 0.7932 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.3248, allocations: 108.7 kB / 0.7933 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.3249, allocations: 11.98 kB / 0.7933 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.325, allocations: 11.94 kB / 0.7933 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.325, allocations: 15.97 kB / 0.7933 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3251, allocations: 8 kB / 0.7933 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003467/0.3254, allocations: 315.1 kB / 0.7936 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 0 / 0.7936 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002943/0.3257, allocations: 56 kB / 0.7937 GB, free: 3.145 MB / 0.6075 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.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.3268, allocations: 446.3 kB / 0.7941 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.3273, allocations: 191.9 kB / 0.7943 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3273, allocations: 0 / 0.7943 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.3274, allocations: 63.91 kB / 0.7943 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.328, allocations: 89.5 kB / 0.7944 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.329, allocations: 0.631 MB / 0.795 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3294, allocations: 0.787 MB / 0.7958 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.3295, allocations: 31.42 kB / 0.7958 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3295, allocations: 0 / 0.7958 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.007236/0.3367, allocations: 4.397 MB / 0.8001 GB, free: 12.65 MB / 0.6231 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)