Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.814/1.814, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.0009806/0.0009806, allocations: 180.5 kB / 373 MB, free: 10.18 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.498/1.498, allocations: 205.4 MB / 0.6317 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009092/0.0009093, allocations: 98.23 kB / 0.745 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 12.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7943/1.043, allocations: 138.5 MB / 1.116 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/1.043, allocations: 72.58 kB / 1.116 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01205/1.055, allocations: 4.518 MB / 1.12 GB, free: 31.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/1.055, allocations: 0 / 1.12 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.055, allocations: 0 / 1.12 GB, free: 31.98 MB / 0.698 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.0005771/1.056, allocations: 0.4941 MB / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.056, allocations: 15.53 kB / 1.121 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.54e-05/1.056, allocations: 24.28 kB / 1.121 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/1.056, allocations: 181.3 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/1.056, allocations: 15 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/1.056, allocations: 19.19 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/1.056, allocations: 92.19 kB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.056, allocations: 0 / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.056, allocations: 7.078 kB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.056, allocations: 0 / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/1.057, allocations: 57.77 kB / 1.121 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/1.057, allocations: 488.2 kB / 1.122 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/1.057, allocations: 72.08 kB / 1.122 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/1.058, allocations: 35.02 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/1.058, allocations: 0 / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/1.058, allocations: 109.3 kB / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/1.058, allocations: 0 / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0003374/1.058, allocations: 173.3 kB / 1.122 GB, free: 30.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.058, allocations: 58.62 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.058, allocations: 163.8 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/1.058, allocations: 36.83 kB / 1.122 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/1.058, allocations: 112.9 kB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/1.059, allocations: 25.77 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/1.059, allocations: 7.719 kB / 1.123 GB, free: 30.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.059, allocations: 325 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/1.059, allocations: 91.86 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/1.059, allocations: 154.4 kB / 1.123 GB, free: 30.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.059, allocations: 251 kB / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.059, allocations: 0 / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005244/1.06, allocations: 402.5 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/1.06, allocations: 105 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.06, allocations: 3.844 kB / 1.124 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.06, allocations: 3.938 kB / 1.124 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/1.06, allocations: 14.31 kB / 1.124 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.06, allocations: 7.625 kB / 1.124 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/1.061, allocations: 106.7 kB / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.035e-05/1.061, allocations: 28.62 kB / 1.124 GB, free: 29.71 MB / 0.698 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.0001299/1.061, allocations: 136.8 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/1.061, allocations: 11.66 kB / 1.124 GB, free: 29.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/1.061, allocations: 26.5 kB / 1.124 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/1.061, allocations: 0 / 1.124 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.061, allocations: 0 / 1.124 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.061, allocations: 0 / 1.124 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.061, allocations: 217.3 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.061, allocations: 0 / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/1.061, allocations: 10.64 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.061, allocations: 3.875 kB / 1.124 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/1.061, allocations: 7.5 kB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.061, allocations: 0 / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.061, allocations: 3.938 kB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/1.061, allocations: 175.8 kB / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.061, allocations: 88.8 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/1.061, allocations: 3.938 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/1.061, allocations: 2.672 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/1.061, allocations: 14.39 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/1.061, allocations: 3.844 kB / 1.125 GB, free: 29.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.641e-05/1.062, allocations: 113.8 kB / 1.125 GB, free: 29.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.062, allocations: 4 kB / 1.125 GB, free: 29.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002845/1.062, allocations: 52.69 kB / 1.125 GB, free: 29.1 MB / 0.698 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.0001871/1.062, allocations: 117 kB / 1.125 GB, free: 29.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004414/1.062, allocations: 379.3 kB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.063, allocations: 0 / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/1.063, allocations: 55.12 kB / 1.125 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/1.063, allocations: 30.89 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/1.063, allocations: 274.6 kB / 1.126 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/1.064, allocations: 0.7095 MB / 1.126 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.17e-05/1.064, allocations: 11.81 kB / 1.126 GB, free: 27.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.491e-05/1.064, allocations: 15.12 kB / 1.126 GB, free: 27.92 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1.064, allocations: 4 kB / 1.126 GB, free: 27.91 MB / 0.698 GB Notification: Performance of Templates: time 0.005258/1.069, allocations: 2.599 MB / 1.129 GB, free: 27.68 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)