Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 252 MB / 267.6 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 179.7 kB / 327.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008442/0.0008442, allocations: 94.16 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 12.69 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.00244/0.2055, allocations: 1.676 MB / 0.9025 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.207, allocations: 0.9172 MB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.2072, allocations: 0 / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005253/0.2077, allocations: 143.6 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.2081, allocations: 131.5 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.2086, allocations: 145.5 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.2088, allocations: 251.2 kB / 0.904 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.209, allocations: 36.38 kB / 0.904 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2092, allocations: 119.4 kB / 0.9042 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.2093, allocations: 111.5 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.2093, allocations: 4 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.2094, allocations: 31.97 kB / 0.9043 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.2095, allocations: 75.73 kB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.2096, allocations: 69.52 kB / 0.9044 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.2098, allocations: 267.6 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2098, allocations: 4 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2098, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.2098, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 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.0007302/0.2106, allocations: 0.5525 MB / 0.9052 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.2106, allocations: 11.97 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.2107, allocations: 35.53 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.2111, allocations: 341.4 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.2111, allocations: 8 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.2111, allocations: 8 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.2114, allocations: 108.2 kB / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2114, allocations: 0 / 0.9057 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2114, allocations: 7.984 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2114, allocations: 7.953 kB / 0.9057 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.2116, allocations: 63.89 kB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.2122, allocations: 480.5 kB / 0.9063 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2125, allocations: 142.6 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.2126, allocations: 52.83 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2126, allocations: 3.984 kB / 0.9065 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2129, allocations: 107.3 kB / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2129, allocations: 0 / 0.9066 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.000473/0.2134, allocations: 227.6 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2134, allocations: 51.41 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.2138, allocations: 0.4899 MB / 0.9073 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2139, allocations: 29.7 kB / 0.9073 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.2139, allocations: 168.2 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.214, allocations: 39.55 kB / 0.9075 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.214, allocations: 8 kB / 0.9075 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.2141, allocations: 346.8 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2142, allocations: 96.52 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.2144, allocations: 127.6 kB / 0.9081 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.2146, allocations: 108 kB / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2146, allocations: 4 kB / 0.9082 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004251/0.215, allocations: 317.6 kB / 0.9085 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2151, allocations: 4 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2151, allocations: 4 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2151, allocations: 4 kB / 0.9085 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2153, allocations: 55.91 kB / 0.9086 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2153, allocations: 0 / 0.9086 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.2155, allocations: 19.89 kB / 0.9086 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.2155, allocations: 8 kB / 0.9086 GB, free: 55.73 MB / 0.6042 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.00014/0.2157, allocations: 185.8 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.2157, allocations: 35.58 kB / 0.9088 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.386e-05/0.2157, allocations: 31.02 kB / 0.9088 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2158, allocations: 4 kB / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2158, allocations: 0 / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2158, allocations: 0 / 0.9088 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.216, allocations: 293.4 kB / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.216, allocations: 0 / 0.9091 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/0.216, allocations: 23.92 kB / 0.9091 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2161, allocations: 7.953 kB / 0.9091 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2161, allocations: 4 kB / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2161, allocations: 3.984 kB / 0.9091 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2161, allocations: 3.938 kB / 0.9091 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.2164, allocations: 204.6 kB / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.2165, allocations: 112.7 kB / 0.9094 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.2165, allocations: 7.953 kB / 0.9095 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.2166, allocations: 15.98 kB / 0.9095 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.2167, allocations: 11.98 kB / 0.9095 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2167, allocations: 15.92 kB / 0.9095 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002464/0.2169, allocations: 299.1 kB / 0.9098 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.217, allocations: 3.938 kB / 0.9098 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002782/0.2172, allocations: 51.98 kB / 0.9098 GB, free: 54.35 MB / 0.6042 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.0008843/0.2181, allocations: 427.4 kB / 0.9102 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.2185, allocations: 191.8 kB / 0.9104 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2185, allocations: 3.938 kB / 0.9104 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.2186, allocations: 55.91 kB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.2191, allocations: 76.28 kB / 0.9106 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007323/0.2198, allocations: 0.6025 MB / 0.9111 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.22, allocations: 0.7869 MB / 0.9119 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.2201, allocations: 31.42 kB / 0.9119 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2201, allocations: 4 kB / 0.9119 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.005539/0.2257, allocations: 4.164 MB / 0.916 GB, free: 48.13 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)