Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.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.7.0.x_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.001188/0.001188, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001294/0.001294, allocations: 190.5 kB / 16.13 MB, free: 6.652 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.641/1.641, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.673/1.673, allocations: 251.7 MB / 0.5088 GB, free: 3.309 MB / 414.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.001855/0.001855, allocations: 75.89 kB / 0.6216 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6745, allocations: 104.7 MB / 0.7238 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.003294/0.6778, allocations: 1.63 MB / 0.7254 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005907/0.6785, allocations: 232.1 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.752e-05/0.6786, allocations: 4 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.424e-05/0.6786, allocations: 7.922 kB / 0.7257 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.6787, allocations: 15.86 kB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.6789, allocations: 35.97 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.6791, allocations: 115.6 kB / 0.7258 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.6793, allocations: 37.28 kB / 0.7258 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.6794, allocations: 43.78 kB / 0.7259 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.6795, allocations: 51.77 kB / 0.7259 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.6795, allocations: 8 kB / 0.7259 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.21e-05/0.6796, allocations: 8 kB / 0.726 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.6796, allocations: 19.92 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.6797, allocations: 51.67 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.6799, allocations: 105.7 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.6799, allocations: 4 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6799, allocations: 0 / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.6799, allocations: 0 / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008224/0.6807, allocations: 439.2 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6808, allocations: 12.02 kB / 0.7266 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.6808, allocations: 16.75 kB / 0.7266 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.681, allocations: 192.1 kB / 0.7268 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.6811, allocations: 4.562 kB / 0.7268 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.6811, allocations: 16.31 kB / 0.7268 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.6813, allocations: 105.9 kB / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6813, allocations: 0 / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.6814, allocations: 8 kB / 0.7269 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6814, allocations: 4 kB / 0.7269 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.6815, allocations: 51.97 kB / 0.7269 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.6822, allocations: 396.5 kB / 0.7273 GB, free: 9.547 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.6824, allocations: 86.52 kB / 0.7274 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.6825, allocations: 37.08 kB / 0.7274 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.6825, allocations: 0 / 0.7274 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.6827, allocations: 91.36 kB / 0.7275 GB, free: 9.312 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.6828, allocations: 0 / 0.7275 GB, free: 9.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0003227/0.6831, allocations: 153.5 kB / 0.7277 GB, free: 9.156 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.6831, allocations: 51.41 kB / 0.7277 GB, free: 9.094 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.6833, allocations: 164.7 kB / 0.7279 GB, free: 8.922 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.6833, allocations: 33.7 kB / 0.7279 GB, free: 8.883 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.6834, allocations: 107.8 kB / 0.728 GB, free: 8.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.6834, allocations: 27.64 kB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.6835, allocations: 37.7 kB / 0.7281 GB, free: 8.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6837, allocations: 326.8 kB / 0.7284 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.6837, allocations: 28 kB / 0.7284 GB, free: 8.348 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.6838, allocations: 61.12 kB / 0.7285 GB, free: 8.277 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.6839, allocations: 82.25 kB / 0.7285 GB, free: 8.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.684, allocations: 0 / 0.7285 GB, free: 8.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001963/0.6842, allocations: 141.3 kB / 0.7287 GB, free: 8.043 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6842, allocations: 4 kB / 0.7287 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.6842, allocations: 4 kB / 0.7287 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.6842, allocations: 0 / 0.7287 GB, free: 8.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.6843, allocations: 19.98 kB / 0.7287 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6843, allocations: 3.938 kB / 0.7287 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.6845, allocations: 27.83 kB / 0.7287 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.6845, allocations: 4 kB / 0.7287 GB, free: 7.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition2,$whenCondition1,booToInt1.y,booToInt.y,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001125/0.6846, allocations: 129.9 kB / 0.7289 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.6846, allocations: 11.89 kB / 0.7289 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.6847, allocations: 16.84 kB / 0.7289 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6847, allocations: 4 kB / 0.7289 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6847, allocations: 3.938 kB / 0.7289 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.6847, allocations: 0 / 0.7289 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.6849, allocations: 217.5 kB / 0.7291 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6849, allocations: 0 / 0.7291 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.316e-05/0.685, allocations: 8 kB / 0.7291 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.685, allocations: 11.94 kB / 0.7291 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.685, allocations: 7.984 kB / 0.7291 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.685, allocations: 0 / 0.7291 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.685, allocations: 7.875 kB / 0.7291 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.6852, allocations: 141 kB / 0.7293 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.6853, allocations: 92.86 kB / 0.7294 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.6853, allocations: 4 kB / 0.7294 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.6854, allocations: 19.97 kB / 0.7294 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.6855, allocations: 23.91 kB / 0.7294 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.6855, allocations: 4 kB / 0.7294 GB, free: 7.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.6856, allocations: 121.4 kB / 0.7295 GB, free: 7.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6856, allocations: 0 / 0.7295 GB, free: 7.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002059/0.6858, allocations: 24 kB / 0.7296 GB, free: 7.055 MB / 0.545 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 ($whenCondition3,$whenCondition2,$whenCondition1,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,booPul3.y,booPul3.pulseStart,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/0.686, allocations: 103.2 kB / 0.7296 GB, free: 6.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002104/0.6862, allocations: 87.91 kB / 0.7297 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6862, allocations: 0 / 0.7297 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.6863, allocations: 46.86 kB / 0.7298 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.6867, allocations: 27.92 kB / 0.7298 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.6872, allocations: 273.3 kB / 0.7301 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.6875, allocations: 0.7087 MB / 0.7308 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.6876, allocations: 13.08 kB / 0.7308 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.6876, allocations: 11.44 kB / 0.7308 GB, free: 5.742 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.6876, allocations: 4 kB / 0.7308 GB, free: 5.738 MB / 0.545 GB Notification: Performance of Templates: time 0.004006/0.6917, allocations: 1.26 MB / 0.732 GB, free: 4.488 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)