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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 118.3 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 189.2 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.914/1.914, allocations: 292.3 MB / 0.5496 GB, free: 17.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 71.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2964, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.002697/0.2991, allocations: 0.8526 MB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.3013, allocations: 1.285 MB / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.3014, allocations: 0 / 0.7869 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.296e-05/0.3015, allocations: 11.86 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.3016, allocations: 19.8 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3027, allocations: 336.4 kB / 0.7873 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.3031, allocations: 303.5 kB / 0.7875 GB, free: 412 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.3033, allocations: 41.42 kB / 0.7876 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.3035, allocations: 115.7 kB / 0.7877 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.3038, allocations: 119.6 kB / 0.7878 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.3039, allocations: 28 kB / 0.7878 GB, free: 104 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.304, allocations: 35.98 kB / 0.7879 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.304, allocations: 23.92 kB / 0.7879 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.4956/0.7996, allocations: 101.9 kB / 0.788 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.8001, allocations: 263.4 kB / 0.7882 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.8001, allocations: 0 / 0.7882 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8002, allocations: 0 / 0.7882 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.8002, allocations: 0 / 0.7882 GB, free: 47.04 MB / 0.6544 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.0008003/0.801, allocations: 0.5261 MB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.801, allocations: 12.98 kB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.8011, allocations: 21.12 kB / 0.7888 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.8013, allocations: 183.3 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.8013, allocations: 14.41 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.8013, allocations: 18.72 kB / 0.789 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.8016, allocations: 97.22 kB / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.8016, allocations: 0 / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.8016, allocations: 5.281 kB / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.8016, allocations: 5.219 kB / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.8017, allocations: 45.89 kB / 0.7891 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.8025, allocations: 492.6 kB / 0.7896 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.8027, allocations: 74.58 kB / 0.7897 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/0.8028, allocations: 32.77 kB / 0.7897 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.8028, allocations: 0 / 0.7897 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.8031, allocations: 109.5 kB / 0.7898 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.8031, allocations: 0.9062 kB / 0.7898 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0003583/0.8034, allocations: 175.2 kB / 0.79 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.8035, allocations: 58.69 kB / 0.79 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.8036, allocations: 170.3 kB / 0.7902 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.8037, allocations: 33.83 kB / 0.7902 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.8037, allocations: 114.9 kB / 0.7903 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.8038, allocations: 20.72 kB / 0.7904 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.8039, allocations: 75.67 kB / 0.7904 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.804, allocations: 335.1 kB / 0.7908 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.8042, allocations: 91.45 kB / 0.7908 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.8044, allocations: 142.6 kB / 0.791 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.8047, allocations: 253.6 kB / 0.7912 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8047, allocations: 2.5 kB / 0.7912 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005572/0.8053, allocations: 401.9 kB / 0.7916 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.8053, allocations: 98.55 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8053, allocations: 3.25 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.8054, allocations: 7.656 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.8054, allocations: 14.61 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.8055, allocations: 2.688 kB / 0.7917 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.806, allocations: 86.86 kB / 0.7918 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.806, allocations: 18.52 kB / 0.7918 GB, free: 44.85 MB / 0.6544 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,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.8062, allocations: 141.5 kB / 0.792 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.052e-05/0.8062, allocations: 8.094 kB / 0.792 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.8062, allocations: 15.84 kB / 0.792 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.8063, allocations: 8.094 kB / 0.792 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.8063, allocations: 1.344 kB / 0.792 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.8063, allocations: 92.64 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.8063, allocations: 2.156 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.8064, allocations: 6.109 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.8065, allocations: 11.11 kB / 0.7921 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002295/0.8067, allocations: 215.1 kB / 0.7923 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002563/0.807, allocations: 312.6 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.564e-05/0.807, allocations: 45.78 kB / 0.7926 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.197e-05/0.8071, allocations: 119.3 kB / 0.7928 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of Backend: time 1.173e-06/0.8071, allocations: 2.531 kB / 0.7928 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.8079, allocations: 438.9 kB / 0.7932 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006096/0.8086, allocations: 0.6749 MB / 0.7938 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of Templates: time 0.006231/0.8148, allocations: 2.909 MB / 0.7967 GB, free: 43.23 MB / 0.6544 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)