Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.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.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 252 MB / 267.9 MB, free: 10.92 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.0008955/0.0008954, allocations: 175 kB / 327.5 MB, free: 2.156 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.662/1.662, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0008906/0.0008906, allocations: 82.38 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 12.41 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2097, allocations: 106.3 MB / 0.9012 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.3671, allocations: 131.9 MB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.3674, allocations: 75.94 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004247/0.3716, allocations: 1.608 MB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3717, allocations: 0 / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.3717, allocations: 8 kB / 1.032 GB, free: 9.883 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006011/0.3723, allocations: 428.7 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3723, allocations: 8.031 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.3724, allocations: 16.78 kB / 1.032 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3726, allocations: 184.3 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3726, allocations: 8.562 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.3726, allocations: 24.34 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3728, allocations: 89.97 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3728, allocations: 0 / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3729, allocations: 8 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3729, allocations: 0 / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.373, allocations: 59.16 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.3736, allocations: 396.5 kB / 1.033 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3738, allocations: 90.45 kB / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.188e-05/0.3739, allocations: 37.08 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3739, allocations: 4 kB / 1.033 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.3741, allocations: 91.36 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.3741, allocations: 0 / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0003091/0.3744, allocations: 145.5 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.3745, allocations: 55.39 kB / 1.033 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3747, allocations: 162.3 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3747, allocations: 33.7 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.3748, allocations: 108 kB / 1.034 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3748, allocations: 27.7 kB / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.3748, allocations: 0 / 1.034 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3749, allocations: 326.8 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.671e-05/0.375, allocations: 27.98 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.3751, allocations: 53.11 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3752, allocations: 81.25 kB / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3752, allocations: 0 / 1.034 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002006/0.3754, allocations: 129.4 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3755, allocations: 4 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3755, allocations: 7.938 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3755, allocations: 0 / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.058e-05/0.3756, allocations: 24.08 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3756, allocations: 3.938 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3757, allocations: 27.83 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3758, allocations: 8 kB / 1.034 GB, free: 7.016 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,booPul3.y,$PRE.booPul3.pulseStart,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001058/0.3759, allocations: 129.8 kB / 1.034 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.3759, allocations: 11.91 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.3759, allocations: 20.84 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.376, allocations: 0 / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.376, allocations: 7.938 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.376, allocations: 0 / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3762, allocations: 217.6 kB / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3762, allocations: 0 / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.871e-05/0.3762, allocations: 11.98 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3762, allocations: 0 / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.3763, allocations: 0 / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3763, allocations: 0 / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.3763, allocations: 3.938 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.3765, allocations: 153.6 kB / 1.035 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.3766, allocations: 85.02 kB / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.3766, allocations: 7.922 kB / 1.035 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3767, allocations: 27.97 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.3768, allocations: 23.91 kB / 1.035 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3768, allocations: 4 kB / 1.035 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.3769, allocations: 114.6 kB / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3769, allocations: 0 / 1.035 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002056/0.3771, allocations: 27.94 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001358/0.3772, allocations: 107.2 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3774, allocations: 89.16 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3774, allocations: 4.188 kB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3775, allocations: 47.92 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3778, allocations: 23.84 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.3783, allocations: 271.9 kB / 1.036 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3786, allocations: 0.7087 MB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.856e-05/0.3787, allocations: 13.08 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.3787, allocations: 15.44 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3787, allocations: 0 / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of Templates: time 0.003519/0.3823, allocations: 1.216 MB / 1.037 GB, free: 3.562 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)