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 2.075/2.075, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001201/0.001201, allocations: 181 kB / 371.9 MB, free: 10.26 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.701/1.701, allocations: 205.4 MB / 0.6306 GB, free: 9.984 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.0009001/0.0009, allocations: 98.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 12.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2101, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002/0.2122, allocations: 1.637 MB / 0.981 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.2142, allocations: 1.023 MB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.2144, allocations: 4 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.2149, allocations: 135.6 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.2153, allocations: 135.6 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005252/0.2158, allocations: 156.4 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000317/0.2162, allocations: 199.5 kB / 0.9826 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2163, allocations: 36.38 kB / 0.9827 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2165, allocations: 131.5 kB / 0.9828 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.2167, allocations: 115.5 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.2168, allocations: 8 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2169, allocations: 39.97 kB / 0.983 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.217, allocations: 75.72 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.2171, allocations: 65.58 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.2174, allocations: 283.5 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2175, allocations: 0 / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2175, allocations: 0 / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.2175, allocations: 0 / 0.9834 GB, free: 23.62 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.001081/0.2186, allocations: 0.5835 MB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2186, allocations: 8.031 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.2187, allocations: 43.42 kB / 0.984 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.2192, allocations: 353.3 kB / 0.9843 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2192, allocations: 8 kB / 0.9843 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.2192, allocations: 11.94 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.2194, allocations: 105.6 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.2195, allocations: 0 / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.2195, allocations: 4 kB / 0.9844 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2195, allocations: 7.953 kB / 0.9844 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.2197, allocations: 59.95 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.2204, allocations: 0.4886 MB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.2207, allocations: 138.7 kB / 0.9851 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2207, allocations: 4 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.221, allocations: 107.3 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 1.823e-06/0.221, allocations: 0 / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.0004458/0.2214, allocations: 221.4 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.2215, allocations: 51.41 kB / 0.9855 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.2219, allocations: 0.5054 MB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2219, allocations: 33.7 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.222, allocations: 172.5 kB / 0.9862 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.222, allocations: 35.53 kB / 0.9862 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.2221, allocations: 8 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.2221, allocations: 346.8 kB / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2223, allocations: 100.5 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.2225, allocations: 139.6 kB / 0.9868 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.2226, allocations: 108.5 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2226, allocations: 4 kB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004253/0.2231, allocations: 329.1 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2231, allocations: 4 kB / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2231, allocations: 0 / 0.9872 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2231, allocations: 4 kB / 0.9872 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2234, allocations: 55.91 kB / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2234, allocations: 0 / 0.9873 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.2235, allocations: 23.83 kB / 0.9873 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.2235, allocations: 8 kB / 0.9873 GB, free: 19.38 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.0001326/0.2237, allocations: 185.8 kB / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.2237, allocations: 35.58 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.606e-05/0.2238, allocations: 39.11 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2238, allocations: 4 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2238, allocations: 0 / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2238, allocations: 3.938 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.224, allocations: 297.4 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.224, allocations: 0 / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.2241, allocations: 8 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2241, allocations: 4 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2241, allocations: 11.94 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.2241, allocations: 4 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2241, allocations: 3.938 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.2244, allocations: 201.6 kB / 0.988 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.407e-05/0.2245, allocations: 116.7 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.2245, allocations: 3.984 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.2246, allocations: 15.95 kB / 0.9882 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.2247, allocations: 19.97 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.2247, allocations: 8 kB / 0.9882 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000269/0.225, allocations: 315.1 kB / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.225, allocations: 0 / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002671/0.2253, allocations: 59.98 kB / 0.9886 GB, free: 17.97 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.00078/0.2261, allocations: 423.2 kB / 0.989 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.2264, allocations: 191.8 kB / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2264, allocations: 0 / 0.9891 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.2265, allocations: 55.91 kB / 0.9892 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2269, allocations: 88.61 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.2276, allocations: 0.5787 MB / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.2277, allocations: 0.7909 MB / 0.9906 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.2279, allocations: 50.94 kB / 0.9907 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.228, allocations: 35.42 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.228, allocations: 4 kB / 0.9907 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.006191/0.2342, allocations: 3.741 MB / 0.9944 GB, free: 12.16 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)