Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.484/2.484, allocations: 251.1 MB / 266.1 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.0016, allocations: 179 kB / 325.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.437/2.437, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001194/0.001193, allocations: 90.36 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 15.16 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2169, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002575/0.2195, allocations: 1.653 MB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.2215, allocations: 0.898 MB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.2217, allocations: 4 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.2221, allocations: 135.5 kB / 0.9015 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.2225, allocations: 131.7 kB / 0.9016 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.2231, allocations: 141.4 kB / 0.9018 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.2234, allocations: 183.6 kB / 0.902 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.2236, allocations: 48.27 kB / 0.902 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.2238, allocations: 131.5 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.224, allocations: 103.6 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.2241, allocations: 4 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2242, allocations: 16 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.2243, allocations: 79.72 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.2244, allocations: 69.58 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.2247, allocations: 255.6 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2247, allocations: 3.938 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2247, allocations: 0 / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.2247, allocations: 8 kB / 0.9026 GB, free: 61.6 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.0009168/0.2257, allocations: 0.5564 MB / 0.9032 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2257, allocations: 8.031 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.2258, allocations: 35.53 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.2264, allocations: 333.4 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.2264, allocations: 8 kB / 0.9036 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.2264, allocations: 12 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.2268, allocations: 115.5 kB / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2268, allocations: 0 / 0.9037 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.2268, allocations: 7.953 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2268, allocations: 4 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.2271, allocations: 59.95 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008647/0.228, allocations: 492.4 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.2285, allocations: 134.7 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.2285, allocations: 0 / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.2289, allocations: 118.2 kB / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.2289, allocations: 0 / 0.9045 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007408/0.2297, allocations: 221.3 kB / 0.9047 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2297, allocations: 55.41 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/0.2304, allocations: 497.6 kB / 0.9052 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.2304, allocations: 29.7 kB / 0.9052 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2306, allocations: 164.3 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.2306, allocations: 39.59 kB / 0.9054 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.2307, allocations: 8 kB / 0.9054 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.2308, allocations: 350.7 kB / 0.9058 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.231, allocations: 96.52 kB / 0.9059 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.2314, allocations: 127.6 kB / 0.906 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.2317, allocations: 108 kB / 0.9061 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2317, allocations: 3.953 kB / 0.9061 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007702/0.2325, allocations: 317.7 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2325, allocations: 4.219 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2325, allocations: 4 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2325, allocations: 3.938 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/0.2329, allocations: 55.91 kB / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.233, allocations: 0 / 0.9064 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.2332, allocations: 23.83 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.2333, allocations: 8.062 kB / 0.9065 GB, free: 57.45 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.0002108/0.2335, allocations: 181.8 kB / 0.9067 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.2336, allocations: 43.55 kB / 0.9067 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.228e-05/0.2337, allocations: 31.02 kB / 0.9067 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2337, allocations: 4 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2337, allocations: 0 / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2337, allocations: 0 / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.234, allocations: 297.4 kB / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.234, allocations: 0 / 0.907 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.2342, allocations: 23.94 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2342, allocations: 0 / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2342, allocations: 4 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.2342, allocations: 0 / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2342, allocations: 0 / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.2347, allocations: 212.5 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.2349, allocations: 112.7 kB / 0.9073 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.2349, allocations: 11.95 kB / 0.9074 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.2351, allocations: 11.98 kB / 0.9074 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.2352, allocations: 11.98 kB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.2352, allocations: 15.92 kB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000421/0.2357, allocations: 299.1 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.51e-07/0.2357, allocations: 0 / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004041/0.2361, allocations: 51.98 kB / 0.9077 GB, free: 56.07 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.001193/0.2373, allocations: 431.8 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005941/0.2379, allocations: 180.6 kB / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2379, allocations: 0 / 0.9083 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.2382, allocations: 63.91 kB / 0.9084 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.2388, allocations: 76.33 kB / 0.9084 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.24, allocations: 0.5547 MB / 0.909 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.2403, allocations: 0.7947 MB / 0.9098 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002684/0.2406, allocations: 66.92 kB / 0.9098 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2407, allocations: 31.42 kB / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/0.2407, allocations: 0 / 0.9099 GB, free: 54 MB / 0.6042 GB Notification: Performance of Templates: time 0.01056/0.2513, allocations: 3.537 MB / 0.9133 GB, free: 50.49 MB / 0.6042 GB