Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.946/1.946, allocations: 288.4 MB / 303.7 MB, free: 8.09 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.001128/0.001128, allocations: 176.5 kB / 372.3 MB, free: 10.11 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.857/1.857, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008294/0.0008294, allocations: 94.3 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 25.41 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.001966/0.2109, allocations: 1.644 MB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2127, allocations: 1.043 MB / 0.9828 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.2128, allocations: 7.938 kB / 0.9828 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.2132, allocations: 151.5 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2135, allocations: 119.5 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.214, allocations: 162.6 kB / 0.9832 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.2143, allocations: 263.2 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2144, allocations: 44.38 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.2146, allocations: 123.4 kB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2147, allocations: 123.5 kB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2147, allocations: 8 kB / 0.9837 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2148, allocations: 47.89 kB / 0.9838 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.2149, allocations: 75.73 kB / 0.9838 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.624e-05/0.215, allocations: 133 kB / 0.984 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.2153, allocations: 279.6 kB / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2153, allocations: 0 / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2153, allocations: 0 / 0.9842 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.2153, allocations: 0 / 0.9842 GB, free: 23.1 MB / 0.6198 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.0007301/0.216, allocations: 0.5721 MB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.2161, allocations: 12.03 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.2161, allocations: 36.47 kB / 0.9848 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.2165, allocations: 374.4 kB / 0.9852 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.2166, allocations: 8.375 kB / 0.9852 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2166, allocations: 11.94 kB / 0.9852 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2168, allocations: 110.9 kB / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-06/0.2168, allocations: 0 / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2168, allocations: 4 kB / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-06/0.2168, allocations: 0 / 0.9853 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.217, allocations: 67.89 kB / 0.9854 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.2177, allocations: 492.4 kB / 0.9859 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.2181, allocations: 130.7 kB / 0.986 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2182, allocations: 52.83 kB / 0.986 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.2182, allocations: 4 kB / 0.986 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.2185, allocations: 119.3 kB / 0.9862 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.2185, allocations: 0 / 0.9862 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004635/0.219, allocations: 230.5 kB / 0.9864 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.219, allocations: 55.34 kB / 0.9864 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.2194, allocations: 0.5054 MB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.2195, allocations: 25.7 kB / 0.9869 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.2196, allocations: 160.5 kB / 0.9871 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2196, allocations: 39.55 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.2196, allocations: 11.94 kB / 0.9872 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.2197, allocations: 346.8 kB / 0.9875 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.2198, allocations: 100.5 kB / 0.9876 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.22, allocations: 131.6 kB / 0.9877 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.2203, allocations: 190.8 kB / 0.9879 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2203, allocations: 4 kB / 0.9879 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004244/0.2207, allocations: 321.2 kB / 0.9882 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.2207, allocations: 4 kB / 0.9882 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2207, allocations: 0 / 0.9882 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2208, allocations: 4 kB / 0.9882 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.221, allocations: 55.84 kB / 0.9883 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.221, allocations: 0 / 0.9883 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2211, allocations: 27.89 kB / 0.9883 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2212, allocations: 12 kB / 0.9883 GB, free: 18.71 MB / 0.6198 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.y,reaToInt1.y,reaToInt2.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.0001464/0.2213, allocations: 181.7 kB / 0.9885 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.2214, allocations: 39.52 kB / 0.9885 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.2214, allocations: 31.12 kB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2214, allocations: 7.938 kB / 0.9885 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2214, allocations: 0 / 0.9885 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2215, allocations: 0 / 0.9885 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2217, allocations: 305.4 kB / 0.9888 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2217, allocations: 4 kB / 0.9888 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.2218, allocations: 11.94 kB / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2218, allocations: 4 kB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2218, allocations: 3.984 kB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2218, allocations: 3.938 kB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2218, allocations: 0 / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.2221, allocations: 208.1 kB / 0.9891 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.2222, allocations: 120.6 kB / 0.9892 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.2223, allocations: 7.984 kB / 0.9892 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2224, allocations: 11.94 kB / 0.9892 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/0.2225, allocations: 15.97 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2225, allocations: 11.94 kB / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002676/0.2228, allocations: 311.1 kB / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2228, allocations: 0 / 0.9895 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002598/0.223, allocations: 55.98 kB / 0.9896 GB, free: 17.31 MB / 0.6198 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 (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.0009158/0.224, allocations: 434.9 kB / 0.99 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.2243, allocations: 187.5 kB / 0.9902 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2243, allocations: 4 kB / 0.9902 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.2245, allocations: 59.91 kB / 0.9902 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.2249, allocations: 81.42 kB / 0.9903 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.2256, allocations: 0.5826 MB / 0.9909 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.2259, allocations: 0.7869 MB / 0.9916 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.226, allocations: 58.94 kB / 0.9917 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.2261, allocations: 35.42 kB / 0.9917 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2261, allocations: 0 / 0.9917 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.006393/0.2325, allocations: 3.762 MB / 0.9954 GB, free: 11.47 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)