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.028/5.028, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002356/0.002355, allocations: 355 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.065/4.065, allocations: 410.7 MB / 1.112 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001781, allocations: 180.5 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005131, allocations: 12 kB / 1.348 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.6003, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Product): time 0.001938/0.6023, allocations: 1.638 MB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.6039, allocations: 1.02 MB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.6041, allocations: 8.562 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.6045, allocations: 145.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.6048, allocations: 119.5 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.6053, allocations: 157.2 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.6056, allocations: 263.2 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.6057, allocations: 40.33 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.6059, allocations: 116.1 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.6061, allocations: 128.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.6061, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.6062, allocations: 47.95 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.6063, allocations: 68.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.6064, allocations: 73.5 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.6067, allocations: 281.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.502e-06/0.6067, allocations: 6.25 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.809e-06/0.6067, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.729e-06/0.6067, allocations: 0 / 1.465 GB, free: 280.2 MB / 0.8542 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.0008339/0.6076, allocations: 0.5801 MB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.6076, allocations: 15.62 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.6077, allocations: 38.5 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.6082, allocations: 353.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.6083, allocations: 5.5 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.6083, allocations: 11.94 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.6086, allocations: 105.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.991e-06/0.6086, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.6087, allocations: 9.234 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-06/0.6087, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.6089, allocations: 59.89 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.6097, allocations: 0.4911 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.6101, allocations: 133 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.6103, allocations: 45.67 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.6103, allocations: 6.672 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.6106, allocations: 116.8 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.29e-06/0.6106, allocations: 3.938 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005906/0.6112, allocations: 220.4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.6112, allocations: 51.41 kB / 1.467 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000597/0.6118, allocations: 0.5099 MB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.6119, allocations: 30.77 kB / 1.467 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.612, allocations: 160.4 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.6121, allocations: 44.59 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.6121, allocations: 4 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.6122, allocations: 352.7 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.6124, allocations: 96.52 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.6127, allocations: 131.6 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.613, allocations: 101 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.863e-06/0.613, allocations: 9.609 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006492/0.6136, allocations: 325.1 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6137, allocations: 4.875 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.142e-06/0.6137, allocations: 0 / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.6137, allocations: 4 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.614, allocations: 56.56 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.651e-06/0.614, allocations: 0.625 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.6142, allocations: 21.19 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.6143, allocations: 11.98 kB / 1.469 GB, free: 276 MB / 0.8542 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.0001893/0.6145, allocations: 181.9 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.6146, allocations: 40.61 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.6146, allocations: 31.12 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.227e-06/0.6147, allocations: 5.125 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.066e-06/0.6147, allocations: 1.25 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-06/0.6147, allocations: 0 / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.615, allocations: 305.5 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-06/0.615, allocations: 0 / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.6151, allocations: 16.44 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.415e-06/0.6151, allocations: 5.188 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6151, allocations: 0 / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.689e-06/0.6151, allocations: 3.938 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.995e-06/0.6152, allocations: 9.688 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.6156, allocations: 204.6 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.6157, allocations: 117.3 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/0.6158, allocations: 8.484 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.6159, allocations: 13.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.616, allocations: 11.98 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.616, allocations: 16.88 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000374/0.6164, allocations: 311.1 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.48e-07/0.6164, allocations: 0 / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003847/0.6168, allocations: 58.09 kB / 1.47 GB, free: 274.6 MB / 0.8542 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.001378/0.6182, allocations: 416.8 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.6187, allocations: 187.4 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.864e-06/0.6187, allocations: 0 / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.6189, allocations: 64.88 kB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.6195, allocations: 89.45 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.6204, allocations: 0.5806 MB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.6207, allocations: 0.7928 MB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.6209, allocations: 54.09 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.926e-05/0.6211, allocations: 36.17 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.67e-06/0.6211, allocations: 0 / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.009658/0.6307, allocations: 3.732 MB / 1.476 GB, free: 269.1 MB / 0.8542 GB