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.747/1.747, allocations: 285.4 MB / 298 MB, free: 5.988 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.001772/0.001772, allocations: 176.3 kB / 366.4 MB, free: 2.121 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.733/1.733, allocations: 205.1 MB / 0.6248 GB, free: 7.77 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.0007961/0.0007961, allocations: 83.88 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.626e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7966/0.7967, allocations: 115.3 MB / 0.9709 GB, free: 77.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.987, allocations: 138.4 MB / 1.106 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.9873, allocations: 67.95 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01367/1.001, allocations: 4.483 MB / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/1.001, allocations: 192 / 1.11 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.366e-05/1.001, allocations: 0 / 1.11 GB, free: 8.926 MB / 0.7136 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.0006962/1.002, allocations: 500 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/1.002, allocations: 12.03 kB / 1.111 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.002, allocations: 19.89 kB / 1.111 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/1.002, allocations: 175.5 kB / 1.111 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/1.002, allocations: 12 kB / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/1.002, allocations: 20 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/1.003, allocations: 87.89 kB / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/1.003, allocations: 0.625 kB / 1.111 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/1.003, allocations: 8 kB / 1.111 GB, free: 8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/1.003, allocations: 3.953 kB / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/1.003, allocations: 47.98 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/1.004, allocations: 0.4886 MB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/1.004, allocations: 74.62 kB / 1.112 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/1.004, allocations: 24.92 kB / 1.112 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/1.004, allocations: 10.38 kB / 1.112 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/1.004, allocations: 102.2 kB / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/1.004, allocations: 0 / 1.112 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002975/1.004, allocations: 139.7 kB / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.004, allocations: 67.36 kB / 1.112 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/1.005, allocations: 149.2 kB / 1.112 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/1.005, allocations: 37.64 kB / 1.112 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/1.005, allocations: 104 kB / 1.112 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/1.005, allocations: 31.8 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/1.005, allocations: 8 kB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.005, allocations: 326.8 kB / 1.113 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/1.005, allocations: 87.98 kB / 1.113 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.005, allocations: 144.2 kB / 1.113 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/1.006, allocations: 173 kB / 1.113 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.006, allocations: 4 kB / 1.113 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006079/1.006, allocations: 391.2 kB / 1.114 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.006, allocations: 98.81 kB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.006, allocations: 1.016 kB / 1.114 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.006, allocations: 4 kB / 1.114 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/1.006, allocations: 15.98 kB / 1.114 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.006, allocations: 4 kB / 1.114 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/1.007, allocations: 116 kB / 1.114 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/1.007, allocations: 23.92 kB / 1.114 GB, free: 5.18 MB / 0.7136 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 () * 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.0001039/1.007, allocations: 117 kB / 1.114 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/1.007, allocations: 15.81 kB / 1.114 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/1.007, allocations: 20.73 kB / 1.114 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.007, allocations: 5.781 kB / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.007, allocations: 2.562 kB / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.007, allocations: 0 / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/1.007, allocations: 217.5 kB / 1.114 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.007, allocations: 4 kB / 1.114 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/1.008, allocations: 7.938 kB / 1.114 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.008, allocations: 4 kB / 1.114 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.008, allocations: 4 kB / 1.114 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.008, allocations: 0 / 1.114 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.008, allocations: 0 / 1.114 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/1.008, allocations: 164.9 kB / 1.114 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.108e-05/1.008, allocations: 85.02 kB / 1.114 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/1.008, allocations: 3.984 kB / 1.114 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/1.008, allocations: 4 kB / 1.114 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/1.008, allocations: 15.98 kB / 1.115 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/1.008, allocations: 8 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.887e-05/1.008, allocations: 112.5 kB / 1.115 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.008, allocations: 4 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002937/1.008, allocations: 59.84 kB / 1.115 GB, free: 4.258 MB / 0.7136 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 () * 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.0001812/1.009, allocations: 126.9 kB / 1.115 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000479/1.009, allocations: 374.1 kB / 1.115 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.009, allocations: 4 kB / 1.115 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/1.009, allocations: 47.94 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/1.009, allocations: 28.94 kB / 1.115 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/1.01, allocations: 155.6 kB / 1.115 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/1.01, allocations: 0.7126 MB / 1.116 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.834e-05/1.01, allocations: 16.77 kB / 1.116 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/1.01, allocations: 15.44 kB / 1.116 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/1.01, allocations: 0 / 1.116 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.005323/1.015, allocations: 2.551 MB / 1.119 GB, free: 252 kB / 0.7136 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)