Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.631/2.631, allocations: 287.9 MB / 302.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 169.2 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0016/0.001599, allocations: 90.66 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004729, allocations: 11.44 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1782, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.003042/0.1813, allocations: 1.644 MB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.1842, allocations: 1.02 MB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.1844, allocations: 4 kB / 0.9814 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.1849, allocations: 139.6 kB / 0.9815 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.1854, allocations: 127.6 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.1862, allocations: 162 kB / 0.9818 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1866, allocations: 191.6 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1868, allocations: 44.31 kB / 0.982 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.1871, allocations: 131.5 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1874, allocations: 119.5 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.1874, allocations: 8 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1876, allocations: 31.98 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.1878, allocations: 79.72 kB / 0.9824 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.408e-05/0.1879, allocations: 65.58 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.1884, allocations: 287.5 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.1884, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.506e-06/0.1884, allocations: 0 / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.1884, allocations: 0 / 0.9827 GB, free: 24.11 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.001178/0.1896, allocations: 0.5873 MB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.1897, allocations: 12.02 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.1898, allocations: 35.53 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.1906, allocations: 361.2 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.1906, allocations: 4 kB / 0.9837 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.1907, allocations: 8 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.1911, allocations: 103.3 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1911, allocations: 0 / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.1912, allocations: 7.953 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1912, allocations: 8 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.1915, allocations: 55.95 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.1927, allocations: 0.4925 MB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.1934, allocations: 142.7 kB / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1934, allocations: 0 / 0.9845 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.1938, allocations: 108.2 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.504e-06/0.1939, allocations: 0 / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001035/0.1949, allocations: 227.8 kB / 0.9848 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.195, allocations: 51.41 kB / 0.9848 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.1962, allocations: 0.5092 MB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1963, allocations: 29.7 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.1965, allocations: 164.6 kB / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.58e-05/0.1966, allocations: 39.53 kB / 0.9855 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.1967, allocations: 8 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1968, allocations: 342.8 kB / 0.9859 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.1973, allocations: 104.5 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.1979, allocations: 143.6 kB / 0.9861 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.1984, allocations: 108.5 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.889e-06/0.1984, allocations: 4 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001314/0.1998, allocations: 325 kB / 0.9865 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.1998, allocations: 8.062 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.1999, allocations: 0 / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.1999, allocations: 4 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.2004, allocations: 51.91 kB / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2005, allocations: 0 / 0.9866 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.2009, allocations: 19.84 kB / 0.9866 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.201, allocations: 15.98 kB / 0.9866 GB, free: 19.86 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.0003537/0.2013, allocations: 179.1 kB / 0.9868 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.2015, allocations: 39.58 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.2016, allocations: 31.12 kB / 0.9869 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.022e-06/0.2017, allocations: 7.938 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.2017, allocations: 0 / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.265e-06/0.2017, allocations: 0 / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.2022, allocations: 305.4 kB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.2023, allocations: 4 kB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.2025, allocations: 11.98 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.2025, allocations: 7.953 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.2026, allocations: 3.938 kB / 0.9872 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.802e-06/0.2026, allocations: 4 kB / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.073e-06/0.2026, allocations: 0 / 0.9872 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.2034, allocations: 204.6 kB / 0.9874 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.2036, allocations: 116.7 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2038, allocations: 7.953 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.2041, allocations: 11.98 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.2042, allocations: 11.98 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.2043, allocations: 15.98 kB / 0.9875 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007727/0.2051, allocations: 311.1 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.074e-06/0.2051, allocations: 3.938 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000819/0.2059, allocations: 56 kB / 0.9879 GB, free: 18.45 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.002481/0.2084, allocations: 425.1 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009638/0.2094, allocations: 183.9 kB / 0.9885 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.541e-06/0.2095, allocations: 4 kB / 0.9885 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.2098, allocations: 59.91 kB / 0.9885 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.2107, allocations: 83.59 kB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.2124, allocations: 0.5748 MB / 0.9892 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.2129, allocations: 0.7987 MB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003675/0.2133, allocations: 46.95 kB / 0.99 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2135, allocations: 35.42 kB / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of SimCode: time 2.062e-06/0.2135, allocations: 0 / 0.99 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of Templates: time 0.01499/0.2285, allocations: 3.745 MB / 0.9937 GB, free: 12.66 MB / 0.6198 GB