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.429/1.429, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001077/0.001076, allocations: 174.8 kB / 326.5 MB, free: 2.68 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.923/1.923, allocations: 205 MB / 0.5766 GB, free: 20.97 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.000791/0.000791, allocations: 95.72 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003321, allocations: 11.72 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002307/0.2131, allocations: 1.735 MB / 0.8985 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2146, allocations: 0.9675 MB / 0.8994 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.2148, allocations: 7.938 kB / 0.8994 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.2152, allocations: 143.7 kB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2156, allocations: 139.5 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.216, allocations: 157.4 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.2163, allocations: 279.2 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.2165, allocations: 52.3 kB / 0.9001 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.2167, allocations: 111.4 kB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.2169, allocations: 139.4 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.2169, allocations: 4 kB / 0.9004 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.217, allocations: 28 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.41e-05/0.2171, allocations: 75.72 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.584e-05/0.2172, allocations: 107.2 kB / 0.9006 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.2174, allocations: 267.3 kB / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2175, allocations: 0 / 0.9008 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2175, allocations: 3.938 kB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2175, allocations: 0 / 0.9008 GB, free: 63.95 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.000699/0.2182, allocations: 0.5527 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2182, allocations: 8.031 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.623e-05/0.2183, allocations: 36.47 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.2187, allocations: 362.2 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2187, allocations: 4.375 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2188, allocations: 16.12 kB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.219, allocations: 101.6 kB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.219, allocations: 0 / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.219, allocations: 4 kB / 0.9019 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.219, allocations: 8 kB / 0.9019 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.2192, allocations: 63.89 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.2198, allocations: 484.4 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.2201, allocations: 138.7 kB / 0.9026 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.2202, allocations: 44.84 kB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.2202, allocations: 7.969 kB / 0.9026 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.2204, allocations: 114.2 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2205, allocations: 4 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004631/0.2209, allocations: 221.3 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.221, allocations: 55.34 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.2214, allocations: 0.4898 MB / 0.9035 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2214, allocations: 29.7 kB / 0.9035 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.2215, allocations: 160.4 kB / 0.9036 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.2215, allocations: 35.55 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.2216, allocations: 41.69 kB / 0.9037 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.2216, allocations: 346.8 kB / 0.904 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.2218, allocations: 96.52 kB / 0.9041 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.222, allocations: 131.6 kB / 0.9043 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.2222, allocations: 191 kB / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2222, allocations: 0 / 0.9044 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004098/0.2226, allocations: 317.1 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2227, allocations: 6.656 kB / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2227, allocations: 0 / 0.9048 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2227, allocations: 7.984 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.2229, allocations: 51.91 kB / 0.9048 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2229, allocations: 7.938 kB / 0.9048 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.223, allocations: 19.98 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.2231, allocations: 8 kB / 0.9048 GB, free: 59.62 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 ($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.0001243/0.2232, allocations: 185.7 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.2233, allocations: 35.52 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/0.2233, allocations: 43.02 kB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2233, allocations: 0 / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2233, allocations: 3.938 kB / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2233, allocations: 0 / 0.9051 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2235, allocations: 297.4 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2235, allocations: 4 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.2236, allocations: 11.98 kB / 0.9054 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2236, allocations: 7.938 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.2236, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2236, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2236, allocations: 7.938 kB / 0.9054 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.2239, allocations: 204.7 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.224, allocations: 112.7 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.2241, allocations: 4 kB / 0.9057 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.2241, allocations: 11.94 kB / 0.9057 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2242, allocations: 23.91 kB / 0.9058 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2242, allocations: 4 kB / 0.9058 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000233/0.2245, allocations: 307.1 kB / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2245, allocations: 0 / 0.9061 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002466/0.2247, allocations: 48 kB / 0.9061 GB, free: 58.24 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 (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.0008978/0.2256, allocations: 425.2 kB / 0.9065 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003273/0.226, allocations: 191.8 kB / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.226, allocations: 0 / 0.9067 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.2261, allocations: 60.41 kB / 0.9067 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.2265, allocations: 83.7 kB / 0.9068 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006981/0.2272, allocations: 0.6268 MB / 0.9074 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.2274, allocations: 0.7908 MB / 0.9082 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.2275, allocations: 27.42 kB / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2275, allocations: 0 / 0.9082 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.005019/0.2325, allocations: 4.154 MB / 0.9123 GB, free: 52 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)