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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001305/0.001305, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.763/1.763, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008248/0.000825, allocations: 95.12 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.138e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6982, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.8783, allocations: 138.7 MB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000173/0.8785, allocations: 75.84 kB / 1.109 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.8912, allocations: 4.471 MB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8913, allocations: 0 / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8913, allocations: 0 / 1.113 GB, free: 7.035 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.0005254/0.8918, allocations: 488 kB / 1.114 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.8919, allocations: 12.03 kB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.892, allocations: 23.41 kB / 1.114 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.8921, allocations: 183.6 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.8922, allocations: 0 / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.8922, allocations: 20 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001113/0.8923, allocations: 36 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.8925, allocations: 73.67 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8925, allocations: 0 / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.8925, allocations: 7.938 kB / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8925, allocations: 0 / 1.114 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.8932, allocations: 476.9 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.8934, allocations: 66.62 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.8935, allocations: 24.86 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.8935, allocations: 4 kB / 1.115 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.8937, allocations: 96.98 kB / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.8937, allocations: 0 / 1.115 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002624/0.8939, allocations: 129.5 kB / 1.115 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.894, allocations: 59.39 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.8941, allocations: 137 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.8942, allocations: 33.7 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.8942, allocations: 116.3 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.8943, allocations: 27.84 kB / 1.115 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.8943, allocations: 4 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8944, allocations: 326.8 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.8946, allocations: 79.98 kB / 1.115 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.8948, allocations: 126.8 kB / 1.116 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.8952, allocations: 121.1 kB / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8952, allocations: 1.312 kB / 1.116 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007534/0.896, allocations: 301.3 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.083e-05/0.8961, allocations: 101.1 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8961, allocations: 3.938 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8961, allocations: 4 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.8962, allocations: 11.98 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8962, allocations: 4 kB / 1.116 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004621/0.8967, allocations: 108 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.8967, allocations: 23.98 kB / 1.116 GB, free: 3.621 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.0001196/0.8969, allocations: 116.9 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.8969, allocations: 19.8 kB / 1.116 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.8969, allocations: 12.75 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8969, allocations: 8 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.897, allocations: 0 / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.897, allocations: 1.969 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.8971, allocations: 182.2 kB / 1.117 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.8971, allocations: 4 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/0.8972, allocations: 10.06 kB / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8972, allocations: 3.953 kB / 1.117 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.8972, allocations: 3.984 kB / 1.117 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8972, allocations: 0 / 1.117 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.8972, allocations: 3.938 kB / 1.117 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.8974, allocations: 151.5 kB / 1.117 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.8975, allocations: 92.91 kB / 1.117 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.8975, allocations: 3.953 kB / 1.117 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.85e-05/0.8976, allocations: 0 / 1.117 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.8976, allocations: 11.98 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.8976, allocations: 8 kB / 1.117 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.8977, allocations: 99.83 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8977, allocations: 0 / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002713/0.898, allocations: 55.94 kB / 1.117 GB, free: 2.77 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.0001642/0.8981, allocations: 120.9 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.8986, allocations: 358.1 kB / 1.117 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8986, allocations: 0 / 1.117 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.8987, allocations: 47.94 kB / 1.117 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.8989, allocations: 26.73 kB / 1.118 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.8992, allocations: 147.6 kB / 1.118 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.8995, allocations: 0.7119 MB / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.8996, allocations: 12.88 kB / 1.118 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.538e-05/0.8996, allocations: 15.44 kB / 1.118 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.8996, allocations: 4 kB / 1.118 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.005465/0.9051, allocations: 2.314 MB / 1.121 GB, free: 15.02 MB / 0.7292 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)