Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.706/2.706, allocations: 287.5 MB / 303.2 MB, free: 8.215 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.001324/0.001324, allocations: 181.9 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009427/0.0009422, allocations: 89.23 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005328/0.0005331, allocations: 13.23 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2242, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.943/1.167, allocations: 138.3 MB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.168, allocations: 76.5 kB / 1.114 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02073/1.188, allocations: 4.521 MB / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.188, allocations: 0 / 1.119 GB, free: 31.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.133e-05/1.188, allocations: 3.594 kB / 1.119 GB, free: 31.26 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.0006928/1.189, allocations: 0.4883 MB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.189, allocations: 7.75 kB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/1.189, allocations: 27.91 kB / 1.119 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.19, allocations: 179.3 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/1.19, allocations: 18.81 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/1.19, allocations: 18.81 kB / 1.12 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/1.19, allocations: 93.17 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.19, allocations: 0 / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/1.19, allocations: 3.25 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.19, allocations: 7.781 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/1.19, allocations: 49.64 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009902/1.191, allocations: 499.5 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/1.192, allocations: 61.25 kB / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.458e-05/1.192, allocations: 34 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/1.192, allocations: 0 / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/1.192, allocations: 117.5 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 2.815e-06/1.192, allocations: 0 / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005855/1.193, allocations: 174.7 kB / 1.121 GB, free: 30.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/1.193, allocations: 55.31 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/1.193, allocations: 164.1 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-05/1.193, allocations: 37.23 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/1.193, allocations: 116.9 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/1.193, allocations: 22.16 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/1.193, allocations: 11.09 kB / 1.121 GB, free: 29.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.193, allocations: 320.3 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/1.194, allocations: 100 kB / 1.121 GB, free: 29.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/1.194, allocations: 140.4 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/1.195, allocations: 253.4 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/1.195, allocations: 0 / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009893/1.196, allocations: 404.7 kB / 1.122 GB, free: 29.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.196, allocations: 100.1 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.196, allocations: 0 / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.196, allocations: 7.781 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.196, allocations: 14.03 kB / 1.122 GB, free: 29.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/1.196, allocations: 3.984 kB / 1.122 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/1.197, allocations: 119.8 kB / 1.122 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/1.197, allocations: 23.38 kB / 1.122 GB, free: 28.99 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.0002248/1.197, allocations: 132.3 kB / 1.123 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/1.197, allocations: 11.62 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/1.197, allocations: 22.53 kB / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.197, allocations: 0 / 1.123 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.197, allocations: 7.844 kB / 1.123 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.197, allocations: 0.875 kB / 1.123 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/1.198, allocations: 215.8 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.198, allocations: 0 / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/1.198, allocations: 15.66 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.198, allocations: 3.984 kB / 1.123 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.198, allocations: 10.48 kB / 1.123 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.198, allocations: 7.906 kB / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.198, allocations: 0 / 1.123 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/1.198, allocations: 166.8 kB / 1.123 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/1.198, allocations: 84.89 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/1.198, allocations: 7.125 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/1.198, allocations: 3.844 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/1.198, allocations: 16.33 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/1.198, allocations: 3.875 kB / 1.123 GB, free: 28.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001133/1.198, allocations: 112.4 kB / 1.123 GB, free: 28.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.4e-07/1.199, allocations: 0 / 1.123 GB, free: 28.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004897/1.199, allocations: 56.33 kB / 1.123 GB, free: 28.38 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.0002235/1.199, allocations: 117.6 kB / 1.123 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007841/1.2, allocations: 378.5 kB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.2, allocations: 0 / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.2, allocations: 53.7 kB / 1.124 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/1.201, allocations: 32.42 kB / 1.124 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/1.201, allocations: 268.4 kB / 1.124 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/1.202, allocations: 0.7124 MB / 1.125 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.089e-05/1.202, allocations: 11.38 kB / 1.125 GB, free: 27.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/1.202, allocations: 15 kB / 1.125 GB, free: 27.2 MB / 0.698 GB Notification: Performance of SimCode: time 9.81e-07/1.202, allocations: 0 / 1.125 GB, free: 27.2 MB / 0.698 GB Notification: Performance of Templates: time 0.007776/1.21, allocations: 2.572 MB / 1.127 GB, free: 26.97 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)