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.805/1.805, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001141/0.001141, allocations: 179.5 kB / 371.8 MB, free: 10.29 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.704/1.704, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009638/0.0009635, allocations: 90.8 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004781, allocations: 17.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8574/1.161, allocations: 138.5 MB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.161, allocations: 74 kB / 1.115 GB, free: 16.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01228/1.173, allocations: 4.502 MB / 1.119 GB, free: 31.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.203e-06/1.173, allocations: 0 / 1.119 GB, free: 31.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.173, allocations: 3.844 kB / 1.119 GB, free: 31.96 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.0005712/1.174, allocations: 499.1 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.174, allocations: 7.719 kB / 1.12 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/1.174, allocations: 23.19 kB / 1.12 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.174, allocations: 182.6 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/1.174, allocations: 14.66 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/1.174, allocations: 25.72 kB / 1.12 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/1.175, allocations: 88.11 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.175, allocations: 0 / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.175, allocations: 3.5 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.175, allocations: 7.766 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/1.175, allocations: 47.25 kB / 1.12 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/1.175, allocations: 495.6 kB / 1.12 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/1.176, allocations: 78.33 kB / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/1.176, allocations: 0 / 1.121 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/1.176, allocations: 117.2 kB / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.793e-06/1.176, allocations: 0 / 1.121 GB, free: 30.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0003075/1.176, allocations: 166.6 kB / 1.121 GB, free: 30.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.176, allocations: 58.2 kB / 1.121 GB, free: 30.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.176, allocations: 155.2 kB / 1.121 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/1.176, allocations: 32.64 kB / 1.121 GB, free: 30.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/1.176, allocations: 117.6 kB / 1.121 GB, free: 30.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/1.176, allocations: 25.94 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/1.176, allocations: 7.531 kB / 1.121 GB, free: 30.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.177, allocations: 324.6 kB / 1.121 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/1.177, allocations: 97.16 kB / 1.122 GB, free: 30.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/1.177, allocations: 140.2 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/1.177, allocations: 180.3 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.177, allocations: 3.844 kB / 1.122 GB, free: 30.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005152/1.178, allocations: 391.8 kB / 1.122 GB, free: 29.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/1.178, allocations: 102.9 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.178, allocations: 4 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.178, allocations: 3.969 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.152e-05/1.178, allocations: 10.78 kB / 1.122 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.178, allocations: 10.66 kB / 1.122 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/1.178, allocations: 110.7 kB / 1.123 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/1.178, allocations: 24.94 kB / 1.123 GB, free: 29.77 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.0001296/1.178, allocations: 139.5 kB / 1.123 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/1.179, allocations: 7.75 kB / 1.123 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/1.179, allocations: 18.44 kB / 1.123 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.179, allocations: 3.984 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.179, allocations: 0 / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.179, allocations: 3.906 kB / 1.123 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/1.179, allocations: 218.6 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.179, allocations: 0 / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/1.179, allocations: 18.62 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/1.179, allocations: 3.812 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.179, allocations: 3.438 kB / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.179, allocations: 0 / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.179, allocations: 0 / 1.123 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/1.179, allocations: 162.7 kB / 1.123 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/1.179, allocations: 91.42 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.179, allocations: 7.562 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/1.179, allocations: 4 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/1.179, allocations: 16.3 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/1.179, allocations: 7.875 kB / 1.123 GB, free: 29.24 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.62e-05/1.179, allocations: 116.6 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.179, allocations: 3.938 kB / 1.123 GB, free: 29.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002517/1.18, allocations: 50.03 kB / 1.123 GB, free: 29.16 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.0001682/1.18, allocations: 112.4 kB / 1.123 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004168/1.18, allocations: 384.8 kB / 1.124 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.18, allocations: 0 / 1.124 GB, free: 28.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/1.18, allocations: 51.77 kB / 1.124 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/1.18, allocations: 28.77 kB / 1.124 GB, free: 28.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/1.181, allocations: 276.5 kB / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/1.181, allocations: 0.7134 MB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.387e-05/1.181, allocations: 13.88 kB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/1.181, allocations: 15.12 kB / 1.125 GB, free: 27.97 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.181, allocations: 0 / 1.125 GB, free: 27.97 MB / 0.698 GB Notification: Performance of Templates: time 0.004648/1.186, allocations: 2.538 MB / 1.127 GB, free: 27.75 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)