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.009266/0.009266, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00167/0.00167, allocations: 196.1 kB / 16.67 MB, free: 5.52 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 / 222.5 MB, free: 12.25 MB / 190.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.491/1.491, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.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.001781/0.001781, allocations: 68.47 kB / 0.7258 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.858, allocations: 104.7 MB / 0.8281 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.004235/0.8623, allocations: 1.562 MB / 0.8296 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.8634, allocations: 256 kB / 0.8298 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.8636, allocations: 0 / 0.8298 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 9.809e-05/0.8637, allocations: 11.86 kB / 0.8298 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.864, allocations: 23.8 kB / 0.8299 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.8643, allocations: 35.89 kB / 0.8299 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.8646, allocations: 119.6 kB / 0.83 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.8649, allocations: 45.28 kB / 0.8301 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.865, allocations: 47.84 kB / 0.8301 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.8652, allocations: 51.7 kB / 0.8301 GB, free: 484 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.8652, allocations: 12 kB / 0.8302 GB, free: 472 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.411e-05/0.8652, allocations: 8 kB / 0.8302 GB, free: 464 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.8653, allocations: 31.91 kB / 0.8302 GB, free: 432 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.8654, allocations: 47.73 kB / 0.8302 GB, free: 384 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.8657, allocations: 127 kB / 0.8304 GB, free: 260 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8657, allocations: 0 / 0.8304 GB, free: 260 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8657, allocations: 0 / 0.8304 GB, free: 260 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.8657, allocations: 0 / 0.8304 GB, free: 260 kB / 0.6231 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.001046/0.8667, allocations: 437.5 kB / 0.8308 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8668, allocations: 12.03 kB / 0.8308 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.8669, allocations: 20.75 kB / 0.8308 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.8672, allocations: 184.1 kB / 0.831 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.8672, allocations: 8.562 kB / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.8673, allocations: 12.38 kB / 0.831 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.8676, allocations: 100.8 kB / 0.8311 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.8676, allocations: 0 / 0.8311 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.8676, allocations: 0 / 0.8311 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.8676, allocations: 4 kB / 0.8311 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.8678, allocations: 59.97 kB / 0.8312 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007217/0.8685, allocations: 400.5 kB / 0.8315 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.8687, allocations: 78.53 kB / 0.8316 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.924e-05/0.8688, allocations: 37.02 kB / 0.8317 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.8688, allocations: 0 / 0.8317 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.8691, allocations: 99.36 kB / 0.8318 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.8691, allocations: 0 / 0.8318 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14): time 0.0003743/0.8695, allocations: 149.5 kB / 0.8319 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.8696, allocations: 55.41 kB / 0.8319 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.8698, allocations: 162.3 kB / 0.8321 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.8698, allocations: 29.7 kB / 0.8321 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.8699, allocations: 104 kB / 0.8322 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.87, allocations: 35.62 kB / 0.8323 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.8701, allocations: 37.7 kB / 0.8323 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.8703, allocations: 322.8 kB / 0.8326 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.8704, allocations: 28 kB / 0.8326 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.8705, allocations: 63.31 kB / 0.8327 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.8706, allocations: 86.94 kB / 0.8328 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.8706, allocations: 0 / 0.8328 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000215/0.8708, allocations: 129.5 kB / 0.8329 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8709, allocations: 4 kB / 0.8329 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8709, allocations: 4 kB / 0.8329 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.8709, allocations: 0 / 0.8329 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.871, allocations: 19.98 kB / 0.8329 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.871, allocations: 8.031 kB / 0.8329 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.8712, allocations: 23.83 kB / 0.833 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.8712, allocations: 4 kB / 0.833 GB, free: 13.34 MB / 0.6387 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.000118/0.8713, allocations: 134.8 kB / 0.8331 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.8713, allocations: 11.89 kB / 0.8331 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.8714, allocations: 12.84 kB / 0.8331 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.8714, allocations: 0 / 0.8331 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8714, allocations: 11.94 kB / 0.8331 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.8714, allocations: 0 / 0.8331 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.8717, allocations: 221.5 kB / 0.8333 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8717, allocations: 0 / 0.8333 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.8718, allocations: 8 kB / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8718, allocations: 0 / 0.8333 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.8718, allocations: 7.984 kB / 0.8334 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.8718, allocations: 4 kB / 0.8334 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8718, allocations: 3.938 kB / 0.8334 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.8721, allocations: 153 kB / 0.8335 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.8721, allocations: 92.86 kB / 0.8336 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.8722, allocations: 3.984 kB / 0.8336 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.8723, allocations: 15.98 kB / 0.8336 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.8724, allocations: 15.92 kB / 0.8336 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.8724, allocations: 11.98 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 9.65e-05/0.8725, allocations: 114.6 kB / 0.8337 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8725, allocations: 0 / 0.8337 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002298/0.8727, allocations: 24 kB / 0.8338 GB, free: 12.42 MB / 0.6387 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.000158/0.8729, allocations: 115.1 kB / 0.8339 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.8731, allocations: 83.91 kB / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8731, allocations: 0 / 0.834 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.8732, allocations: 51.8 kB / 0.834 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.8735, allocations: 31.59 kB / 0.834 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.8742, allocations: 255.3 kB / 0.8343 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.8747, allocations: 0.7083 MB / 0.835 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.736e-05/0.8748, allocations: 9.078 kB / 0.835 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.8748, allocations: 19.44 kB / 0.835 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.8748, allocations: 0 / 0.835 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of Templates: time 0.005661/0.8805, allocations: 1.445 MB / 0.8364 GB, free: 9.672 MB / 0.6387 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)