Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.713/1.713, allocations: 293 MB / 309 MB, free: 4.828 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.3 kB / 378.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.6383 GB, free: 8.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007546/0.0007545, allocations: 91.95 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.000496, allocations: 16 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2752, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7715/1.047, allocations: 139.5 MB / 1.127 GB, free: 34.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.047, allocations: 71.11 kB / 1.127 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0116/1.059, allocations: 4.531 MB / 1.131 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.665e-06/1.059, allocations: 0.5625 kB / 1.131 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.834e-06/1.059, allocations: 0 / 1.131 GB, free: 31.16 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005261/1.059, allocations: 0.4917 MB / 1.132 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.059, allocations: 8.031 kB / 1.132 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/1.059, allocations: 24.75 kB / 1.132 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/1.06, allocations: 180.4 kB / 1.132 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/1.06, allocations: 13.81 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/1.06, allocations: 24.31 kB / 1.132 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/1.06, allocations: 95.09 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.06, allocations: 0 / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/1.06, allocations: 8 kB / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/1.06, allocations: 0 / 1.132 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.46e-05/1.06, allocations: 47.5 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/1.061, allocations: 497.9 kB / 1.133 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/1.061, allocations: 73.33 kB / 1.133 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/1.061, allocations: 28.88 kB / 1.133 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/1.061, allocations: 4 kB / 1.133 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/1.061, allocations: 107.9 kB / 1.133 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/1.061, allocations: 0.75 kB / 1.133 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0003204/1.062, allocations: 177.5 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/1.062, allocations: 58.78 kB / 1.133 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.062, allocations: 159.4 kB / 1.133 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/1.062, allocations: 37.7 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/1.062, allocations: 111.2 kB / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/1.062, allocations: 23.7 kB / 1.133 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/1.062, allocations: 8 kB / 1.133 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/1.062, allocations: 330.1 kB / 1.134 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.062, allocations: 97.59 kB / 1.134 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/1.062, allocations: 140.4 kB / 1.134 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/1.063, allocations: 254.2 kB / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.063, allocations: 0 / 1.134 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005153/1.063, allocations: 399.4 kB / 1.134 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/1.063, allocations: 100.4 kB / 1.135 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.063, allocations: 4.688 kB / 1.135 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.063, allocations: 7.875 kB / 1.135 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.198e-05/1.063, allocations: 23.41 kB / 1.135 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.063, allocations: 0 / 1.135 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/1.064, allocations: 107.8 kB / 1.135 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/1.064, allocations: 24.48 kB / 1.135 GB, free: 27.56 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,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): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.000113/1.064, allocations: 134.5 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/1.064, allocations: 19.14 kB / 1.135 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/1.064, allocations: 16.78 kB / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.064, allocations: 4 kB / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.064, allocations: 0 / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.064, allocations: 0 / 1.135 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/1.064, allocations: 218.5 kB / 1.135 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.064, allocations: 4 kB / 1.135 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.134e-05/1.064, allocations: 8.656 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.064, allocations: 0.625 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.064, allocations: 7.938 kB / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/1.064, allocations: 4 kB / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.064, allocations: 0 / 1.135 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/1.064, allocations: 171.2 kB / 1.135 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.779e-05/1.065, allocations: 85.52 kB / 1.135 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/1.065, allocations: 12.78 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.937e-05/1.065, allocations: 7.656 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/1.065, allocations: 7.656 kB / 1.135 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/1.065, allocations: 4.562 kB / 1.135 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.684e-05/1.065, allocations: 118.5 kB / 1.135 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.065, allocations: 0 / 1.135 GB, free: 26.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000283/1.065, allocations: 56 kB / 1.136 GB, free: 26.67 MB / 0.7292 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,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.0001861/1.065, allocations: 120.1 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004124/1.066, allocations: 378.2 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.066, allocations: 0.9375 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/1.066, allocations: 54.92 kB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/1.066, allocations: 28.45 kB / 1.136 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/1.066, allocations: 273.1 kB / 1.136 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/1.067, allocations: 0.7106 MB / 1.137 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.833e-05/1.067, allocations: 12.12 kB / 1.137 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/1.067, allocations: 16.66 kB / 1.137 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of SimCode: time 2.01e-07/1.067, allocations: 0 / 1.137 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.006546/1.073, allocations: 2.592 MB / 1.14 GB, free: 23.66 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)