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 5.036/5.036, allocations: 0.5623 GB / 0.5776 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002756/0.002755, allocations: 362.8 kB / 0.6446 GB, free: 21.43 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.601/4.601, allocations: 410.7 MB / 1.113 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 183 kB / 1.226 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0006702/0.0006705, allocations: 17.25 kB / 1.349 GB, free: 321.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2259, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.002533/0.2285, allocations: 1.648 MB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2308, allocations: 1.015 MB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.2311, allocations: 0 / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004848/0.2316, allocations: 139.6 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.232, allocations: 124.4 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2331, allocations: 168.5 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009258/0.2341, allocations: 263.2 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.2344, allocations: 38.61 kB / 1.465 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.2347, allocations: 112.3 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.2349, allocations: 132.1 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.235, allocations: 4 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.2352, allocations: 44.91 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2353, allocations: 75.72 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.2354, allocations: 72.95 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.2358, allocations: 283.5 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2358, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2358, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2358, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 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.001068/0.2369, allocations: 0.5796 MB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.237, allocations: 8.75 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.2371, allocations: 36.28 kB / 1.466 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.2377, allocations: 367.5 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2377, allocations: 4 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.2378, allocations: 8 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.2381, allocations: 105.6 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2381, allocations: 0 / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/0.2382, allocations: 9.578 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2382, allocations: 3.984 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.2385, allocations: 63.89 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.2395, allocations: 0.4892 MB / 1.467 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.24, allocations: 130.7 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.2402, allocations: 49.52 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.2403, allocations: 13.14 kB / 1.467 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.2406, allocations: 120.9 kB / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 3.496e-06/0.2406, allocations: 0 / 1.467 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0008012/0.2414, allocations: 224.2 kB / 1.467 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.2415, allocations: 52 kB / 1.468 GB, free: 214.2 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.2422, allocations: 0.5059 MB / 1.468 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2423, allocations: 26.2 kB / 1.468 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.2424, allocations: 162 kB / 1.468 GB, free: 213.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.2425, allocations: 39.55 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.2425, allocations: 4 kB / 1.468 GB, free: 213.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.2426, allocations: 350.8 kB / 1.469 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.2429, allocations: 98.98 kB / 1.469 GB, free: 213 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.2432, allocations: 127.6 kB / 1.469 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2435, allocations: 112.6 kB / 1.469 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2435, allocations: 0 / 1.469 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007815/0.2443, allocations: 330.7 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2444, allocations: 7.938 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2444, allocations: 0 / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2444, allocations: 5.281 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.2448, allocations: 43.97 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2448, allocations: 4 kB / 1.469 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.2451, allocations: 30.31 kB / 1.469 GB, free: 212.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.2451, allocations: 11.98 kB / 1.469 GB, free: 212.3 MB / 0.8073 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.0002196/0.2454, allocations: 174.9 kB / 1.469 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.2454, allocations: 35.58 kB / 1.47 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.2455, allocations: 32.44 kB / 1.47 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2456, allocations: 0 / 1.47 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2456, allocations: 3.938 kB / 1.47 GB, free: 212.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.351e-05/0.2457, allocations: 122.4 kB / 1.47 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.2457, allocations: 7.984 kB / 1.47 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2459, allocations: 8 kB / 1.47 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.246, allocations: 15.97 kB / 1.47 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005939/0.2466, allocations: 248.4 kB / 1.47 GB, free: 211.6 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005447/0.2472, allocations: 362.2 kB / 1.47 GB, free: 211.3 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001993/0.2474, allocations: 57.72 kB / 1.47 GB, free: 211.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004388/0.2479, allocations: 315.1 kB / 1.471 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of Backend: time 9.32e-07/0.2479, allocations: 0 / 1.471 GB, free: 210.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.2499, allocations: 0.5595 MB / 1.471 GB, free: 210.6 MB / 0.8073 GB Notification: Performance of SimCode: time 0.001527/0.2514, allocations: 1.05 MB / 1.472 GB, free: 209.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.01145/0.2629, allocations: 3.788 MB / 1.476 GB, free: 205.9 MB / 0.8073 GB