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.511/1.511, allocations: 252 MB / 268 MB, free: 10.86 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.001096/0.001096, allocations: 179.4 kB / 327.6 MB, free: 2.094 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.756/1.756, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0007789/0.0007792, allocations: 87.62 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003096, allocations: 9 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.00191/0.1769, allocations: 1.711 MB / 0.9031 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1782, allocations: 0.9558 MB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.397e-05/0.1783, allocations: 0 / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.1786, allocations: 147.6 kB / 0.9042 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1789, allocations: 143.5 kB / 0.9044 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1792, allocations: 164.2 kB / 0.9045 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000231/0.1795, allocations: 271.2 kB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1796, allocations: 44.38 kB / 0.9048 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1797, allocations: 115.4 kB / 0.9049 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.1799, allocations: 139.4 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.1799, allocations: 4 kB / 0.9051 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.18, allocations: 32 kB / 0.9051 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.1801, allocations: 79.66 kB / 0.9052 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.473e-05/0.1802, allocations: 132.9 kB / 0.9053 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1804, allocations: 267.6 kB / 0.9055 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1804, allocations: 0 / 0.9055 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1804, allocations: 0 / 0.9055 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1804, allocations: 0 / 0.9055 GB, free: 59.26 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.0006419/0.1811, allocations: 0.5541 MB / 0.9061 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.1811, allocations: 12.03 kB / 0.9061 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1812, allocations: 36.47 kB / 0.9061 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.1815, allocations: 354.3 kB / 0.9065 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1815, allocations: 4.375 kB / 0.9065 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.1816, allocations: 16.11 kB / 0.9065 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1818, allocations: 101.6 kB / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1818, allocations: 0 / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1818, allocations: 8 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1818, allocations: 8 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.182, allocations: 62.45 kB / 0.9067 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.1825, allocations: 488.3 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1828, allocations: 138.7 kB / 0.9073 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.841e-05/0.1829, allocations: 48.83 kB / 0.9073 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.183, allocations: 7.984 kB / 0.9073 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.1832, allocations: 115.3 kB / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.715e-06/0.1832, allocations: 0 / 0.9074 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0004252/0.1836, allocations: 221.3 kB / 0.9076 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1837, allocations: 55.34 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.1841, allocations: 0.4898 MB / 0.9082 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.1841, allocations: 29.7 kB / 0.9082 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.1842, allocations: 164.4 kB / 0.9084 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1842, allocations: 35.56 kB / 0.9084 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.1842, allocations: 8 kB / 0.9084 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.1843, allocations: 346.8 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.1844, allocations: 96.52 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1846, allocations: 131.6 kB / 0.9089 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.1849, allocations: 187 kB / 0.9091 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1849, allocations: 3.984 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004172/0.1853, allocations: 317.1 kB / 0.9094 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1853, allocations: 4 kB / 0.9094 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1854, allocations: 4 kB / 0.9094 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1854, allocations: 0 / 0.9094 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.1856, allocations: 55.84 kB / 0.9095 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1856, allocations: 3.938 kB / 0.9095 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1858, allocations: 20.05 kB / 0.9095 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.1858, allocations: 12 kB / 0.9095 GB, free: 54.96 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.1859, allocations: 177.8 kB / 0.9097 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.186, allocations: 35.53 kB / 0.9097 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.186, allocations: 35 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1861, allocations: 7.984 kB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1861, allocations: 3.938 kB / 0.9098 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1861, allocations: 0 / 0.9098 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1863, allocations: 297.4 kB / 0.9101 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1863, allocations: 0 / 0.9101 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.1863, allocations: 19.92 kB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1864, allocations: 0 / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1864, allocations: 8 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1864, allocations: 0 / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1864, allocations: 3.938 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.1867, allocations: 210.2 kB / 0.9103 GB, free: 54.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.1868, allocations: 116.7 kB / 0.9104 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.1868, allocations: 8 kB / 0.9104 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1869, allocations: 11.98 kB / 0.9104 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.187, allocations: 19.92 kB / 0.9104 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.187, allocations: 7.984 kB / 0.9104 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002329/0.1872, allocations: 299.1 kB / 0.9107 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1872, allocations: 0 / 0.9107 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002486/0.1875, allocations: 59.91 kB / 0.9108 GB, free: 53.57 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.0008277/0.1883, allocations: 416.3 kB / 0.9112 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.1887, allocations: 187.8 kB / 0.9114 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1887, allocations: 0 / 0.9114 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1888, allocations: 59.22 kB / 0.9114 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.1892, allocations: 85.97 kB / 0.9115 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.19, allocations: 0.6259 MB / 0.9121 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.1901, allocations: 0.783 MB / 0.9129 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.1902, allocations: 35.42 kB / 0.9129 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.1902, allocations: 0 / 0.9129 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of Templates: time 0.004907/0.1951, allocations: 4.159 MB / 0.917 GB, free: 47.34 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)